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

Side by Side Diff: LayoutTests/fast/workers/resources/worker-timeout-decreasing-order.js

Issue 563203002: [Blink-WebWorkers] WorkerSharedTimer cancels extra delayed tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix for Linux ASAN crash. Created 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 self.postMessage("Test started.");
2 // The test will create 3 timeouts with their intervals decreasing.
3 // If the timeouts execute in order then the test is PASS.
4 self.addEventListener('message', function(e) {
5 setTimeout(function () { postMessage(3); postMessage("DONE"); }, 15);
6 setTimeout(function () { postMessage(2); }, 10);
7 setTimeout(function () { postMessage(1); }, 5);
8 }, false);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698