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

Unified Diff: LayoutTests/http/tests/serviceworker/state.html

Issue 683733002: ServiceWorker: Remove the obsolete "parsed" state [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/serviceworker/state.html
diff --git a/LayoutTests/http/tests/serviceworker/state.html b/LayoutTests/http/tests/serviceworker/state.html
index d6e57ebb63eb26a2426acc35e53073cf27b23661..a94f32034560fe77528ca06bbf6e4d615d9949a3 100644
--- a/LayoutTests/http/tests/serviceworker/state.html
+++ b/LayoutTests/http/tests/serviceworker/state.html
@@ -16,9 +16,8 @@
}))
.then(t.step_func(function(sw) {
sw.addEventListener('statechange', t.step_func(onStateChange(sw)));
- assert_in_array(sw.state, ['parsed', 'installing'],
- 'the service worker should be in a state up to ' +
- '"installing".');
+ assert_equals(sw.state, 'installing',
+ 'the service worker should be in "installing" state.');
checkStateTransition(sw.state);
}))
.catch(unreached_rejection(t));
@@ -27,9 +26,6 @@
switch (currentState) {
case 'test-is-starting':
break; // anything goes
- case 'parsed':
- assert_equals(newState, 'installing');
- break;
case 'installing':
assert_in_array(newState, ['installed', 'redundant']);
break;
« no previous file with comments | « LayoutTests/http/tests/serviceworker/registration-end-to-end.html ('k') | Source/modules/serviceworkers/ServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698