Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-name.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-name.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-name.html |
index f12415442015647d32035e38c83144ccbb9aaefd..33b0cdfe708ae94f3e1cc14c334555babe463df5 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-name.html |
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-name.html |
@@ -2,11 +2,12 @@ |
<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> |
promise_test(() => { |
- // The UnicodeDevice's name is '❤❤❤❤❤❤❤❤❤'. ❤ = \u2764 |
- let device_name = generate_string(9, '\u2764'); |
- return setBluetoothFakeAdapter('UnicodeDeviceAdapter') |
+ let device_name = generate_string(9, '\u2764' /* ❤ */); |
scheib
2017/05/03 20:38:49
preexisting point, but why are we using generate_s
ortuno
2017/05/04 04:16:21
Changed it to 'LE Device' since there is no need f
|
+ return setUpSystemConnectedDevice({name: device_name}) |
.then(() => requestDeviceWithKeyDown({acceptAllDevices: true})) |
.then(device => { |
assert_equals(device.name, device_name); |