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

Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/appcache-ordering.install.html

Issue 671583002: Test: Pages controlled by ServiceWorkers should not participate in AppCaching (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 manifest="appcache-ordering.manifest">
2 <script>
3 var handled = false;
4
5 function installComplete()
6 {
7 if (handled)
8 return;
9 handled = true;
10 window.parent.notify_appcache_installed(true);
11 }
12
13 function installFailed()
14 {
15 if (handled)
16 return;
17 handled = true;
18 window.parent.notify_appcache_installed(false);
19 }
20
21 applicationCache.oncached = installComplete;
22 applicationCache.onnoupdate = installComplete;
23 applicationCache.onupdateready = installFailed;
24 applicationCache.onerror = installFailed;
25 applicationCache.onobsolete =installFailed;
falken 2014/10/21 04:54:44 nit: missing space after =
26
27 </script>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698