Index: Source/modules/bluetooth/BluetoothError.cpp |
diff --git a/Source/modules/bluetooth/BluetoothError.cpp b/Source/modules/bluetooth/BluetoothError.cpp |
index 70c9884ee52b420c35dc2ae26027a8a86e933f98..f5176d6ecf073cc5fad3b826bc0dd934d0330603 100644 |
--- a/Source/modules/bluetooth/BluetoothError.cpp |
+++ b/Source/modules/bluetooth/BluetoothError.cpp |
@@ -16,6 +16,8 @@ DOMException* BluetoothError::take(ScriptPromiseResolver*, WebBluetoothError* we |
{ |
OwnPtr<WebBluetoothError> webError = adoptPtr(webErrorRawPointer); |
switch (webError->errorType) { |
+ case WebBluetoothError::NetworkError: |
+ return DOMException::create(NetworkError, webError->message); |
case WebBluetoothError::SecurityError: |
return DOMException::create(SecurityError, webError->message); |
case WebBluetoothError::NotFoundError: |