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

Issue 2642123003: Bluetooth: Make maximum possible name filter 248 bytes, not 240 (Closed)

Created:
3 years, 11 months ago by jeffcarp
Modified:
3 years, 10 months ago
Reviewers:
Jeffrey Yasskin, scheib
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, einbinder+watch-test-runner_chromium.org, fuzzing_chromium.org, haraken, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, ortuno+watch_chromium.org, Peter Beverloo, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bluetooth: Make maximum possible name filter 248 bytes, not 240 Re: discussion in https://crbug.com/653718 BUG=653718 R=scheib@chromium.org,jyasskin@chromium.org Review-Url: https://codereview.chromium.org/2642123003 Cr-Commit-Position: refs/heads/master@{#447395} Committed: https://chromium.googlesource.com/chromium/src/+/715c254e7e980472c07a29b2a0efdbf2ef8f469e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Correct 249->248 bytes in layout test #

Total comments: 7

Patch Set 3 : Change all NotFoundErrors to TypeErrors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -57 lines) Patch
M content/browser/bluetooth/bluetooth_device_chooser_controller.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-namePrefix.html View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-name.html View 1 2 1 chunk +6 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-max-length-for-device-name-namePrefix.html View 1 2 1 chunk +5 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp View 1 2 3 chunks +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/testing/clusterfuzz/wbt_fakes.py View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
jeffcarp
3 years, 11 months ago (2017-01-20 00:26:46 UTC) #1
scheib
Thanks, LGTM with small fix: https://codereview.chromium.org/2642123003/diff/1/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html File third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html (right): https://codereview.chromium.org/2642123003/diff/1/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html#newcode15 third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html:15: 'acquire a name longer ...
3 years, 11 months ago (2017-01-20 17:54:24 UTC) #3
jeffcarp
https://codereview.chromium.org/2642123003/diff/1/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html File third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html (right): https://codereview.chromium.org/2642123003/diff/1/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html#newcode15 third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html:15: 'acquire a name longer than 249 bytes.', On 2017/01/20 ...
3 years, 11 months ago (2017-01-21 00:11:41 UTC) #4
jeffcarp
https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (left): https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#oldcode79 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:79: } Because of this change and the one below, ...
3 years, 11 months ago (2017-01-21 00:14:05 UTC) #5
Jeffrey Yasskin
Attila, FYI.
3 years, 11 months ago (2017-01-21 00:20:14 UTC) #7
jeffcarp
https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (left): https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#oldcode79 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:79: } On 2017/01/21 at 00:14:05, jeffcarp wrote: > Because ...
3 years, 11 months ago (2017-01-21 00:20:35 UTC) #8
Jeffrey Yasskin
https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (left): https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#oldcode79 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:79: } On 2017/01/21 00:20:34, jeffcarp wrote: > On 2017/01/21 ...
3 years, 11 months ago (2017-01-23 17:16:14 UTC) #9
scheib
https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (left): https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#oldcode79 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:79: } On 2017/01/21 00:20:34, jeffcarp wrote: > On 2017/01/21 ...
3 years, 11 months ago (2017-01-23 18:31:48 UTC) #12
Jeffrey Yasskin
https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (left): https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#oldcode79 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:79: } On 2017/01/23 18:31:47, scheib wrote: > On 2017/01/23 ...
3 years, 11 months ago (2017-01-23 18:55:21 UTC) #13
scheib
https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (left): https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#oldcode79 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:79: } On 2017/01/23 18:55:21, Jeffrey Yasskin wrote: > On ...
3 years, 11 months ago (2017-01-23 20:10:25 UTC) #16
Jeffrey Yasskin
On 2017/01/23 20:10:25, scheib wrote: > https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp > File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (left): > > https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#oldcode79 > ...
3 years, 11 months ago (2017-01-25 22:09:16 UTC) #17
jeffcarp
On 2017/01/25 at 22:09:16, jyasskin wrote: > On 2017/01/23 20:10:25, scheib wrote: > > https://codereview.chromium.org/2642123003/diff/20001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp ...
3 years, 10 months ago (2017-01-27 05:37:46 UTC) #18
jeffcarp
On 2017/01/27 at 05:37:46, jeffcarp wrote: > On 2017/01/25 at 22:09:16, jyasskin wrote: > > ...
3 years, 10 months ago (2017-01-31 01:51:21 UTC) #19
scheib
LGTM
3 years, 10 months ago (2017-01-31 02:37:43 UTC) #20
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/2642123003/40001
3 years, 10 months ago (2017-01-31 22:10:38 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 01:14:35 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/715c254e7e980472c07a29b2a0ef...

Powered by Google App Engine
This is Rietveld 408576698