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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/register-closed-window-iframe.html

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 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 <html>
2 <head>
3 <script>
4 window.addEventListener('message', function(evt) {
5 if (evt.data === 'START') {
6 var w = window.open('./');
7 var sw = w.navigator.serviceWorker;
8 w.close();
9 w = null;
10 sw.register('doesntmatter.js');
11 parent.postMessage('OK', '*');
12 }
13 });
14 </script>
15 </head>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698