Chromium Code Reviews| Index: content/test/data/service_worker/cross_site_xfer.html |
| diff --git a/content/test/data/service_worker/imports_bust_memcache.html b/content/test/data/service_worker/cross_site_xfer.html |
| similarity index 79% |
| copy from content/test/data/service_worker/imports_bust_memcache.html |
| copy to content/test/data/service_worker/cross_site_xfer.html |
| index 2fc8af574e3144f735b42bbc4842a8f4c106792c..fc500ea9a0f679e294b1218f697dd28331be199b 100644 |
| --- a/content/test/data/service_worker/imports_bust_memcache.html |
| +++ b/content/test/data/service_worker/cross_site_xfer.html |
| @@ -1,12 +1,12 @@ |
| <!DOCTYPE html> |
| <script> |
| -// See ServiceWorkerBrowserTest ImportsBustMemcache. |
| +// See ServiceWorkerBrowserTest CrossSiteTransfer. |
| // Content-Shell data persists so unregister first to clear old data. |
| // Register, unregister, then reregister. The browsertest examines the |
| // state of the scriptcache to ensure the script and import are cached. |
| -var scope = 'imports_bust_memcache_scope/'; |
| -var script = 'worker_with_one_import.js'; |
| +var scope = 'cross_site_xfer_scope/'; |
| +var script = 'cross_site_xfer.js'; |
| navigator.serviceWorker.getRegistration(scope) |
| .then(function(registration) { |
| @@ -27,9 +27,9 @@ navigator.serviceWorker.getRegistration(scope) |
| }) |
| .then(function(_) { |
| console.log('second registration done'); |
| - document.title = 'OK'; // Titlewatcher looks for this. |
| + document.title = 'OK_1'; // Titlewatcher looks for this. |
|
falken
2014/12/08 07:32:16
nitty nit: TitleWatcher
michaeln
2014/12/08 23:56:44
Done.
|
| }) |
| .catch(function(e) { |
| - document.title = 'FAILED'; |
| + document.title = 'FAIL_1'; |
| }); |
| </script> |