| Index: third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/post-addressspace-to-owner-serviceworker.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/post-addressspace-to-owner-serviceworker.js b/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/post-addressspace-to-owner-serviceworker.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0cc9ded698366ae136f640965652942454b874d4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/resources/post-addressspace-to-owner-serviceworker.js
|
| @@ -0,0 +1,10 @@
|
| +self.addEventListener('message', e => {
|
| + e.ports[0].postMessage({
|
| + "origin": self.location.origin,
|
| + "addressSpace": self.addressSpace
|
| + });
|
| + self.registration.active.postMessage({
|
| + "origin": self.location.origin,
|
| + "addressSpace": self.addressSpace
|
| + });
|
| +});
|
|
|