summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/tests/test_bug674770-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/tests/test_bug674770-1.html')
-rw-r--r--editor/libeditor/tests/test_bug674770-1.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/libeditor/tests/test_bug674770-1.html b/editor/libeditor/tests/test_bug674770-1.html
index 0b6089e0ef..d8e792ccd2 100644
--- a/editor/libeditor/tests/test_bug674770-1.html
+++ b/editor/libeditor/tests/test_bug674770-1.html
@@ -55,7 +55,7 @@ function startTests() {
SimpleTest.executeSoon(runNextTest);
}, false);
- SpecialPowers.addSystemEventListener(window, "auxclick", function(aEvent) {
+ SpecialPowers.wrap(window).addEventListener("auxclick", function(aEvent) {
// When the click event should cause default action, e.g., opening the link,
// the event shouldn't have been consumed except the link handler.
// However, in e10s mode, it's not consumed during propagating the event but
@@ -74,7 +74,7 @@ function startTests() {
// In this case, "storage" event won't be fired.
SimpleTest.executeSoon(runNextTest);
}
- }, false);
+ }, { mozSystemGroup: true });
SimpleTest.executeSoon(runNextTest);
}