feat(firefox): bump to 1259 (#6510)

This commit is contained in:
Yury Semikhatsky 2021-05-12 16:03:15 +00:00 committed by GitHub
parent 84031d4a07
commit ab55918979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View file

@ -8,7 +8,7 @@
}, },
{ {
"name": "firefox", "name": "firefox",
"revision": "1258", "revision": "1259",
"installByDefault": true "installByDefault": true
}, },
{ {

View file

@ -151,7 +151,7 @@ export class FFPage implements PageDelegate {
_onExecutionContextCreated(payload: Protocol.Runtime.executionContextCreatedPayload) { _onExecutionContextCreated(payload: Protocol.Runtime.executionContextCreatedPayload) {
const {executionContextId, auxData} = payload; const {executionContextId, auxData} = payload;
const frame = this._page._frameManager.frame(auxData ? auxData.frameId : null); const frame = this._page._frameManager.frame(auxData.frameId!);
if (!frame) if (!frame)
return; return;
const delegate = new FFExecutionContext(this._session, executionContextId); const delegate = new FFExecutionContext(this._session, executionContextId);

View file

@ -205,6 +205,7 @@ export module Protocol {
export type addScriptToEvaluateOnNewDocumentReturnValue = void; export type addScriptToEvaluateOnNewDocumentReturnValue = void;
export type addBindingParameters = { export type addBindingParameters = {
browserContextId?: string; browserContextId?: string;
worldName?: string;
name: string; name: string;
script: string; script: string;
}; };
@ -456,6 +457,7 @@ export module Protocol {
}; };
export type setFileInputFilesReturnValue = void; export type setFileInputFilesReturnValue = void;
export type addBindingParameters = { export type addBindingParameters = {
worldName?: string;
name: string; name: string;
script: string; script: string;
}; };
@ -699,7 +701,10 @@ export module Protocol {
}; };
export type executionContextCreatedPayload = { export type executionContextCreatedPayload = {
executionContextId: string; executionContextId: string;
auxData: any; auxData: {
frameId?: string;
name?: string;
};
} }
export type executionContextDestroyedPayload = { export type executionContextDestroyedPayload = {
executionContextId: string; executionContextId: string;