Dispatch an event on sandbox creation
* the goal is to be able to know when the sandbox is ready for mochitest in m-c
This commit is contained in:
parent
142f131ee1
commit
4ae9064d60
@ -1580,6 +1580,12 @@ const PDFViewerApplication = {
|
|||||||
URL: this.url,
|
URL: this.url,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (this.externalServices.isInAutomation) {
|
||||||
|
this.eventBus.dispatch("sandboxcreated", {
|
||||||
|
source: this,
|
||||||
|
});
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
this._destroyScriptingInstance();
|
this._destroyScriptingInstance();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user