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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-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/blocklisted-services.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blacklisted-services.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-services.html
similarity index 79%
rename from third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blacklisted-services.html
rename to third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-services.html
index 7182ee4ac9dcba11e9f8b3a926acea9213646004..10e79ce12b8b952e036abcbd2fbec02f4845a45c 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blacklisted-services.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/blocklisted-services.html
@@ -5,18 +5,18 @@
<script>
'use strict';
promise_test(() => {
- return setBluetoothFakeAdapter('BlacklistTestAdapter')
+ return setBluetoothFakeAdapter('BlocklistTestAdapter')
.then(() => requestDeviceWithKeyDown({
filters: [{services: ['device_information']}],
optionalServices: [
- blacklist_test_service_uuid, 'device_information', 'generic_access',
+ blocklist_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));
+ BluetoothUUID.getService(blocklist_test_service_uuid));
assert_equals(services[1].uuid,
BluetoothUUID.getService('device_information'));
assert_equals(services[2].uuid,
@@ -24,5 +24,5 @@ promise_test(() => {
assert_equals(services[3].uuid,
BluetoothUUID.getService('heart_rate'));
});
-}, 'Request for services. Does not return blacklisted service.');
+}, 'Request for services. Does not return blocklisted service.');
</script>

Powered by Google App Engine
This is Rietveld 408576698