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

Unified Diff: third_party/WebKit/LayoutTests/fast/workers/worker-xhr-microtasks.html

Issue 1940253002: Disallow certain blocking DOM calls during microtask execution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 7 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/fast/workers/worker-xhr-microtasks.html
diff --git a/third_party/WebKit/LayoutTests/fast/parser/iframe-sets-parent-to-javascript-url.html b/third_party/WebKit/LayoutTests/fast/workers/worker-xhr-microtasks.html
similarity index 53%
copy from third_party/WebKit/LayoutTests/fast/parser/iframe-sets-parent-to-javascript-url.html
copy to third_party/WebKit/LayoutTests/fast/workers/worker-xhr-microtasks.html
index 6846e28356879ab23aef32faa01f5941c65ef449..7e7d76aec2ae1999e715204a1378110c16bc7a09 100644
--- a/third_party/WebKit/LayoutTests/fast/parser/iframe-sets-parent-to-javascript-url.html
+++ b/third_party/WebKit/LayoutTests/fast/workers/worker-xhr-microtasks.html
@@ -1,13 +1,14 @@
+<!DOCTYPE html>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
}
-function done() {
+var worker = new Worker("resources/worker-xhr-microtasks.js");
+worker.onmessage = function(evt) {
if (window.testRunner)
testRunner.notifyDone();
-}
+};
+worker.postMessage("run");
</script>
-<iframe src="resources/set-parent-to-javascript-url.html"></iframe>

Powered by Google App Engine
This is Rietveld 408576698