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

Side by Side Diff: content/test/data/browsing_data/worker_setup.html

Issue 2368923003: Support the Clear-Site-Data header on resource requests (Closed)
Patch Set: Addressed comments, improved the SW test 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 <!-- Testing page used in ClearSiteDataThrottleTest. -->
2
3 <html>
4 <head>
5 </head>
6 <body>
7 <img id="some_resource" />
8
9 <script>
10 // Set up a service worker to handle future requests.
11 navigator.serviceWorker.register('/?file=worker.js').then(function() {
12 // Inform the C++ side of this test that the worker is now registered.
13 document.title = 'service worker registered';
14 console.log('Service worker registered.');
falken 2016/10/19 07:14:38 This isn't quite right, the service worker is stil
msramek 2016/10/19 12:20:12 Done. I just left out the catch() part, as the exc
15 });
16 </script>
17 </body>
18 </html>
OLDNEW
« content/test/data/browsing_data/worker.js ('K') | « content/test/data/browsing_data/worker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698