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

Issue 1886953003: ServiceWorker: Add a test to check the behavior after reloading iframe

Created:
4 years, 8 months ago by shimazu (google)
Modified:
4 years, 8 months ago
Reviewers:
falken, nhiroki
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, nhiroki, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: Add a test to check the behavior after reloading iframe There seems to be some different behaviors between firefox and chrome when reloading iframe controlled by a service worker after unregistering or re-registering. This new test is to check if "Clear" and "Activate" process are not invoked after reloading an iframe controlled by a service worker. Expected behavior is to execute neither "Clear" nor "Activate" process according to comments at http://crrev.com/1865103003#msg29 Currently the behavior of chromium is different from the expected one, so this should be fixed by the another bug/CL. BUG=594032 TEST=./third_party/WebKit/Tools/Scripts/run-webkit-tests -t Default http/tests/serviceworker/chromium/reloading-iframe.html

Patch Set 1 #

Patch Set 2 : Wrap at 80 columns #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -39 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/reloading-iframe.html View 1 1 chunk +112 lines, -0 lines 8 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/unregister-then-register.html View 1 chunk +0 lines, -39 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
shimazu (google)
PTAL This test shows "Activate" process is not invoked after reloading though "Clear" process is ...
4 years, 8 months ago (2016-04-14 09:17:27 UTC) #2
falken
One round of comments. > Expected behavior is to execute neither "Clear" nor "Activate" process ...
4 years, 8 months ago (2016-04-14 18:34:57 UTC) #3
falken
4 years, 8 months ago (2016-04-14 18:38:28 UTC) #4
On 2016/04/14 18:34:57, falken wrote:
> One round of comments.
> 
> > Expected behavior is to execute neither "Clear" nor "Activate"
> process according to comments at http://crrev.com/1865103003#msg29
> 
> I said it'd be surprised if it's expected behavior :)

Correction: surprised if it's not expected.

Powered by Google App Engine
This is Rietveld 408576698