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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/insecure-inscope.html

Issue 2009453002: service worker: Don't control a subframe of an insecure context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: refactor errorMessage 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>Page Title</title>
4 <script>
5 if (navigator.serviceWorker.controller)
6 window.parent.postMessage('FAIL', '*');
7 else
8 window.parent.postMessage('PASS', '*');
9 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698