chore: follow-up to roll 95.0.4612.5 (#30835)
* chore: enable v8 oilpan * chore: update patches * fix: network isolation key for preconnect requests * chore: update feat_expose_raw_response_headers_from_urlloader.patch
This commit is contained in:
parent
94ca57e296
commit
99c0a723fd
8 changed files with 315 additions and 20 deletions
|
@ -910,9 +910,10 @@ v8::Local<v8::Value> Session::NetLog(v8::Isolate* isolate) {
|
|||
static void StartPreconnectOnUI(ElectronBrowserContext* browser_context,
|
||||
const GURL& url,
|
||||
int num_sockets_to_preconnect) {
|
||||
url::Origin origin = url::Origin::Create(url);
|
||||
std::vector<predictors::PreconnectRequest> requests = {
|
||||
{url::Origin::Create(url), num_sockets_to_preconnect,
|
||||
net::NetworkIsolationKey::CreateTransient()}};
|
||||
net::NetworkIsolationKey(origin, origin)}};
|
||||
browser_context->GetPreconnectManager()->Start(url, requests);
|
||||
}
|
||||
|
||||
|
|
|
@ -279,9 +279,9 @@ SimpleURLLoaderWrapper::SimpleURLLoaderWrapper(
|
|||
request->trusted_params->url_loader_network_observer =
|
||||
std::move(url_loader_network_observer_remote);
|
||||
// Chromium filters headers using browser rules, while for net module we have
|
||||
// every header passed. Setting the following id will allow us to capture the
|
||||
// every header passed. The following setting will allow us to capture the
|
||||
// raw headers in the URLLoader.
|
||||
request->devtools_request_id = base::UnguessableToken::Create().ToString();
|
||||
request->report_raw_headers = true;
|
||||
// SimpleURLLoader wants to control the request body itself. We have other
|
||||
// ideas.
|
||||
auto request_body = std::move(request->request_body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue