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

Issue 790683002: ServiceWorker cleanup: remove wait_for_activated(); just use wait_for_state() (Closed)

Created:
6 years ago by kinuko
Modified:
6 years ago
Reviewers:
falken
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Project:
blink
Visibility:
Public.

Description

ServiceWorker cleanup: remove wait_for_activated(); just use wait_for_state() Per https://codereview.chromium.org/776373003/#msg5: "another cleanup task can be removing "wait_for_activated" or simply making it a shortcut for "wait_for_state(r.installing, "activated")". As it is, wait_for_activated tries to sweep race conditions under the rug that our tests should fail on." BUG=439365 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186836

Patch Set 1 : #

Patch Set 2 : more fix #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -46 lines) Patch
M LayoutTests/http/tests/serviceworker/appcache-ordering-main.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/chromium/memory-cache.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/chromium/postmessage-after-terminate.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/chromium/postmessage-cross-process.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-event.html View 1 9 chunks +27 lines, -9 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-event-after-navigation-within-page.html View 2 chunks +6 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-event-network-error.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-event-respond-with-stops-propagation.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-frame-resource.html View 1 7 chunks +19 lines, -7 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/multiple-register.html View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/ready.html View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/resources/test-helpers.js View 1 2 1 chunk +0 lines, -12 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/uncontrolled-page.html View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
kinuko
One more cleanup suggested in https://codereview.chromium.org/776373003/#msg5. PTL, thanks
6 years ago (2014-12-09 15:08:09 UTC) #3
falken
lgtm, thanks!
6 years ago (2014-12-10 01:22:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/790683002/40001
6 years ago (2014-12-10 05:37:26 UTC) #6
commit-bot: I haz the power
Failed to apply patch for LayoutTests/http/tests/serviceworker/resources/test-helpers.js: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-12-10 05:37:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/790683002/60001
6 years ago (2014-12-10 08:01:17 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-10 09:30:21 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186836

Powered by Google App Engine
This is Rietveld 408576698