summaryrefslogtreecommitdiffstats
path: root/dom/events/test/test_use_split_keypress_event_model_on_old_Confluence.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/events/test/test_use_split_keypress_event_model_on_old_Confluence.html')
-rw-r--r--dom/events/test/test_use_split_keypress_event_model_on_old_Confluence.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/events/test/test_use_split_keypress_event_model_on_old_Confluence.html b/dom/events/test/test_use_split_keypress_event_model_on_old_Confluence.html
index 3898584b0a..43d8081606 100644
--- a/dom/events/test/test_use_split_keypress_event_model_on_old_Confluence.html
+++ b/dom/events/test/test_use_split_keypress_event_model_on_old_Confluence.html
@@ -39,7 +39,7 @@ SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(async function doTests() {
let iframe = document.getElementById("iframe");
let waitForCheckKeyPressEventModelEvent = new Promise(resolve => {
- SpecialPowers.addSystemEventListener(iframe.contentDocument, "CheckKeyPressEventModel", resolve, {once: true});
+ SpecialPowers.wrap(iframe.contentDocument).addEventListener("CheckKeyPressEventModel", resolve, {mozSystemGroup: true, once: true});
});
iframe.contentDocument.body.setAttribute("contenteditable", "true");
await waitForCheckKeyPressEventModelEvent;