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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/service-not-found.html

Issue 2680783002: bluetooth: show better error messages for services, characteristics and descriptors (Closed)
Patch Set: Added comment and changed to enum class. Created 3 years, 10 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/server/getPrimaryService/service-not-found.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/service-not-found.html b/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/service-not-found.html
index 09ab7b4b95a8aa65fc2d2ebfe34dbd210783c23c..51b6ce90efd7b14fcff972a55171b1c019485b69 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/service-not-found.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/service-not-found.html
@@ -12,7 +12,7 @@ promise_test(() => {
.then(device => device.gatt.connect())
.then(gattServer => assert_promise_rejects_with_message(
gattServer.getPrimaryService('glucose'),
- new DOMException('No Services with specified UUID found in Device.',
+ new DOMException('No Services matching UUID ' + glucose.uuid + ' found in Device.',
'NotFoundError')));
}, 'Request for absent service. Reject with NotFoundError.');
</script>

Powered by Google App Engine
This is Rietveld 408576698