Chromium Code Reviews| 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 560e4c1f33dfef972ed11ff1af153a8d1bfb8cac..d9104cdddd4b6011f6248c598d809c6889b3211c 100644 |
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
| @@ -62,6 +62,7 @@ DOMException* BluetoothError::take(ScriptPromiseResolver*, const WebBluetoothErr |
| // SecurityErrors: |
| MAP_ERROR(GATTNotAuthorized, SecurityError, "GATT operation not authorized."); |
| 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."); |
|
ortuno
2016/02/12 16:41:47
Should we add a link to the spec that explains why
scheib
2016/02/12 18:25:32
Done.
|
| MAP_ERROR(RequestDeviceWithUniqueOrigin, SecurityError, "requestDevice() called from sandboxed or otherwise unique origin."); |
| MAP_ERROR(RequestDeviceWithoutFrame, SecurityError, "No window to show the requestDevice() dialog."); |