Chromium Code Reviews

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/script-tests/server/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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/LayoutTests/bluetooth/script-tests/server/disconnect-invalidates-objects.js
diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/server/disconnect-invalidates-objects.js b/third_party/WebKit/LayoutTests/bluetooth/script-tests/server/disconnect-invalidates-objects.js
index 98454d4a20e43ca954e7fc171528014ec2ba472a..db410ed95dc814635e938739a951ed9711ab8984 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/server/disconnect-invalidates-objects.js
+++ b/third_party/WebKit/LayoutTests/bluetooth/script-tests/server/disconnect-invalidates-objects.js
@@ -23,7 +23,8 @@ promise_test(() => {
let promises = Promise.resolve();
for (let service of services) {
let error = new DOMException(
- 'Service is no longer valid. Remember to retrieve the service ' +
+ 'Service with UUID ' + service.uuid +
+ ' is no longer valid. Remember to retrieve the service ' +
'again after reconnecting.',
'InvalidStateError');
promises = promises.then(() =>

Powered by Google App Engine