summaryrefslogtreecommitdiffstats
path: root/dom/html/test/test_bug500885.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/test/test_bug500885.html')
-rw-r--r--dom/html/test/test_bug500885.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/test/test_bug500885.html b/dom/html/test/test_bug500885.html
index 3ab9225a4c..5972ed171e 100644
--- a/dom/html/test/test_bug500885.html
+++ b/dom/html/test/test_bug500885.html
@@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=500885
<script type="text/javascript">
var MockFilePicker = SpecialPowers.MockFilePicker;
-MockFilePicker.init(window);
+MockFilePicker.init(SpecialPowers.wrap(window).browsingContext);
MockFilePicker.returnValue = MockFilePicker.returnOK;
async function test() {