| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aaf9289c347dea9c839f171cd37b862c3e1280f3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/le-not-supported.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../../resources/mojo-helpers.js"></script>
|
| +<script src="../../resources/bluetooth/web-bluetooth-test.js"></script>
|
| +<script src="../../resources/bluetooth/bluetooth-helpers.js"></script>
|
| +<script>
|
| +'use strict';
|
| +promise_test(t => {
|
| + return navigator.bluetooth.test.setLESupported(false)
|
| + .then(() => promise_rejects(t, 'NotFoundError',
|
| + requestDeviceWithKeyDown({acceptAllDevices: true})));
|
| +}, 'Reject with NotFoundError if bluetooth is not supported.');
|
| +</script>
|
|
|