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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/unregister-then-register-new-script.https.html

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script> 2 <script src="/resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="/resources/testharnessreport.js"></script>
4 <script src="resources/test-helpers.js"></script> 4 <script src="resources/test-helpers.sub.js"></script>
5 <script> 5 <script>
6 var worker_url = 'resources/empty-worker.js'; 6 var worker_url = 'resources/empty-worker.js';
7 7
8 async_test(function(t) { 8 async_test(function(t) {
9 var scope = 'resources/scope/unregister-then-register-new-script-that-exists '; 9 var scope = 'resources/scope/unregister-then-register-new-script-that-exists ';
10 var new_worker_url = worker_url + '?new'; 10 var new_worker_url = worker_url + '?new';
11 var iframe; 11 var iframe;
12 var registration; 12 var registration;
13 var new_registration; 13 var new_registration;
14 14
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 frame.remove(); 150 frame.remove();
151 return registration.unregister(); 151 return registration.unregister();
152 }) 152 })
153 .then(function() { 153 .then(function() {
154 t.done(); 154 t.done();
155 }) 155 })
156 .catch(unreached_rejection(t)); 156 .catch(unreached_rejection(t));
157 }, 'Registering a new script URL that fails to install does not resurrect ' + 157 }, 'Registering a new script URL that fails to install does not resurrect ' +
158 'an unregistered registration'); 158 'an unregistered registration');
159 </script> 159 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698