Index: third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
index c540bdb4d4e9385232a6c0505daf52f7a81d5fb9..5070f4b8472b7f9bc013da39cf94f6f8ae3dab32 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
@@ -62,6 +62,8 @@ DOMException* BluetoothError::take(ScriptPromiseResolver*, const WebBluetoothErr |
// SecurityErrors: |
MAP_ERROR(GATTNotAuthorized, SecurityError, "GATT operation not authorized."); |
MAP_ERROR(BlacklistedCharacteristicUUID, SecurityError, "getCharacteristic(s) called with blacklisted UUID. https://goo.gl/4NeimX"); |
+ MAP_ERROR(BlacklistedRead, SecurityError, "readValue() called on blacklisted object marked exclude-reads. https://goo.gl/4NeimX"); |
+ MAP_ERROR(BlacklistedWrite, SecurityError, "writeValue() called on blacklisted object marked exclude-writes. https://goo.gl/4NeimX"); |
MAP_ERROR(NotAllowedToAccessService, SecurityError, "Origin is not allowed to access the service. Remember to add the service to a filter or to optionalServices in requestDevice()."); |
MAP_ERROR(RequestDeviceWithBlacklistedUUID, SecurityError, "requestDevice() called with a filter containing a blacklisted UUID. https://goo.gl/4NeimX"); |
MAP_ERROR(RequestDeviceWithUniqueOrigin, SecurityError, "requestDevice() called from sandboxed or otherwise unique origin."); |