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

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

Issue 617023003: Revert of [Blink-WebWorkers] WorkerSharedTimer cancels extra delayed tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: LayoutTests/fast/workers/resources/worker-timeout-decreasing-order.js
diff --git a/LayoutTests/fast/workers/resources/worker-timeout-decreasing-order.js b/LayoutTests/fast/workers/resources/worker-timeout-decreasing-order.js
deleted file mode 100644
index 46c6af4c96dfc2ada02bfd836e7657bc39cdec91..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/workers/resources/worker-timeout-decreasing-order.js
+++ /dev/null
@@ -1,8 +0,0 @@
-self.postMessage("Test started.");
-// The test will create 3 timeouts with their intervals decreasing.
-// If the timeouts execute in order then the test is PASS.
-self.addEventListener('message', function(e) {
- setTimeout(function () { postMessage(3); postMessage("DONE"); }, 15);
- setTimeout(function () { postMessage(2); }, 10);
- setTimeout(function () { postMessage(1); }, 5);
-}, false);

Powered by Google App Engine
This is Rietveld 408576698