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

Unified Diff: LayoutTests/crypto/worker-infinite-resolve-loop.js

Issue 273913002: Repro-case for http://crbug.com/371566 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | LayoutTests/crypto/worker-promise-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/worker-infinite-resolve-loop.js
diff --git a/LayoutTests/crypto/worker-infinite-resolve-loop.js b/LayoutTests/crypto/worker-infinite-resolve-loop.js
new file mode 100644
index 0000000000000000000000000000000000000000..6841c057cb675b2cb2530c0739ecf707220b50af
--- /dev/null
+++ b/LayoutTests/crypto/worker-infinite-resolve-loop.js
@@ -0,0 +1,8 @@
+function resolveForever()
+{
+ return Promise.resolve(null).then(resolveForever);
+}
+
+resolveForever();
+
+postMessage("Worker started");
« no previous file with comments | « no previous file | LayoutTests/crypto/worker-promise-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698