Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html

Issue 2408083002: Revert of Import wpt@357b83b809e3cbc7a1805e7c3ca108a7980d782f (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html
index cd05f224601e8781691b1de7b1a0b14615372949..5e015ce98d2e56912d47d2b208bc4d6bf98e8270 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_allow_script.html
@@ -7,10 +7,9 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
+<iframe id="testIframe" src="support/sandbox_allow_script.html" sandbox="allow-same-origin" style="display:none"></iframe>
<div id="log"></div>
<script>
- // Set up all our script stuff before the iframe starts loading, so we don't
- // miss any messages from it.
var step1 = false;
var t = async_test("iframe_sandbox_allow_scripts");
@@ -36,11 +35,5 @@
t.done();
}
- // Make sure the iframe loads before we mess with it.
- window.addEventListener("load", function() {
- // The load event might fire before a message from the child comes in...
- // Wait a bit to see if that message does come in.
- setTimeout(run, 500);
- });
+ setTimeout(run, 500);
</script>
-<iframe id="testIframe" src="support/sandbox_allow_script.html" sandbox="allow-same-origin" style="display:none"></iframe>

Powered by Google App Engine
This is Rietveld 408576698