diff options
Diffstat (limited to 'testing/web-platform/tests/workers/interfaces/WorkerUtils/importScripts/009.js')
-rw-r--r-- | testing/web-platform/tests/workers/interfaces/WorkerUtils/importScripts/009.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/workers/interfaces/WorkerUtils/importScripts/009.js b/testing/web-platform/tests/workers/interfaces/WorkerUtils/importScripts/009.js new file mode 100644 index 0000000000..4b86f8c303 --- /dev/null +++ b/testing/web-platform/tests/workers/interfaces/WorkerUtils/importScripts/009.js @@ -0,0 +1,3 @@ +var log = postMessage; +importScripts('data:text/javascript,function run() { for(var i = 0; i < 1000; ++i) { if (i == 500) log(true); } return 1; }'); +postMessage(run());
\ No newline at end of file |