| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-inscope.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-inscope.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-inscope.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7fd97f2a5a4ab734497a44028f85844f9823f873
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-inscope.html
|
| @@ -0,0 +1,12 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="utf-8">
|
| +<title>Insecure inscope page</title>
|
| +<script>
|
| +// The top window messages us when it wants to check for a controller.
|
| +window.onmessage = (e => {
|
| + if (navigator.serviceWorker.controller === null)
|
| + window.top.postMessage('PASS', '*');
|
| + else
|
| + window.top.postMessage('FAIL', '*');
|
| + });
|
| +</script>
|
|
|