2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-21 00:30:26 +00:00
|
|
|
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.
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/content/browser/cache_storage/cache_storage.cc b/content/browser/cache_storage/cache_storage.cc
|
2019-01-16 18:07:52 +00:00
|
|
|
index 1c638d8f4b3b3be83d64febf297699161c4a3cf3..56f88da0a43d3114918cbca1f1982fff2fdc0bb3 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/content/browser/cache_storage/cache_storage.cc
|
|
|
|
+++ b/content/browser/cache_storage/cache_storage.cc
|
2019-01-16 18:07:52 +00:00
|
|
|
@@ -131,7 +131,7 @@ class CacheStorage::CacheLoader {
|
2018-09-14 05:02:16 +00:00
|
|
|
cache_storage_(cache_storage),
|
2018-09-14 18:03:43 +00:00
|
|
|
origin_(origin),
|
|
|
|
owner_(owner) {
|
2019-01-12 01:00:43 +00:00
|
|
|
- DCHECK(!origin_.opaque());
|
|
|
|
+ // DCHECK(!origin_.opaque());
|
2018-09-14 05:02:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
virtual ~CacheLoader() {}
|