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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/invalid-characteristic-name.html

Issue 2380843002: Throw a TypeError instead of a SyntaxError on invalid UUIDs. (Closed)
Patch Set: Created 4 years, 3 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/getCharacteristics/invalid-characteristic-name.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/invalid-characteristic-name.html b/third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/invalid-characteristic-name.html
index 98f046973033b29a66b6a9abed291c1b451e1f4f..79aef581248b2ea2248f44bd6524c20e7f9b5dcd 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/invalid-characteristic-name.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/invalid-characteristic-name.html
@@ -24,8 +24,8 @@ promise_test(() => {
'https://developer.bluetooth.org/gatt/characteristics/' +
'Pages/CharacteristicsHome.aspx' +
' e.g. \'aerobic_heart_rate_lower_limit\'.',
- 'SyntaxError'),
+ 'TypeError'),
'Wrong Characteristic name passed.');
});
-}, 'Invalid Characteristic name. Reject with SyntaxError.');
+}, 'Invalid Characteristic name. Reject with TypeError.');
</script>

Powered by Google App Engine
This is Rietveld 408576698