puppeteer/lib
Andrey Lushnikov 9f071bf411
fix(Navigation): do not race with security error for navigation (#1237)
Currently, NavigationWatcher listens to lifecycle events from Page
domain and security events from Security domain.

However, the events are dispatched from different processes in browser:
- Page's lifecycle events are dispatched from renderer process
- Security events are dispatched from browser process

This makes for the undefined order between events and results in
NavigationWatcher reporting different failuer messages, based on
the event order.

This patch stops relying on security errors in navigation watcher and
instead switches to request failure codes for the main resource.

Fixes #1195
2017-11-01 13:28:00 -07:00
..
.eslintrc.js Introduce Eslint to validate style 2017-06-11 01:32:59 -07:00
Browser.js feat(Browser): introduce Browser.pages() (#554) 2017-10-17 19:14:57 -07:00
Connection.js fix(page): page.close() assert that connection is not closed (#1038) 2017-10-17 19:24:34 -07:00
Dialog.js chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
ElementHandle.js fix(ElementHandle): teach ElementHandle to work with shadowdom (#1227) 2017-10-31 12:02:16 -07:00
EmulationManager.js chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
ExecutionContext.js fix(page.evaluate): jsonValue should ignore toJSON property (#1098) 2017-10-20 10:45:49 -07:00
externs.d.ts chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
FrameManager.js fix(Navigation): do not race with security error for navigation (#1237) 2017-11-01 13:28:00 -07:00
helper.js fix: Remove synchronous operation with file system. (#879) 2017-10-11 00:55:48 -07:00
Input.js fix(touch): requestAnimationFrame before sending tap (#1142) 2017-10-26 14:53:50 -07:00
Launcher.js fix(Launcher): force-kill chrome on process exit and interruption (#1155) 2017-10-24 16:05:12 -07:00
Multimap.js chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
NavigatorWatcher.js fix(Navigation): do not race with security error for navigation (#1237) 2017-11-01 13:28:00 -07:00
NetworkManager.js fix(interception): Disable newtork caching when intercepting (#1154) 2017-10-24 15:14:25 -07:00
Page.js fix(Navigation): do not race with security error for navigation (#1237) 2017-11-01 13:28:00 -07:00
Puppeteer.js chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
Tracing.js fix: Remove synchronous operation with file system. (#879) 2017-10-11 00:55:48 -07:00
USKeyboardLayout.js feat(keyboard): Accept codes (#1116) 2017-10-23 12:43:45 -07:00