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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/blocklisted-service-in-filter.html

Issue 2867713008: bluetooth: Implement known_service_uuids for Peripherals. (Closed)
Patch Set: rebase Created 3 years, 7 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/blocklisted-service-in-filter.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/blocklisted-service-in-filter.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/blocklisted-service-in-filter.html
index e203213355b44f386643a962ebe96d2995bc1648..842f01b4d4bee97351f31aefb96d2e57cdfe1cd7 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/blocklisted-service-in-filter.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/blocklisted-service-in-filter.html
@@ -2,10 +2,13 @@
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/bluetooth/bluetooth-helpers.js"></script>
+<script src="../../resources/bluetooth/web-bluetooth-test.js"></script>
+<script src="../../resources/mojo-helpers.js"></script>
<script>
'use strict';
promise_test(() => {
- return setBluetoothFakeAdapter('BlocklistTestAdapter')
+ return setUpPreconnectedDevice({
+ knownServiceUUIDs: ['human_interface_device']})
.then(() => assert_promise_rejects_with_message(
requestDeviceWithKeyDown({
filters: [{services: ['human_interface_device']}]}),

Powered by Google App Engine
This is Rietveld 408576698