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

Issue 1211623005: Unify multiple sequential_promise_test definitions. (Closed)

Created:
5 years, 6 months ago by Marijn Kruisselbrink
Modified:
5 years, 6 months ago
CC:
blink-reviews, falken, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+serviceworker, michaeln, nhiroki, scheib+watch_chromium.org, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Unify multiple sequential_promise_test definitions. Still leaves two copies since testharness-helpers.js exists in two places, but other than that this reduces code duplication and makes it easier for other tests to use this method. BUG=None Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197842

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : update fetch templates and remove new duplicate of this method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -83 lines) Patch
M LayoutTests/bluetooth/bluetooth-helpers.js View 1 chunk +0 lines, -16 lines 0 comments Download
M LayoutTests/bluetooth/connectGATT.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/bluetooth/getCharacteristic.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/bluetooth/getPrimaryService.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/bluetooth/idl-BluetoothDevice.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/bluetooth/readValue.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/chromium/error-messages.html View 2 chunks +1 line, -2 lines 0 comments Download
M LayoutTests/http/tests/fetch/chromium/error-messages-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/http/tests/fetch/resources/fetch-access-control-util.js View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/http/tests/fetch/resources/fetch-test-helpers.js View 2 chunks +1 line, -41 lines 0 comments Download
M LayoutTests/http/tests/fetch/script-tests/TEMPLATE-fetch-access-control-window.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/script-tests/TEMPLATE-window.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/script-tests/fetch.js View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/http/tests/fetch/script-tests/fetch-body-mixin.js View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/http/tests/fetch/script-tests/filtered-response.js View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/http/tests/fetch/script-tests/stream-reader.js View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/http/tests/fetch/window/block-mixed-content-base-https.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/block-mixed-content-nocors-base-https.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-auth.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-auth-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-auth-nocors.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-auth-nocors-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-auth-nocors-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-auth-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cookie.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cookie-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cookie-nocors.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cookie-nocors-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cookie-nocors-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cookie-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors-preflight.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors-preflight-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors-preflight-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors-preflight2.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors-preflight2-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-cors-preflight2-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-nocors.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-nocors-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-nocors-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-credentials.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-credentials-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-credentials-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-loop.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-loop-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-loop-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-nocors.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-nocors-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-nocors-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-access-control-redirect-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-body-mixin.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-body-mixin-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-cache-override.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/fetch-cache-override-base-https-other-https.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/filtered-response.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/filtered-response-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/filtered-response-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/headers.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/headers-base-https-other-https.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/headers-guard.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/headers-guard-base-https-other-https.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/request.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/request-base-https-other-https.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/response.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/response-base-https-other-https.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/response-content.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/response-content-base-https-other-https.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/stream-reader.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/fetch/window/stream-reader-base-https-other-https.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/navigatorconnect/resources/test-helpers.js View 1 2 1 chunk +0 lines, -16 lines 0 comments Download
M LayoutTests/http/tests/resources/testharness-helpers.js View 1 chunk +20 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/getregistrations.html View 2 chunks +1 line, -2 lines 0 comments Download
M LayoutTests/resources/testharness-helpers.js View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Marijn Kruisselbrink
5 years, 6 months ago (2015-06-25 01:09:01 UTC) #2
ortuno
This is what I proposed at the beginning but I was told no by @dpranke: ...
5 years, 6 months ago (2015-06-25 01:36:25 UTC) #4
Dirk Pranke
On 2015/06/25 01:36:25, ortuno wrote: > This is what I proposed at the beginning but ...
5 years, 6 months ago (2015-06-25 01:47:39 UTC) #6
hiroshige
https://codereview.chromium.org/1211623005/diff/20001/LayoutTests/http/tests/fetch/window/fetch.html File LayoutTests/http/tests/fetch/window/fetch.html (right): https://codereview.chromium.org/1211623005/diff/20001/LayoutTests/http/tests/fetch/window/fetch.html#newcode4 LayoutTests/http/tests/fetch/window/fetch.html:4: <script src = "/resources/testharness-helpers.js"></script> http/tests/fetch/window/*.html is generated from http/tests/fetch/script-tests/TEMPLATE-*.html ...
5 years, 6 months ago (2015-06-25 10:46:19 UTC) #7
jsbell
conceptually l*g*t*m: * unifying helpers like sequential_promise_test into testharness-helpers instead of duplicating across the codebase ...
5 years, 6 months ago (2015-06-25 16:16:55 UTC) #8
Marijn Kruisselbrink
Updated to also remove yet another duplicate of sequential_promise_test that I landed yesterday, and to ...
5 years, 6 months ago (2015-06-25 16:51:24 UTC) #9
jsbell
lgtm
5 years, 6 months ago (2015-06-25 17:15:58 UTC) #10
ortuno
bluetooth LGTM
5 years, 6 months ago (2015-06-25 17:30:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211623005/40001
5 years, 6 months ago (2015-06-25 17:59:34 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-25 18:25:45 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197842

Powered by Google App Engine
This is Rietveld 408576698