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

Issue 2732513003: ServiceWorker: Fix registration-iframe.https.html (Closed)

Created:
3 years, 9 months ago by jungkees
Modified:
3 years, 9 months ago
Reviewers:
falken, Yuta Kitamura
CC:
chromium-reviews, blink-reviews, blink-reviews-w3ctests_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: Fix registration-iframe.https.html registration-iframe.https.html became flaky after https://codereview.chromium.org/2691903005. This CL fixes the test by correcting the scope URL given to unregister function in the first async_test and using different scope urls for different tests to avoid conflicts in case there is cross-talk between tests. BUG=697087 Review-Url: https://codereview.chromium.org/2732513003 Cr-Commit-Position: refs/heads/master@{#455046} Committed: https://chromium.googlesource.com/chromium/src/+/0d01f9fe710dfbe680f317621a617e383422e14d

Patch Set 1 #

Total comments: 10

Patch Set 2 : Use different scope urls for different tests #

Total comments: 1

Patch Set 3 : Call unregister() before removing the iframe #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -20 lines) Patch
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html View 1 2 8 chunks +25 lines, -20 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
jungkees
falken@, I couldn't reproduce the issue in my local machines (Linux and Mac) but found ...
3 years, 9 months ago (2017-03-03 06:27:09 UTC) #3
falken
I think we can make the tests simpler and less error prone. https://codereview.chromium.org/2732513003/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html ...
3 years, 9 months ago (2017-03-07 05:00:19 UTC) #8
jungkees
I uploaded a new snapshot having addressed the comments. PTAL. https://codereview.chromium.org/2732513003/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html (right): https://codereview.chromium.org/2732513003/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html#newcode13 ...
3 years, 9 months ago (2017-03-07 07:02:03 UTC) #10
falken
Thanks this lg with a nit. https://codereview.chromium.org/2732513003/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html (right): https://codereview.chromium.org/2732513003/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html#newcode40 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html:40: return service_worker_unregister_and_done(t, scope); ...
3 years, 9 months ago (2017-03-07 07:11:48 UTC) #11
jungkees
Uploaded the fix. PTAL. https://codereview.chromium.org/2732513003/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html (right): https://codereview.chromium.org/2732513003/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html#newcode40 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/registration-iframe.https.html:40: return service_worker_unregister_and_done(t, scope); On 2017/03/07 ...
3 years, 9 months ago (2017-03-07 07:26:27 UTC) #12
falken
lgtm
3 years, 9 months ago (2017-03-07 07:29:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2732513003/40001
3 years, 9 months ago (2017-03-07 07:31:06 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 09:29:32 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/0d01f9fe710dfbe680f317621a61...

Powered by Google App Engine
This is Rietveld 408576698