| Index: LayoutTests/fast/html/imports/import-expando-gc.html
|
| diff --git a/LayoutTests/fast/html/imports/import-expando-gc.html b/LayoutTests/fast/html/imports/import-expando-gc.html
|
| index 70104cd0832b1d7b0bde550de429a2a0786807d1..4ff09b9ad9170b729417fca0de766d01b9459ab4 100644
|
| --- a/LayoutTests/fast/html/imports/import-expando-gc.html
|
| +++ b/LayoutTests/fast/html/imports/import-expando-gc.html
|
| @@ -8,8 +8,11 @@
|
| <script>
|
| description('Properties in imported dom nodes should be retained.');
|
|
|
| +var importedDocument;
|
| +
|
| function getNodeInImport() {
|
| - var importedDocument = document.querySelector('link').import;
|
| + if (!importedDocument)
|
| + importedDocument = document.querySelector('link').import;
|
| return importedDocument.querySelector('h1');
|
| }
|
|
|
|
|