| Index: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/005.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/005.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/005.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b3d99588f75f7b613bbf26112584c6a7b922f0ce
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/005.html
|
| @@ -0,0 +1,21 @@
|
| +<!--
|
| +postMessage(navigator.userAgent);
|
| +/*
|
| +-->
|
| +<!doctype html>
|
| +<title>navigator.userAgent</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, navigator.userAgent);
|
| + this.done();
|
| + });
|
| +});
|
| +</script>
|
| +<!--
|
| +*/
|
| +//-->
|
|
|