| Index: third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/xhr/005.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/xhr/005.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/xhr/005.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..84abdb0c4264254eabe0ab4d9b0b141164e52076
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/xhr/005.html
|
| @@ -0,0 +1,21 @@
|
| +<!doctype html>
|
| +<title>base url, dedicated worker</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<div id=log></div>
|
| +<script>
|
| +var t = async_test();
|
| +var i = 0;
|
| +function runtest() {
|
| + i++;
|
| + if (i != 2)
|
| + return;
|
| + var worker = new Worker('support/005-1.js');
|
| + worker.onmessage = this.step_func(function(e) {
|
| + assert_true(e.data);
|
| + this.done();
|
| + });
|
| +}
|
| +</script>
|
| +<iframe src=001-1.xml onload="t.step(runtest);"></iframe>
|
| +<iframe src=support/001-1.xml onload="t.step(runtest);"></iframe>
|
|
|