summaryrefslogtreecommitdiffstats
path: root/dom/events/test/test_accesskey.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/events/test/test_accesskey.html')
-rw-r--r--dom/events/test/test_accesskey.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/events/test/test_accesskey.html b/dom/events/test/test_accesskey.html
index cdfff54a28..4d382f2270 100644
--- a/dom/events/test/test_accesskey.html
+++ b/dom/events/test/test_accesskey.html
@@ -143,7 +143,7 @@ add_task(async function modifyAccessKey() {
add_task(async function file_picker() {
const file = document.getElementById("file");
const MockFilePicker = SpecialPowers.MockFilePicker;
- MockFilePicker.init(window);
+ MockFilePicker.init(SpecialPowers.wrap(window).browsingContext);
MockFilePicker.returnValue = MockFilePicker.returnCancel;
let clicked = false;