| Index: third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html b/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
|
| deleted file mode 100644
|
| index 70c8c35ca6e6ad75354c7f783863bb5522392876..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/idl-BluetoothDevice.html
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<script src="../resources/testharness.js"></script>
|
| -<script src="../resources/testharnessreport.js"></script>
|
| -<script src="../resources/bluetooth/bluetooth-helpers.js"></script>
|
| -<script>
|
| -test(() => {
|
| - assert_throws(null, () => new BluetoothDevice(),
|
| - 'the constructor should not be callable with "new"');
|
| - assert_throws(null, () => BluetoothDevice(),
|
| - 'the constructor should not be callable');
|
| -}, 'BluetoothDevice IDL test');
|
| -
|
| -test(t => { assert_true(window.testRunner instanceof Object); t.done(); },
|
| - 'window.testRunner is required for the following tests.');
|
| -
|
| -promise_test(() => {
|
| - return setBluetoothFakeAdapter('GlucoseHeartRateAdapter')
|
| - .then(() => requestDeviceWithKeyDown({
|
| - filters: [{services: ['heart_rate']}]}))
|
| - .then(device => {
|
| - assert_equals(device.constructor.name, 'BluetoothDevice');
|
| -
|
| - // Attempt (and fail) to overwrite all members, verifying they are
|
| - // readonly.
|
| - var old_device_id = device.id;
|
| - device.id = 'overwritten';
|
| - device.name = 'overwritten';
|
| - assert_equals(device.id, old_device_id);
|
| - assert_equals(device.name, 'Heart Rate Device');
|
| - });
|
| -}, 'BluetoothDevice attributes.');
|
| -</script>
|
|
|