| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html
|
| index 07474dc1a35ec0ef2b089d096bc99f08f4aa1b0f..7a8f84368e123d9680912b48bbae8a3bd72a54b6 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-name-in-adv-name.html
|
| @@ -5,15 +5,15 @@
|
| <script>
|
| 'use strict';
|
| promise_test(() => {
|
| - let name_too_long = generate_string(30, 'a');
|
| + const name_too_long = generate_string(241, 'a');
|
| return assert_promise_rejects_with_message(
|
| requestDeviceWithKeyDown({filters: [{name: name_too_long}]}),
|
| new DOMException(
|
| 'Failed to execute \'requestDevice\' on \'Bluetooth\': ' +
|
| - 'A \'name\' or \'namePrefix\' longer than 29 bytes ' +
|
| + 'A \'name\' or \'namePrefix\' longer than 240 bytes ' +
|
| 'results in no devices being found, because a device can\'t ' +
|
| - 'advertise a name longer than 29 bytes.',
|
| + 'acquire a name longer than 240 bytes.',
|
| 'NotFoundError'),
|
| - 'Device name longer than 29');
|
| -}, 'A device name longer than 29 must reject.');
|
| + 'Device name longer than 240');
|
| +}, 'A device name longer than 240 bytes must reject.');
|
| </script>
|
|
|