Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1284)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-parent.html

Issue 2055433002: Revert of service worker: Don't control a subframe of an insecure context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-parent.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-parent.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-parent.html
deleted file mode 100644
index 6885e045e77010eca65f68f2f0c1d4c9d160f200..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-parent.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<script src="../../resources/get-host-info.js?pipe=sub"></script>
-<title>Page Title</title>
-<body></body>
-<script>
-// The subframe messages us.
-window.addEventListener('message', e => {
- window.parent.postMessage(e.data, '*');
- });
-
-var iframe = document.createElement('iframe');
-iframe.src = get_host_info().HTTP_ORIGIN +
- '/serviceworker/resources/insecure-inscope.html';
-document.body.appendChild(iframe);
-</script>

Powered by Google App Engine
This is Rietveld 408576698