| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html
|
| index ca478b60e40c8a795c21b9b85c553f771a7bbda8..ad69700d12e1e337d4343f0be4a42c5bac1c9962 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/max-length-for-device-name-name.html
|
| @@ -6,13 +6,12 @@
|
| 'use strict';
|
| promise_test(() => {
|
| let name_too_long = generate_string(249, 'a');
|
| - return setBluetoothFakeAdapter('EmptyAdapter')
|
| - .then(() => assert_promise_rejects_with_message(
|
| - requestDeviceWithKeyDown({filters: [{name: name_too_long}]}),
|
| - new DOMException(
|
| - 'Failed to execute \'requestDevice\' on \'Bluetooth\': A device ' +
|
| - 'name can\'t be longer than 248 bytes.',
|
| - 'TypeError'),
|
| - 'Device name longer than 248'));
|
| + return assert_promise_rejects_with_message(
|
| + requestDeviceWithKeyDown({filters: [{name: name_too_long}]}),
|
| + new DOMException(
|
| + 'Failed to execute \'requestDevice\' on \'Bluetooth\': A device ' +
|
| + 'name can\'t be longer than 248 bytes.',
|
| + 'TypeError'),
|
| + 'Device name longer than 248');
|
| }, 'A device name longer than 248 must reject.');
|
| </script>
|
|
|