feat(firefox): roll Firefox to 765beffc (#4156)

This roll fixes flaky request interception in Firefox and moves
`Page.console` event to the Runtime domain.
This commit is contained in:
Andrey Lushnikov 2019-03-11 17:56:16 -07:00 committed by GitHub
parent 42351c7fe5
commit e3a4f3411c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class Page extends EventEmitter {
this._networkManager.setFrameManager(this._frameManager); this._networkManager.setFrameManager(this._frameManager);
this._eventListeners = [ this._eventListeners = [
helper.addEventListener(this._session, 'Page.uncaughtError', this._onUncaughtError.bind(this)), helper.addEventListener(this._session, 'Page.uncaughtError', this._onUncaughtError.bind(this)),
helper.addEventListener(this._session, 'Page.console', this._onConsole.bind(this)), helper.addEventListener(this._session, 'Runtime.console', this._onConsole.bind(this)),
helper.addEventListener(this._session, 'Page.dialogOpened', this._onDialogOpened.bind(this)), helper.addEventListener(this._session, 'Page.dialogOpened', this._onDialogOpened.bind(this)),
helper.addEventListener(this._session, 'Page.bindingCalled', this._onBindingCalled.bind(this)), helper.addEventListener(this._session, 'Page.bindingCalled', this._onBindingCalled.bind(this)),
helper.addEventListener(this._frameManager, Events.FrameManager.Load, () => this.emit(Events.Page.Load)), helper.addEventListener(this._frameManager, Events.FrameManager.Load, () => this.emit(Events.Page.Load)),

View File

@ -9,7 +9,7 @@
"node": ">=8.9.4" "node": ">=8.9.4"
}, },
"puppeteer": { "puppeteer": {
"firefox_revision": "d152aecb47c733342b7a8691e899f7b2981ef797" "firefox_revision": "765beffcf39dc68cb2005b2b5343e283e26df7a3"
}, },
"scripts": { "scripts": {
"install": "node install.js", "install": "node install.js",