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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html>
1 <script> 2 <script>
2 if (window.testRunner) { 3 if (window.testRunner) {
3 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
4 testRunner.dumpChildFramesAsText();
5 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
6 } 6 }
7 7
8 function done() { 8 var worker = new Worker("resources/worker-xhr-microtasks.js");
9 worker.onmessage = function(evt) {
9 if (window.testRunner) 10 if (window.testRunner)
10 testRunner.notifyDone(); 11 testRunner.notifyDone();
11 } 12 };
13 worker.postMessage("run");
12 </script> 14 </script>
13 <iframe src="resources/set-parent-to-javascript-url.html"></iframe>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698