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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/registration-end-to-end.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 <title>Service Worker: registration end-to-end</title> 2 <title>Service Worker: registration end-to-end</title>
3 <script src="../resources/testharness.js"></script> 3 <script src="/resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script> 4 <script src="/resources/testharnessreport.js"></script>
5 <script src="resources/test-helpers.js"></script> 5 <script src="resources/test-helpers.sub.js"></script>
6 <script> 6 <script>
7 var t = async_test('Registration: end-to-end'); 7 var t = async_test('Registration: end-to-end');
8 t.step(function() { 8 t.step(function() {
9 9
10 var scope = 'resources/in-scope/'; 10 var scope = 'resources/in-scope/';
11 var serviceWorkerStates = []; 11 var serviceWorkerStates = [];
12 var lastServiceWorkerState = ''; 12 var lastServiceWorkerState = '';
13 var receivedMessageFromPort = ''; 13 var receivedMessageFromPort = '';
14 var currentChangeCount = 0; 14 var currentChangeCount = 0;
15 15
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 }); 87 });
88 })); 88 }));
89 registration.unregister(); 89 registration.unregister();
90 sawRedundant.then(t.step_func(function() { 90 sawRedundant.then(t.step_func(function() {
91 t.done(); 91 t.done();
92 })); 92 }));
93 })); 93 }));
94 } 94 }
95 }); 95 });
96 </script> 96 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698