polymer-dart icon indicating copy to clipboard operation
polymer-dart copied to clipboard

remove workaround for bug in HTML imports

Open DartBot opened this issue 9 years ago • 7 comments

<img src="https://avatars.githubusercontent.com/u/2049220?v=3" align="left" width="96" height="96"hspace="10"> Issue by sigmundch Originally opened as dart-lang/sdk#19650


There is a bug in html imports that causes the browser to block in Chrome 36.

This happens when you have a DAG in your graph of imports, where the node in the merge of the DAG doesn't have a script tag.

See attached repro, which has a graph like this:

  index.html* -> n1 -> n2*        | |        | v        +-------------> n3 -> n4*

where files with * have a script tag. The page doesn't load unless you add a script in n3, or you remove the one in n2.

This happens in polymer apps: polymer.html is a funnel, similar to n3 in the repro.


Attachment: repro.tar (10 KB)

DartBot avatar Jun 05 '15 23:06 DartBot

From @dgrove on February 11, 2014 22:00:10

Status: Triaged
Labels: Area-Pub

DartBot avatar Sep 29 '14 17:09 DartBot

From @munificent on February 13, 2014 10:35:57

I want to click a link that opens in the DartEditor.

What do you envision it opening in the Editor? Can you be specific about the user experience you want here?

Labels: -Type-Defect -Priority-Unassigned Type-Enhancement Priority-Medium

DartBot avatar Sep 29 '14 17:09 DartBot

From [email protected] on February 13, 2014 10:43:51

Currently there are instructions on PUB on how to install a package. This needs to be replaced by a link, which, when clicked launches the Editor and initiates the workflow of installing it.

Example: magnet links open the torrent client.

DartBot avatar Sep 29 '14 17:09 DartBot

From @munificent on April 01, 2014 12:58:18

Hey Editor folks, do you think this is something worth looking into?

Cc: [email protected] [email protected] [email protected]
Labels: -Area-Pub Area-PubSite

DartBot avatar Sep 29 '14 17:09 DartBot

From @lukechurch on April 01, 2014 13:23:46

I think this would be great. However - it is quite a bit of infrastructure on the editor side and results in it being an 'install' footprint as it needs to register a URL handler.

DartBot avatar Sep 29 '14 17:09 DartBot