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> |