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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/service/getCharacteristic/characteristic-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/service/getCharacteristic/characteristic-not-found.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/service/getCharacteristic/characteristic-not-found.html b/third_party/WebKit/LayoutTests/bluetooth/service/getCharacteristic/characteristic-not-found.html
index b16d10fc3f548e9eaf77090cc373c1cfc48addf7..dcbf0ab23a5d3637288bd2cf79c930dba271799f 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/service/getCharacteristic/characteristic-not-found.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/service/getCharacteristic/characteristic-not-found.html
@@ -14,7 +14,8 @@ promise_test(() => {
.then(service => assert_promise_rejects_with_message(
service.getCharacteristic('battery_level'),
new DOMException(
- 'No Characteristics with specified UUID found in Service.',
+ 'No Characteristics matching UUID ' + battery_level.uuid + ' found in Service with UUID ' +
+ generic_access.uuid + '.',
'NotFoundError')));
}, 'Request for absent characteristic. Reject with NotFoundError.');
</script>

Powered by Google App Engine
This is Rietveld 408576698