4d23b9e031
* chore: bump chromium in DEPS to 644eb098aeffb5e799ab3571eac0d35fa24ef641 * chore: update chromium patches * chore: update v8 patches * chore: bump chromium in DEPS to 9eecb7a9f652bbf84f6437b49c70922b65b38bf3 * chore: update patches
21 lines
913 B
Diff
21 lines
913 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Cheng Zhao <zcbenz@gmail.com>
|
|
Date: Thu, 20 Sep 2018 17:48:16 -0700
|
|
Subject: no_cache_storage_check.patch
|
|
|
|
Do not check for unique origin in CacheStorage, in Electron we may have
|
|
scripts running without an origin.
|
|
|
|
diff --git a/content/browser/cache_storage/legacy/legacy_cache_storage.cc b/content/browser/cache_storage/legacy/legacy_cache_storage.cc
|
|
index a064cef489d6dbb86c1fd1da2bd2e918316326ed..9408cf6ec682bc917555a328926d0f57e49c61a1 100644
|
|
--- a/content/browser/cache_storage/legacy/legacy_cache_storage.cc
|
|
+++ b/content/browser/cache_storage/legacy/legacy_cache_storage.cc
|
|
@@ -104,7 +104,7 @@ class LegacyCacheStorage::CacheLoader {
|
|
cache_storage_(cache_storage),
|
|
origin_(origin),
|
|
owner_(owner) {
|
|
- DCHECK(!origin_.opaque());
|
|
+ // DCHECK(!origin_.opaque());
|
|
}
|
|
|
|
virtual ~CacheLoader() {}
|