From 43885c58d877acdc8660b3be3e0c66cfae1dadf3 Mon Sep 17 00:00:00 2001 From: Bogdan Tara Date: Tue, 25 Sep 2018 05:30:17 +0300 Subject: [PATCH] Backed out changeset 0f5f05614d53 (bug 1492795) for failures on EventListener-incumbent-global-1.sub.html CLOSED TREE --- testing/web-platform/meta/MANIFEST.json | 10 ---------- .../EventListener-addEventListener.sub.window.js | 9 --------- 2 files changed, 19 deletions(-) delete mode 100644 testing/web-platform/tests/dom/events/EventListener-addEventListener.sub.window.js diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json index 4ce9d571a10e..ab80b8fba551 100644 --- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -344671,12 +344671,6 @@ {} ] ], - "dom/events/EventListener-addEventListener.sub.window.js": [ - [ - "/dom/events/EventListener-addEventListener.sub.window.html", - {} - ] - ], "dom/events/EventListener-handleEvent.html": [ [ "/dom/events/EventListener-handleEvent.html", @@ -592334,10 +592328,6 @@ "22792f5c6c7883c97e71c7adec1c2d873cf608b8", "testharness" ], - "dom/events/EventListener-addEventListener.sub.window.js": [ - "b658140eea871f8790e9494ccbb8e8b845fe800e", - "testharness" - ], "dom/events/EventListener-handleEvent.html": [ "b33b030a641dd0d2a4e1319f366e3db975e9dc3f", "testharness" diff --git a/testing/web-platform/tests/dom/events/EventListener-addEventListener.sub.window.js b/testing/web-platform/tests/dom/events/EventListener-addEventListener.sub.window.js deleted file mode 100644 index b658140eea87..000000000000 --- a/testing/web-platform/tests/dom/events/EventListener-addEventListener.sub.window.js +++ /dev/null @@ -1,9 +0,0 @@ -async_test(function(t) { - let crossOriginFrame = document.createElement('iframe'); - crossOriginFrame.src = 'https://{{hosts[alt][]}}/common/blank.html'; - document.body.appendChild(crossOriginFrame); - crossOriginFrame.addEventListener('load', t.step_func_done(function() { - let crossOriginWindow = crossOriginFrame.contentWindow; - window.addEventListener('click', crossOriginWindow); - })); -}, "EventListener.addEventListener doesn't throw when a cross origin object is passed in.");