test: Fixed startup tests not initializing l10n correctly, b=no-bug, c=common

This commit is contained in:
Mr. M
2025-08-03 12:51:36 +02:00
parent a7874ca46e
commit f4cec5f210

View File

@@ -7,7 +7,12 @@
isReady: false,
init() {
async init() {
// important: We do this to ensure that some firefox components
// are initialized before we start our own initialization.
// please, do not remove this line and if you do, make sure to
// test the startup process.
await new Promise((resolve) => resolve());
this.openWatermark();
this._initBrowserBackground();
this._changeSidebarLocation();