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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/script-tests/service/disconnect-invalidates-objects.js

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/script-tests/service/disconnect-invalidates-objects.js
diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/service/disconnect-invalidates-objects.js b/third_party/WebKit/LayoutTests/bluetooth/script-tests/service/disconnect-invalidates-objects.js
index bf7a8c8965735c9917def9ab650f6ae28673a0ce..10061f10e3ff4d00d3715f67a8ade0a3b21cd8d5 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/service/disconnect-invalidates-objects.js
+++ b/third_party/WebKit/LayoutTests/bluetooth/script-tests/service/disconnect-invalidates-objects.js
@@ -23,7 +23,8 @@ promise_test(() => {
let promises = Promise.resolve();
for (let characteristic of characteristics) {
let error = new DOMException(
- 'Characteristic is no longer valid. Remember to retrieve the ' +
+ 'Characteristic with UUID ' + characteristic.uuid +
+ ' is no longer valid. Remember to retrieve the ' +
'characteristic again after reconnecting.',
'InvalidStateError');
promises = promises.then(() =>

Powered by Google App Engine
This is Rietveld 408576698