Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/adapter-not-present.html

Issue 2853433002: bluetooth: Implement simulateCentral (Closed)
Patch Set: Address dcheng's comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/adapter-not-present.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/adapter-not-present.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/adapter-not-present.html
deleted file mode 100644
index 80ce978be3b27971e9ea41ee1d86aa61ce291f8e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/adapter-not-present.html
+++ /dev/null
@@ -1,14 +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>
-'use strict';
-promise_test(() => {
- return setBluetoothFakeAdapter('NotPresentAdapter')
- .then(() => assert_promise_rejects_with_message(
- requestDeviceWithKeyDown({filters: [{services: ['generic_access']}]}),
- new DOMException('Bluetooth adapter not available.', 'NotFoundError'),
- 'Bluetooth adapter is not present.'));
-}, 'Reject with NotFoundError if the adapter is not present.');
-</script>
« no previous file with comments | « device/bluetooth/test/fake_central.cc ('k') | third_party/WebKit/LayoutTests/bluetooth/requestDevice/adapter-off.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698