| 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..08a383fbf07faf9fed47a14d20bd645e1801c7cf 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.
|
| })
|
| .catch(function(e) {
|
| - document.title = 'FAILED';
|
| + document.title = 'FAIL_1';
|
| });
|
| </script>
|
|
|