| Index: pkg/polymer/lib/boot.js
|
| diff --git a/pkg/polymer/lib/boot.js b/pkg/polymer/lib/boot.js
|
| index 84bb489cf2df0781963799adda2df6ca3a45d80a..0a3fe62baaf390456fa263a261a799f8873919a8 100644
|
| --- a/pkg/polymer/lib/boot.js
|
| +++ b/pkg/polymer/lib/boot.js
|
| @@ -82,7 +82,11 @@
|
| if (!seen) seen = {};
|
| var links = content.querySelectorAll('link[rel="import"]');
|
| for (var i = 0; i < links.length; i++) {
|
| - var link = links[i].import;
|
| + var link = links[i];
|
| + // TODO(jmesserly): figure out why ".import" fails in content_shell but
|
| + // works in Dartium.
|
| + if (link.import && link.import.href) link = link.import;
|
| +
|
| if (seen[link.href]) continue;
|
| seen[link.href] = link;
|
| inlinePolymerElements(link.content, ref, seen);
|
|
|