Andrey Lushnikov
1ba2b8540d
feat(network): introduce Response.remoteAddress() ( #3192 )
...
Closes #2171 .
2018-09-04 20:39:59 +01:00
Andrey Lushnikov
ce64ae22f4
test: add test for request interception with 302 after POST ( #3105 )
...
References #3089
2018-08-17 10:51:27 -07:00
Andrey Lushnikov
1931cb479e
feat(Chromium): roll Chromium to r579032 ( #2989 )
...
This patch rolls Chromium to r579032. The patch includes:
- https://crrev.com/577366 - DevTools: report redirect responses only if response interception is enabled
- https://crrev.com/577212 - DevTools: intercept requests resulting from redirects
- https://crrev.com/578934 - DevTools: Add a protocol method to insertText
Interception Logic in DevTools protocol has changed regarding redirects;
this patch migrates interceptions to dispatch "request" events based on
requestWillBeSent event.
2018-07-30 19:09:10 -07:00
Andrey Lushnikov
5bcb7cf512
test: add test with request interception and cookies ( #2988 )
...
Fixes #2970 .
2018-07-30 19:05:19 -07:00
Andrey Lushnikov
2c9599496a
test: make sure referer header is reported with request interception ( #2986 )
...
The referer header has been fixed some time ago.
References #469 .
2018-07-30 18:05:27 -07:00
Andrey Lushnikov
724fa512cf
feat(network): introduce Request.isNavigationRequest() method ( #2633 )
...
This patch introduces `Request.isNavigationRequest()` method.
Fixes #2627 , #1132 .
2018-05-31 17:38:30 -07:00
Andrey Lushnikov
eded38c82a
test: verify file url interception works as expected ( #2451 )
...
This was fixed upstream: https://crrev.com/550319
Rolled into pptr: https://github.com/GoogleChrome/puppeteer/pull/2393
Fixes #1506 .
2018-04-26 13:32:23 -07:00
Andrey Lushnikov
04991ad025
test: consolidate network tests in one file ( #2355 )
2018-04-11 15:25:42 -07:00
Andrey Lushnikov
f8cba455ba
fix(Network): explicitly throw on content request for redirect response ( #2352 )
...
DevTools protocol doesn't support returning body of redirect responses.
We should explicitly throw in this case.
References #1896 .
2018-04-10 20:22:18 -07:00
Andrey Lushnikov
06d61919ef
test: refactor utils.waitForEvents into utils.waitEvent ( #2336 )
...
This simplifies waiting for events in tests.
2018-04-09 15:46:05 -07:00
Yaniv Efraim
47481967c5
test: Break 'page.spec.js' to smaller files ( #2218 )
...
This patch breaks huge `page.spec.js` into a bunch of smaller files.
2018-03-19 20:00:12 -07:00