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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/claim-not-using-registration.https.html

Issue 2763123002: Upstream service worker `claim` tests to WPT (Closed)
Patch Set: Persist Chromium-specific version of test Created 3 years, 9 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 <title>Service Worker: claim client not using registration</title> 2 <title>Service Worker: claim client not using registration</title>
3 <script src="/resources/testharness.js"></script> 3 <script src="/resources/testharness.js"></script>
4 <script src="resources/testharness-helpers.js"></script>
5 <script src="/resources/testharnessreport.js"></script> 4 <script src="/resources/testharnessreport.js"></script>
6 <script src="resources/test-helpers.sub.js"></script> 5 <script src="resources/test-helpers.sub.js"></script>
7 <body> 6 <body>
8 <script> 7 <script>
9 8
10 promise_test(function(t) { 9 promise_test(function(t) {
11 var init_scope = 'resources/blank.html?not-using-init'; 10 var init_scope = 'resources/blank.html?not-using-init';
12 var claim_scope = 'resources/blank.html?not-using'; 11 var claim_scope = 'resources/blank.html?not-using';
13 var init_worker_url = 'resources/empty.js'; 12 var init_worker_url = 'resources/empty.js';
14 var claim_worker_url = 'resources/claim-worker.js'; 13 var claim_worker_url = 'resources/claim-worker.js';
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 frame.remove(); 113 frame.remove();
115 return service_worker_unregister(t, claim_scope); 114 return service_worker_unregister(t, claim_scope);
116 }) 115 })
117 .then(function() { 116 .then(function() {
118 return service_worker_unregister_and_done(t, scope); 117 return service_worker_unregister_and_done(t, scope);
119 }); 118 });
120 }, 'Test claim client when there\'s a longer-matched registration not ' + 119 }, 'Test claim client when there\'s a longer-matched registration not ' +
121 'already used by the page'); 120 'already used by the page');
122 121
123 </script> 122 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698