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

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, formatted. Created 3 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 <!-- 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')
12 .then(() => navigator.serviceWorker.ready)
13 .then(() => {
14 // Inform the C++ side of this test that the worker
15 // is now registered.
16 document.title = 'service worker is ready';
17 console.log('Service worker is ready.');
18 });
19 </script>
20 </body>
21 </html>
OLDNEW
« no previous file with comments | « content/test/data/browsing_data/worker.js ('k') | content/test/fuzzer/clear_site_data_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698