X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Fhttp%2Ftests%2Fserviceworker%2Fregistration-end-to-end.html;h=4845afb91f0827827df46d32dc9268a7f488c220;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=43b463065488264d91df3511e636a5038a04660f;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/http/tests/serviceworker/registration-end-to-end.html b/src/third_party/WebKit/LayoutTests/http/tests/serviceworker/registration-end-to-end.html index 43b4630..4845afb 100644 --- a/src/third_party/WebKit/LayoutTests/http/tests/serviceworker/registration-end-to-end.html +++ b/src/third_party/WebKit/LayoutTests/http/tests/serviceworker/registration-end-to-end.html @@ -7,7 +7,7 @@ var t = async_test('Registration: end-to-end'); t.step(function() { - var scope = '/in-scope/'; + var scope = 'resources/in-scope/'; var serviceWorkerStates = []; var lastServiceWorkerState = ''; var receivedMessageFromPort = ''; @@ -49,9 +49,6 @@ t.step(function() { serviceWorkerStates.push(sw.state); switch (sw.state) { - case 'installing': - assert_equals(lastServiceWorkerState, 'parsed'); - break; case 'installed': assert_equals(lastServiceWorkerState, 'installing'); break; @@ -75,7 +72,7 @@ t.step(function() { Promise.all([sawMessage, sawActive]).then(t.step_func(function() { assert_array_equals(serviceWorkerStates, - ['parsed', 'installing', 'installed', 'activating', 'activated'], + ['installing', 'installed', 'activating', 'activated'], 'Service worker should pass through all states'); assert_equals(currentChangeCount, 0,