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

Issue 2856863003: Upstream service worker `fetch` test to WPT (Closed)

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

Description

Upstream service worker `fetch` test to WPT - Re-write expected "credentials" values according to WPT's definition. - Create a dedicated sub-test for each request. This ensures deterministic failure and allows much finer-grained error reporting. BUG=688116 R=mek@chromium.org Review-Url: https://codereview.chromium.org/2856863003 Cr-Commit-Position: refs/heads/master@{#469767} Committed: https://chromium.googlesource.com/chromium/src/+/9b0ef8da376582de0ba4d3aaa223bd78c3ab2f19

Patch Set 1 #

Patch Set 2 : Update reference in "expectations" file #

Total comments: 2

Patch Set 3 : Incorporate review feedback #

Total comments: 9

Patch Set 4 : Incorporate review feedback #

Total comments: 2

Patch Set 5 : Incorporate review feedback #

Messages

Total messages: 18 (8 generated)
mike3
Hi Mek, This is the test we've been discussing on IRC. The migration was a ...
3 years, 7 months ago (2017-05-02 18:45:07 UTC) #1
mike3
It looks like one of the project's test expectations files was recently updated to reference ...
3 years, 7 months ago (2017-05-02 22:02:17 UTC) #2
Marijn Kruisselbrink
Currently what you did is something like: var p1 = promise_for_a_test(...); promise_test(() => p1); var ...
3 years, 7 months ago (2017-05-03 17:23:58 UTC) #5
mike3
> shared_initialization would do the login, registering service worker, and > creating the iframe, resolving ...
3 years, 7 months ago (2017-05-03 18:44:03 UTC) #6
Marijn Kruisselbrink
On 2017/05/03 at 18:44:03, mike wrote: > > shared_initialization would do the login, registering service ...
3 years, 7 months ago (2017-05-04 00:08:05 UTC) #9
mike3
Thanks, Mek! New version is up. https://codereview.chromium.org/2856863003/diff/40001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-response-taint.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-response-taint.https.html (right): https://codereview.chromium.org/2856863003/diff/40001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-response-taint.https.html#newcode46 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-response-taint.https.html:46: promise_test(function(t) { On ...
3 years, 7 months ago (2017-05-05 16:21:38 UTC) #10
Marijn Kruisselbrink
thanks, lgtm with two small nits https://codereview.chromium.org/2856863003/diff/40001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-response-taint.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-response-taint.https.html (right): https://codereview.chromium.org/2856863003/diff/40001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-response-taint.https.html#newcode59 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-response-taint.https.html:59: return frame_fetch(frame, url, ...
3 years, 7 months ago (2017-05-05 17:32:42 UTC) #11
mike3
> You can check for TypeError by either passing {name: 'TypeError'} or new > TypeError() ...
3 years, 7 months ago (2017-05-05 19:11:48 UTC) #12
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/2856863003/80001
3 years, 7 months ago (2017-05-05 19:13:39 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 20:38:43 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/9b0ef8da376582de0ba4d3aaa223...

Powered by Google App Engine
This is Rietveld 408576698