Temporarily remove support for shared workers

This commit is contained in:
Carmelo Messina
2023-10-11 11:46:55 +01:00
committed by uazo
parent 779a26d6e3
commit b8c5d9758e
2 changed files with 31 additions and 0 deletions
+2
View File
@@ -277,7 +277,9 @@ Timezone-customization.patch
00Partition-MediaDeviceId-by-default.patch
00Keep-disabled-FetchLaterAPI.patch
00Disable-ranker-url-fetcher.patch
00Temp-PerformanceNavigationTiming-privacy-fix.patch
00Temp-remove-support-for-shared-workers.patch
00Temp-Disable-kAutomaticLazyFrameLoadingToEmbeds.patch
00Temp-disable-predictive-back-gesture.patch
@@ -0,0 +1,29 @@
From: uazo <uazo@users.noreply.github.com>
Date: Wed, 11 Oct 2023 10:33:02 +0000
Subject: Temp remove support for shared workers
Due to bugid 1147281 and 1490268 temporarily remove
support for shared workers (active only in desktops)
Ref
https://bugs.chromium.org/p/chromium/issues/detail?id=1147281
https://bugs.chromium.org/p/chromium/issues/detail?id=1490268
Test with https://worker-playground.glitch.me/
---
chrome/browser/chrome_content_browser_client.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -3150,6 +3150,7 @@ bool ChromeContentBrowserClient::AllowSharedWorker(
content::BrowserContext* context,
int render_process_id,
int render_frame_id) {
+ if ((true)) return false;
DCHECK_CURRENTLY_ON(BrowserThread::UI);
// Check if cookies are allowed.
--
2.25.1