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

Unified Diff: LayoutTests/bluetooth/getPrimaryService.html

Issue 1315443007: bluetooth: Explain why standard names aren't recognized in error message. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge TOT Created 5 years, 4 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 | « LayoutTests/bluetooth/getCharacteristic.html ('k') | Source/modules/bluetooth/BluetoothUUID.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/getPrimaryService.html
diff --git a/LayoutTests/bluetooth/getPrimaryService.html b/LayoutTests/bluetooth/getPrimaryService.html
index 811b73eb6954f4db344fe73ab3579f9d3b434824..870ea7c8e2bb81c18c594fd7622716fd31dc907d 100644
--- a/LayoutTests/bluetooth/getPrimaryService.html
+++ b/LayoutTests/bluetooth/getPrimaryService.html
@@ -88,7 +88,13 @@ promise_test(() => {
name: 'SyntaxError',
message: 'Failed to execute \'getPrimaryService\' on ' +
'\'BluetoothGATTRemoteServer\': Invalid Service name: ' +
- '\'wrong_name\'.'
+ '\'wrong_name\'. ' +
+ 'It must be a valid UUID alias (e.g. 0x1234), ' +
+ 'UUID (lowercase hex characters e.g. ' +
+ '\'00001234-0000-1000-8000-00805f9b34fb\'), ' +
+ 'or recognized standard name from ' +
+ 'https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx' +
+ ' e.g. \'alert_notification\'.'
}, 'Wrong Service name passed.');
});
}, 'Wrong Service name. Reject with SyntaxError.');
« no previous file with comments | « LayoutTests/bluetooth/getCharacteristic.html ('k') | Source/modules/bluetooth/BluetoothUUID.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698