Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / resources / worker-replace-event-handler.js
blobc5c27808b5947be8aa288824be128b5048a5320a
1 if (this.importScripts)
2     importScripts('../../../resources/js-test.js');
4 function update() {
5     onmessage = undefined;
7 for (var i = 0; i < 8; ++i)
8     update();
10 testPassed("onmessage repeatedly updated ok.");
11 finishJSTest();