mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(Chromium): roll Chromium to r518818 (#1455)
This roll includes: - crrev.com/518362 DevTools: override referrer policy for the request if referer header is overriden Fixes #1373.
This commit is contained in:
parent
770c17b2ea
commit
2becd156d0
@ -147,10 +147,10 @@ class NetworkManager extends EventEmitter {
|
||||
}).catch(debugError);
|
||||
}
|
||||
|
||||
if (event.redirectStatusCode) {
|
||||
if (event.redirectUrl) {
|
||||
const request = this._interceptionIdToRequest.get(event.interceptionId);
|
||||
console.assert(request, 'INTERNAL ERROR: failed to find request for interception redirect.');
|
||||
this._handleRequestRedirect(request, event.redirectStatusCode, event.redirectHeaders);
|
||||
this._handleRequestRedirect(request, event.responseStatusCode, event.responseHeaders);
|
||||
this._handleRequestStart(request._requestId, event.interceptionId, event.redirectUrl, event.resourceType, event.request);
|
||||
return;
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
||||
"ws": "^3.0.0"
|
||||
},
|
||||
"puppeteer": {
|
||||
"chromium_revision": "515411"
|
||||
"chromium_revision": "518818"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/debug": "0.0.30",
|
||||
|
Loading…
Reference in New Issue
Block a user