| Index: LayoutTests/http/tests/navigatorconnect/postmessage.html
|
| diff --git a/LayoutTests/http/tests/navigatorconnect/postmessage.html b/LayoutTests/http/tests/navigatorconnect/postmessage.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1d76f71d83e093f2f494bd79a1585262bbbe55fd
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/navigatorconnect/postmessage.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<title>
|
| + Tests posting messages over a navigator.connect initiated channel from a same
|
| + origin page.
|
| +</title>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../../resources/testharness-helpers.js"></script>
|
| +<script src="../serviceworker/resources/test-helpers.js"></script>
|
| +<script src="resources/postmessage-tests.js"></script>
|
| +<script>
|
| +var sw_scope = 'resources/service-worker-scope' + window.location.pathname;
|
| +
|
| +run_postmessage_tests(location.origin, function(t, service) {
|
| + return navigator.connect(service);
|
| + });
|
| +</script>
|
|
|