Index: LayoutTests/fast/html/imports/import-element-removed-flag.html |
diff --git a/LayoutTests/fast/html/imports/import-element-removed-flag.html b/LayoutTests/fast/html/imports/import-element-removed-flag.html |
index 050aa50c252f26a6b6ac2cdbdea07a991f08cfeb..995d28b31b09e84adb3a7b1dc09ea7605795afd9 100644 |
--- a/LayoutTests/fast/html/imports/import-element-removed-flag.html |
+++ b/LayoutTests/fast/html/imports/import-element-removed-flag.html |
@@ -40,7 +40,6 @@ function testDynamicImport() |
dynamicImport = document.createElement("link"); |
dynamicImport.setAttribute("rel", "import"); |
dynamicImport.setAttribute("href", "resources/bye.html"); |
- dynamicImport.addEventListener("load", check); |
document.head.appendChild(dynamicImport); |
} |
@@ -49,7 +48,6 @@ function testDynamicImportRemovingEagerly() |
dynamicImportEager = document.createElement("link"); |
dynamicImportEager.setAttribute("rel", "import"); |
dynamicImportEager.setAttribute("href", "resources/setting-greet-var.html"); |
- dynamicImportEager.addEventListener("load", check); |
document.head.appendChild(dynamicImportEager); |
// Reoving <link> just after appending it. |