aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bluetooth/bluetoothpermissionresult.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bluetooth/bluetoothpermissionresult.rs')
-rw-r--r--components/script/dom/bluetooth/bluetoothpermissionresult.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bluetooth/bluetoothpermissionresult.rs b/components/script/dom/bluetooth/bluetoothpermissionresult.rs
index 2a02936d5f7..583bc56febe 100644
--- a/components/script/dom/bluetooth/bluetoothpermissionresult.rs
+++ b/components/script/dom/bluetooth/bluetoothpermissionresult.rs
@@ -137,7 +137,7 @@ impl AsyncBluetoothListener for BluetoothPermissionResult {
// Step 8.
promise.resolve_native(self, can_gc);
},
- _ => promise.reject_error(Error::Type("Something went wrong...".to_owned())),
+ _ => promise.reject_error(Error::Type("Something went wrong...".to_owned()), can_gc),
}
}
}