use space as separator

This commit is contained in:
Carmelo Messina 2022-07-13 17:04:07 +02:00
parent 10247f9b65
commit 216f4ce5c0
No known key found for this signature in database
GPG key ID: 968894BE688289FD

View file

@ -1,5 +1,5 @@
From: uazo <uazo@users.noreply.github.com>
Date: Wed, 6 Jul 2022 10:15:20 +0000
Date: Wed, 13 Jul 2022 14:51:09 +0000
Subject: Partitioning Blink memory cache
---
@ -160,11 +160,11 @@ diff --git a/third_party/blink/renderer/platform/loader/fetch/resource_fetcher.c
if (properties_->GetControllerServiceWorkerMode() !=
mojom::ControllerServiceWorkerMode::kNoController) {
- return String::Number(properties_->ServiceWorkerId());
+ return origin_url + "_" + String::Number(properties_->ServiceWorkerId());
+ return origin_url + " " + String::Number(properties_->ServiceWorkerId());
}
if (properties_->WebBundlePhysicalUrl().IsValid())
- return properties_->WebBundlePhysicalUrl().GetString();
+ return origin_url + "_" + properties_->WebBundlePhysicalUrl().GetString();
+ return origin_url + " " + properties_->WebBundlePhysicalUrl().GetString();
// Requests that can be satisfied via `archive_` (i.e. MHTML) or
// `subresource_web_bundles_` should not participate in the global caching,