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

Issue 2408533002: Remove fake Bluetooth adapter from canonicalizeFilter tests (Closed)

Created:
4 years, 2 months ago by jeffcarp
Modified:
4 years, 1 month ago
Reviewers:
ortuno, qyearsley
CC:
blink-reviews, chromium-reviews, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove fake Bluetooth adapter from canonicalizeFilter tests. setBlueToothFakeAdapter is causing these tests to fail when --batch-size=1 and is not necessary for them to pass. (see bug for more context) BUG=650906 Committed: https://crrev.com/ad6d40ff799a200267e7cb25219970533199fc3e Cr-Commit-Position: refs/heads/master@{#427405}

Patch Set 1 #

Patch Set 2 : Excellent, get wrong-service-in-optionalServices-member working with batch-size=1 #

Total comments: 1

Patch Set 3 : Fix spacing and return promises from all functions #

Total comments: 3

Patch Set 4 : Revert two tests that apparently need the adapter #

Total comments: 1

Patch Set 5 : Fix two small indentation issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -120 lines) Patch
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.html View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.html View 1 chunk +4 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.html View 1 2 3 1 chunk +6 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html View 1 2 3 1 chunk +7 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-namePrefix.html View 1 2 3 4 1 chunk +4 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html View 1 2 3 1 chunk +9 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-namePrefix.html View 1 2 3 1 chunk +9 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/no-arguments.html View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/no-filters-member.html View 1 2 3 1 chunk +6 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html View 1 2 3 1 chunk +8 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html View 1 2 3 1 chunk +8 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-name-in-adv-name.html View 1 2 3 1 chunk +6 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-name-in-adv-namePrefix.html View 1 2 3 1 chunk +6 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.html View 1 2 3 1 chunk +6 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html View 1 2 3 4 1 chunk +6 lines, -9 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
jeffcarp
4 years, 2 months ago (2016-10-14 19:47:20 UTC) #4
qyearsley
LGTM (although I didn't look very closely)!
4 years, 2 months ago (2016-10-14 20:39:28 UTC) #5
ortuno
Promises and arrow functions are tricky :) For a chain of promises to work you ...
4 years, 2 months ago (2016-10-17 03:21:32 UTC) #6
jeffcarp
On 2016/10/17 at 03:21:32, ortuno wrote: > Promises and arrow functions are tricky :) > ...
4 years, 2 months ago (2016-10-17 22:05:54 UTC) #7
ortuno
https://codereview.chromium.org/2408533002/diff/40001/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html File third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html (right): https://codereview.chromium.org/2408533002/diff/40001/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html#newcode8 third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html:8: return promise_rejects(t, new TypeError(), requestDeviceWithKeyDown({filters: [{}]})); nit: only two ...
4 years, 2 months ago (2016-10-18 00:33:33 UTC) #10
jeffcarp
https://codereview.chromium.org/2408533002/diff/40001/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html File third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html (right): https://codereview.chromium.org/2408533002/diff/40001/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html#newcode8 third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html:8: return promise_rejects(t, new TypeError(), requestDeviceWithKeyDown({filters: [{}]})); On 2016/10/18 at ...
4 years, 2 months ago (2016-10-18 16:04:21 UTC) #13
qyearsley
On 2016/10/18 at 16:04:21, jeffcarp wrote: > https://codereview.chromium.org/2408533002/diff/40001/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html > File third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html (right): > > https://codereview.chromium.org/2408533002/diff/40001/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/empty-filter.html#newcode8 ...
4 years, 2 months ago (2016-10-18 16:44:41 UTC) #14
jeffcarp
On 2016/10/18 at 16:44:41, qyearsley wrote: > On 2016/10/18 at 16:04:21, jeffcarp wrote: > > ...
4 years, 2 months ago (2016-10-18 16:55:33 UTC) #15
jeffcarp
On 2016/10/18 at 16:55:33, jeffcarp wrote: > On 2016/10/18 at 16:44:41, qyearsley wrote: > > ...
4 years, 1 month ago (2016-10-25 00:20:11 UTC) #16
ortuno
lgtm bar one test fix. https://codereview.chromium.org/2408533002/diff/60001/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html File third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html (right): https://codereview.chromium.org/2408533002/diff/60001/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html#newcode9 third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.html:9: test_promises = test_promises.then(() => ...
4 years, 1 month ago (2016-10-25 04:38:15 UTC) #21
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/2408533002/80001
4 years, 1 month ago (2016-10-25 16:58:11 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-25 17:52:27 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 18:03:28 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ad6d40ff799a200267e7cb25219970533199fc3e
Cr-Commit-Position: refs/heads/master@{#427405}

Powered by Google App Engine
This is Rietveld 408576698