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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryServices/services-not-found-with-uuid.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/getPrimaryServices/services-not-found-with-uuid.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryServices/services-not-found-with-uuid.html b/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryServices/services-not-found-with-uuid.html
index 688813e6a9cb02a31e9d0a6c0c57920c861e1ef0..4b41012793255a782e521199473e0b0845599bdf 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryServices/services-not-found-with-uuid.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryServices/services-not-found-with-uuid.html
@@ -12,7 +12,7 @@ promise_test(() => {
.then(device => device.gatt.connect())
.then(gattServer => assert_promise_rejects_with_message(
gattServer.getPrimaryServices('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