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

Unified Diff: LayoutTests/inspector-protocol/debugger/resources/dedicated-worker-suspend-setTimeout.js

Issue 298383002: Suspend setTimeout callbacks while dedicated worker execution is paused (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed ASSERT condition Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/inspector-protocol/debugger/suspend-setTimeout-on-pause-in-dedicated-worker.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector-protocol/debugger/resources/dedicated-worker-suspend-setTimeout.js
diff --git a/LayoutTests/inspector-protocol/debugger/resources/dedicated-worker-suspend-setTimeout.js b/LayoutTests/inspector-protocol/debugger/resources/dedicated-worker-suspend-setTimeout.js
new file mode 100644
index 0000000000000000000000000000000000000000..899d822b8d2f8b728a326b695cabe37abc3c3d9f
--- /dev/null
+++ b/LayoutTests/inspector-protocol/debugger/resources/dedicated-worker-suspend-setTimeout.js
@@ -0,0 +1,9 @@
+var global_value = 1;
+onmessage = function(event) {
+ setTimeout(function()
+ {
+ global_value = 2014;
+ }, 0);
+ debugger;
+};
+
« no previous file with comments | « no previous file | LayoutTests/inspector-protocol/debugger/suspend-setTimeout-on-pause-in-dedicated-worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698