| 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;
|
|
|