summaryrefslogtreecommitdiffstats
path: root/mobile/android/modules/geckoview/GeckoViewTestUtils.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/modules/geckoview/GeckoViewTestUtils.sys.mjs')
-rw-r--r--mobile/android/modules/geckoview/GeckoViewTestUtils.sys.mjs7
1 files changed, 5 insertions, 2 deletions
diff --git a/mobile/android/modules/geckoview/GeckoViewTestUtils.sys.mjs b/mobile/android/modules/geckoview/GeckoViewTestUtils.sys.mjs
index a2ca252cdd..f0fdee5d81 100644
--- a/mobile/android/modules/geckoview/GeckoViewTestUtils.sys.mjs
+++ b/mobile/android/modules/geckoview/GeckoViewTestUtils.sys.mjs
@@ -24,12 +24,15 @@ export const GeckoViewTabUtil = {
if (subject.name === sessionId) {
Services.obs.removeObserver(
openingObserver,
- "geckoview-window-created"
+ "browser-delayed-startup-finished"
);
resolve(subject);
}
};
- Services.obs.addObserver(openingObserver, "geckoview-window-created");
+ Services.obs.addObserver(
+ openingObserver,
+ "browser-delayed-startup-finished"
+ );
});
try {