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

Issue 2906963002: Upstream service wrkr "window client" test to WPT (Closed)

Created:
3 years, 7 months ago by mike3
Modified:
3 years, 6 months ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, blink-reviews-w3ctests_chromium.org, nhiroki, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, tzik
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Upstream service wrkr "window client" test to WPT Re-locate test files to Web Platform Test directory for eventual automated upstreaming. The original version of this test registered a handler for the service worker's "install" event after initial evaluation. Because this practice is discouraged by the specification, it should be avoided. Re-factor the test to immediately register the event handler and to preserve the necessary behavior through an explicit message channel with the client. Add a "use strict" directive to script bodies. Introduce a variable declaration for a previously-undeclared binding. Correct a typo in an error message. Ensure that each sub-test's asynchronous "cleanup" logic is complete prior to advancing to the next sub-test. BUG=688116 R=falken@chromium.org Review-Url: https://codereview.chromium.org/2906963002 Cr-Commit-Position: refs/heads/master@{#475409} Committed: https://chromium.googlesource.com/chromium/src/+/4d677eb1d7292c42d3902f28e2add76e9c65684d

Patch Set 1 #

Total comments: 10

Patch Set 2 : Incorporate review feedback #

Total comments: 1

Messages

Total messages: 8 (3 generated)
falken
https://codereview.chromium.org/2906963002/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/windowclient-navigate-worker.js File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/windowclient-navigate-worker.js (right): https://codereview.chromium.org/2906963002/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/windowclient-navigate-worker.js#newcode33 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/windowclient-navigate-worker.js:33: var client, idx; nit: idx -> i for consistency ...
3 years, 6 months ago (2017-05-29 04:54:08 UTC) #1
mike3
Thanks, Matt! https://codereview.chromium.org/2906963002/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/windowclient-navigate-worker.js File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/windowclient-navigate-worker.js (right): https://codereview.chromium.org/2906963002/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/windowclient-navigate-worker.js#newcode33 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/windowclient-navigate-worker.js:33: var client, idx; On 2017/05/29 04:54:08, falken ...
3 years, 6 months ago (2017-05-29 17:00:50 UTC) #2
falken
thanks, lgtm https://codereview.chromium.org/2906963002/diff/20001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/windowclient-navigate.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/windowclient-navigate.https.html (right): https://codereview.chromium.org/2906963002/diff/20001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/windowclient-navigate.https.html#newcode124 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/windowclient-navigate.https.html:124: pausedLifecyclePort.postMessage('continue lifecycle'); Thanks for the comments and ...
3 years, 6 months ago (2017-05-30 01:11:01 UTC) #3
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/2906963002/20001
3 years, 6 months ago (2017-05-30 01:11:51 UTC) #5
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 02:53:37 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/4d677eb1d7292c42d3902f28e2ad...

Powered by Google App Engine
This is Rietveld 408576698