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

Unified Diff: LayoutTests/fast/workers/worker-replace-event-handler.html

Issue 140723002: Test non-crashing updating of worker scope event handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/worker-replace-event-handler.html
diff --git a/LayoutTests/fast/workers/worker-replace-event-handler.html b/LayoutTests/fast/workers/worker-replace-event-handler.html
new file mode 100644
index 0000000000000000000000000000000000000000..2eb9f1e2730e12520fb4e84c3cdb91d5823fcb80
--- /dev/null
+++ b/LayoutTests/fast/workers/worker-replace-event-handler.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<script>
+// http://crbug.com/239669
+description("Tests that repeatedly setting 'onmessage' within a worker doesn't crash.");
+startWorker("resources/worker-replace-event-handler.js");
+</script>

Powered by Google App Engine
This is Rietveld 408576698