| Index: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/005.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/005.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/005.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f8abe14c23e033d0417148b38f85fd83e3cf8b2d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/005.html
|
| @@ -0,0 +1,30 @@
|
| +<!--
|
| +var x;
|
| +var y;
|
| +try {
|
| + importScripts('data:text/javascript,x={',
|
| + 'data:text/javascript,}');
|
| +} catch(e) {
|
| + y = true;
|
| +}
|
| +postMessage([x, y]);
|
| +/*
|
| +-->
|
| +<!doctype html>
|
| +<title>importScripts separate scripts</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<div id="log"></div>
|
| +<script>
|
| +async_test(function() {
|
| + var worker = new Worker('#');
|
| + worker.onmessage = this.step_func(function(e) {
|
| + assert_equals(e.data[0], undefined);
|
| + assert_true(e.data[1]);
|
| + this.done();
|
| + });
|
| +});
|
| +</script>
|
| +<!--
|
| +*/
|
| +//-->
|
|
|