| Index: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/setting-postMessage.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/setting-postMessage.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/setting-postMessage.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d1a3f0f5c70a6f85a3a016f88b551fbc4d5f64bd
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/setting-postMessage.html
|
| @@ -0,0 +1,24 @@
|
| +<!--
|
| +var x = postMessage;
|
| +postMessage = 1;
|
| +x(postMessage == 1);
|
| +
|
| +/*
|
| +-->
|
| +<!doctype html>
|
| +<title>setting postMessage</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<div id="log"></div>
|
| +<script>
|
| +(async_test()).step(function() {
|
| + var worker = new Worker('#');
|
| + worker.onmessage = this.step_func(function(e) {
|
| + assert_true(e.data);
|
| + this.done();
|
| + });
|
| +});
|
| +</script>
|
| +<!--
|
| +*/
|
| +//-->
|
|
|