Index: third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/invalid-characteristic-name.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/invalid-characteristic-name.html b/third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/invalid-characteristic-name.html |
index 7d30be367cb1b089ea5c83f6901a75ceedecba8a..ea1eada7656702c0f035dfc26cee9cceb1c4f70b 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/invalid-characteristic-name.html |
+++ b/third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/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.'); |
}); |
-}, 'Wrong Characteristic name. Reject with SyntaxError.'); |
+}, 'Wrong Characteristic name. Reject with TypeError.'); |
</script> |