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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/delayed-discovery-no-permission-absent-service.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/delayed-discovery-no-permission-present-service.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/delayed-discovery-no-permission-absent-service.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/delayed-discovery-no-permission-absent-service.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/delayed-discovery-no-permission-absent-service.html
index a7fd196e97b8776ec2d6a1740583f6af26dc5a0b..9d95acde6b8b979cc2a68ae03fec389b2deeabd1 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/delayed-discovery-no-permission-absent-service.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/delayed-discovery-no-permission-absent-service.html
@@ -6,9 +6,9 @@
'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().',
+ 'service. Tip: Add the service UUID to ' +
+ '\'optionalServices\' in requestDevice() ' +
+ 'options. https://goo.gl/HxfxSQ',
'SecurityError');
return setBluetoothFakeAdapter('DelayedServicesDiscoveryAdapter')
.then(() => requestDeviceWithKeyDown({
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/bluetooth/getPrimaryService/delayed-discovery-no-permission-present-service.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698