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

Side by Side Diff: content/test/data/service_worker/disable_web_security_unregister.html

Issue 2196633002: [ServiceWorker] Don't check the origin equality when disable-web-security flag is set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add browser_tests Created 4 years, 4 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 <body>
3 <script>
4 var iframe = document.createElement('iframe');
5 iframe.onload = (_ => {
nhiroki 2016/08/01 04:32:45 Can you verify iframe is on a different origin fro
horo 2016/08/01 07:40:55 Done.
6 iframe.contentWindow.navigator.serviceWorker.ready
7 .then(reg => reg.unregister() )
shimazu 2016/08/01 05:06:20 +2 indent? # There seems to be two types of codin
shimazu 2016/08/01 05:06:20 Extra space before the last ')'
horo 2016/08/01 07:40:56 Done.
horo 2016/08/01 07:40:56 Done. We use type 2. See http://www.chromium.org/b
8 .then(_ => { document.title = "PASS"; })
9 });
10 iframe.src = location.search.substring(1);
11 document.body.appendChild(iframe);
12 </script>
13 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698