diff options
Diffstat (limited to 'testing/web-platform/tests/workers/constructors/Worker/resolve-empty-string.html')
-rw-r--r-- | testing/web-platform/tests/workers/constructors/Worker/resolve-empty-string.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/workers/constructors/Worker/resolve-empty-string.html b/testing/web-platform/tests/workers/constructors/Worker/resolve-empty-string.html new file mode 100644 index 000000000..0426223e0 --- /dev/null +++ b/testing/web-platform/tests/workers/constructors/Worker/resolve-empty-string.html @@ -0,0 +1,22 @@ +<!-- +postMessage('ok'); +/* +--> +<!doctype html> +<meta charset=utf-8> +<title>resolve the empty string</title> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<div id="log"></div> +<script> +var t = async_test(); +t.step(function() { + var worker = new Worker(''); + worker.addEventListener('message', t.step_func_done(function(e) { + assert_equals(e.data, 'ok'); + }), false); +}); +</script> +<!-- +*/ +//--> |