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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/requestDevice/blacklisted-service-in-optionalServices.html

Issue 2048933005: bluetooth: Improve NOT_ALLOWED_TO_ACCESS_SERVICE error message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update tests Created 4 years, 6 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/blacklisted-service-in-optionalServices.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/blacklisted-service-in-optionalServices.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/blacklisted-service-in-optionalServices.html
index fa814db34b91b19d38b0455ab920b7da3bd83566..18f7efdc1575e7e3e70b9918f56ff246ca13bdd4 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/blacklisted-service-in-optionalServices.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/blacklisted-service-in-optionalServices.html
@@ -5,10 +5,11 @@
<script>
'use strict';
promise_test(() => {
- let expected = new DOMException(
- 'Origin is not allowed to access the service. Remember to add the ' +
- 'service to a filter or to optionalServices in requestDevice().',
- 'SecurityError');
+ let expected = new DOMException('Origin is not allowed to access the ' +
+ 'service. Tip: Add the service UUID to ' +
+ '\'optionalServices\' in requestDevice() ' +
+ 'options. https://goo.gl/HxfxSQ',
+ 'SecurityError');
return setBluetoothFakeAdapter('BlacklistTestAdapter')
.then(() => requestDeviceWithKeyDown({
filters: [{services: [blacklist_test_service_uuid]}],

Powered by Google App Engine
This is Rietveld 408576698