puppeteer/test
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
..
assets fix(ElementHandle): teach ElementHandle to work with shadowdom (#1227) 2017-10-31 12:02:16 -07:00
golden feat(interception): Implement request.mockResponse method (#1064) 2017-10-20 16:55:15 -07:00
server [api] Implement page.authenticate method (#729) 2017-09-11 16:32:13 -07:00
diffstyle.css Implement FrameManager 2017-06-21 14:11:52 -07:00
frame-utils.js Remove promise jsdoc (#641) 2017-08-31 17:58:07 -07:00
golden-utils.js chore(doclint): move doclint tests expectations into test folders (#932) 2017-10-02 11:37:16 -07:00
test.js fix(Navigation): do not race with security error for navigation (#1237) 2017-11-01 13:28:00 -07:00