| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.html
|
| index 1132bcc8a142edc281b3eb75e9992da6bcece9db..92426f6a31eeade2d9f6c4129822777be91a1ee5 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.html
|
| @@ -2,12 +2,14 @@
|
| <script src="../../../resources/testharness.js"></script>
|
| <script src="../../../resources/testharnessreport.js"></script>
|
| <script src="../../../resources/bluetooth/bluetooth-helpers.js"></script>
|
| +<script src="../../../resources/mojo-helpers.js"></script>
|
| +<script src="../../../resources/bluetooth/web-bluetooth-test.js"></script>
|
| <script>
|
| 'use strict';
|
| promise_test(() => {
|
| const DEVICE_NAME = 'a_device_name_that_is_longer_than_29_bytes_but_shorter_than_248_bytes';
|
|
|
| - return setBluetoothFakeAdapter('DeviceNameLongerThan29BytesAdapter')
|
| + return setUpPreconnectedDevice({name: DEVICE_NAME})
|
| .then(() => requestDeviceWithKeyDown({ filters: [{name: DEVICE_NAME}]}))
|
| .then(device => assert_equals(device.name, DEVICE_NAME));
|
| }, 'A device name between 29 and 248 bytes is valid.');
|
|
|