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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blacklisted-services.html

Issue 2554253002: bluetooth: web: Rename Blacklist to Blocklist (Closed)
Patch Set: Created 4 years 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/getPrimaryServices/blacklisted-services.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blacklisted-services.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blacklisted-services.html
deleted file mode 100644
index 7182ee4ac9dcba11e9f8b3a926acea9213646004..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blacklisted-services.html
+++ /dev/null
@@ -1,28 +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('BlacklistTestAdapter')
- .then(() => requestDeviceWithKeyDown({
- filters: [{services: ['device_information']}],
- optionalServices: [
- blacklist_test_service_uuid, 'device_information', 'generic_access',
- 'heart_rate', 'human_interface_device']}))
- .then(device => device.gatt.connect())
- .then(gattServer => gattServer.getPrimaryServices())
- .then(services => {
- assert_equals(services.length, 4);
- assert_equals(services[0].uuid,
- BluetoothUUID.getService(blacklist_test_service_uuid));
- assert_equals(services[1].uuid,
- BluetoothUUID.getService('device_information'));
- assert_equals(services[2].uuid,
- BluetoothUUID.getService('generic_access'));
- assert_equals(services[3].uuid,
- BluetoothUUID.getService('heart_rate'));
- });
-}, 'Request for services. Does not return blacklisted service.');
-</script>

Powered by Google App Engine
This is Rietveld 408576698