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

Unified Diff: LayoutTests/bluetooth/getPrimaryService.html

Issue 1164393004: bluetooth: Layout tests for bluetooth error messages (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@bluetooth-read-value-impl
Patch Set: Fix error message test since message on browser side changed. Created 5 years, 6 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
« no previous file with comments | « LayoutTests/bluetooth/getCharacteristic.html ('k') | LayoutTests/bluetooth/readValue.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/bluetooth/getPrimaryService.html
diff --git a/LayoutTests/bluetooth/getPrimaryService.html b/LayoutTests/bluetooth/getPrimaryService.html
index aa7b3d821830dbd20ef4aa44038587c4d8f26aaf..49c7bce2f8344116d2abeb2664537f256e64fe03 100644
--- a/LayoutTests/bluetooth/getPrimaryService.html
+++ b/LayoutTests/bluetooth/getPrimaryService.html
@@ -19,6 +19,7 @@ sequential_promise_test(function() {
assert_unreached('Should return error if device not in adapter.');
}, function(e) {
assert_equals(e.name, "NetworkError");
+ assert_equals(e.message, 'Bluetooth Device is no longer in range.');
});
});
}, 'Device goes out of range. Reject with NetworkError.');
« no previous file with comments | « LayoutTests/bluetooth/getCharacteristic.html ('k') | LayoutTests/bluetooth/readValue.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698