bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
4 test are kept, originally named:
"*max-length-for-device-name*"
and remove 4
"*max-length-for-name-in-adv-name*"
These duplicate tests should have been removed in
https://codereview.chromium.org/2642123003
The names are simplified to:
"max-length-name*.html"
BUG=653718
Review-Url: https://codereview.chromium.org/2866783002
Cr-Commit-Position: refs/heads/master@{#471540}
Committed: https://chromium.googlesource.com/chromium/src/+/dd54acf6aaaeac88dd7aa1487c1cca25c9b6ffcf
Description was changed from ========== bluetooth: web: Remove now-duplicate max name length tests. Code used ...
3 years, 7 months ago
(2017-05-05 19:52:24 UTC)
#1
Description was changed from
==========
bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
4 tests we keep "*max-length-for-device-name*"
have these duplicates removed:
max-length-for-name-in-adv-name.html
max-length-for-name-in-adv-namePrefix.html
unicode-max-length-for-name-in-adv-namePrefix.html
unicode-max-length-for-name-in-adv-name.html
unicode-max-length-for-name-in-adv-namePrefix.html
These duplicate tests should have been removed in that
change: https://codereview.chromium.org/2642123003
BUG=653718
==========
to
==========
bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
We keep 4 tests: "*max-length-for-device-name*"
and remove "*max-length-for-name-in-adv-name*"
These duplicate tests should have been removed in
https://codereview.chromium.org/2642123003
BUG=653718
==========
3 years, 7 months ago
(2017-05-05 21:30:33 UTC)
#7
Dry run: This issue passed the CQ dry run.
ortuno
lgtm Should we simplify the naming as well? max-length-for-device-name-name.html -> max-length-name.html max-length-for-device-name-namePrefix.html -> max-length-namePrefix.html
3 years, 7 months ago
(2017-05-08 01:13:48 UTC)
#8
lgtm
Should we simplify the naming as well?
max-length-for-device-name-name.html -> max-length-name.html
max-length-for-device-name-namePrefix.html -> max-length-namePrefix.html
scheib
Description was changed from ========== bluetooth: web: Remove now-duplicate max name length tests. Code used ...
3 years, 7 months ago
(2017-05-08 19:52:56 UTC)
#9
Description was changed from
==========
bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
We keep 4 tests: "*max-length-for-device-name*"
and remove "*max-length-for-name-in-adv-name*"
These duplicate tests should have been removed in
https://codereview.chromium.org/2642123003
BUG=653718
==========
to
==========
bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
4 test are kept, originally named:
"*max-length-for-device-name*"
and remove 4
"*max-length-for-name-in-adv-name*"
These duplicate tests should have been removed in
https://codereview.chromium.org/2642123003
BUG=653718
==========
scheib
On 2017/05/08 01:13:48, ortuno wrote: > lgtm > > Should we simplify the naming as ...
3 years, 7 months ago
(2017-05-08 19:54:11 UTC)
#10
On 2017/05/08 01:13:48, ortuno wrote:
> lgtm
>
> Should we simplify the naming as well?
>
> max-length-for-device-name-name.html -> max-length-name.html
> max-length-for-device-name-namePrefix.html -> max-length-namePrefix.html
Oh bother, now you made me look and I feel a few others need renaming, plus
we're missing the obvious "max-length succeeds" variants and only have
"max-length+1 fails".
I'll wait for you to land https://codereview.chromium.org/2858183002/ to avoid
conflicts.
scheib
Description was changed from ========== bluetooth: web: Remove now-duplicate max name length tests. Code used ...
3 years, 7 months ago
(2017-05-13 00:31:27 UTC)
#11
Description was changed from
==========
bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
4 test are kept, originally named:
"*max-length-for-device-name*"
and remove 4
"*max-length-for-name-in-adv-name*"
These duplicate tests should have been removed in
https://codereview.chromium.org/2642123003
BUG=653718
==========
to
==========
bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
4 test are kept, originally named:
"*max-length-for-device-name*"
and remove 4
"*max-length-for-name-in-adv-name*"
These duplicate tests should have been removed in
https://codereview.chromium.org/2642123003
The names are simplified to:
"max-length-name*.html"
BUG=653718
==========
scheib
The CQ bit was checked by scheib@chromium.org
3 years, 7 months ago
(2017-05-13 00:32:11 UTC)
#12
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1494636294080280, "parent_rev": "16d5c759172948ac4c1eeca0d5bcdbc7fb7535c6", "commit_rev": "dd54acf6aaaeac88dd7aa1487c1cca25c9b6ffcf"}
3 years, 7 months ago
(2017-05-13 01:59:17 UTC)
#23
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1494636294080280,
"parent_rev": "16d5c759172948ac4c1eeca0d5bcdbc7fb7535c6", "commit_rev":
"dd54acf6aaaeac88dd7aa1487c1cca25c9b6ffcf"}
commit-bot: I haz the power
Description was changed from ========== bluetooth: web: Remove now-duplicate max name length tests. Code used ...
3 years, 7 months ago
(2017-05-13 01:59:28 UTC)
#24
Message was sent while issue was closed.
Description was changed from
==========
bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
4 test are kept, originally named:
"*max-length-for-device-name*"
and remove 4
"*max-length-for-name-in-adv-name*"
These duplicate tests should have been removed in
https://codereview.chromium.org/2642123003
The names are simplified to:
"max-length-name*.html"
BUG=653718
==========
to
==========
bluetooth: web: Remove now-duplicate max name length tests.
Code used to be stricter about filters and device names and
return different error types. We realized that the longest
name should always be viable to filter on. Only TypeErrors
are produced now, making these tests redundant.
4 test are kept, originally named:
"*max-length-for-device-name*"
and remove 4
"*max-length-for-name-in-adv-name*"
These duplicate tests should have been removed in
https://codereview.chromium.org/2642123003
The names are simplified to:
"max-length-name*.html"
BUG=653718
Review-Url: https://codereview.chromium.org/2866783002
Cr-Commit-Position: refs/heads/master@{#471540}
Committed:
https://chromium.googlesource.com/chromium/src/+/dd54acf6aaaeac88dd7aa1487c1c...
==========
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://chromium.googlesource.com/chromium/src/+/dd54acf6aaaeac88dd7aa1487c1cca25c9b6ffcf
3 years, 7 months ago
(2017-05-13 01:59:30 UTC)
#25
Issue 2866783002: bluetooth: web: Remove now-duplicate max name length tests.
(Closed)
Created 3 years, 7 months ago by scheib
Modified 3 years, 7 months ago
Reviewers: ortuno
Base URL:
Comments: 0