Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp

Issue 1564913003: [DevTools] Shows Manifest file in Sources tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update network-toggle-type-filter-actual.txt Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
index c5b471a504914ffcbaa014f4e70ad4bea3f40203..32b90b90498e3cd818bbe621e89a8dfa7630971a 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
@@ -431,6 +431,7 @@ ResourceRequestBlockedReason FrameFetchContext::canRequestInternal(Resource::Typ
case Resource::TextTrack:
case Resource::ImportResource:
case Resource::Media:
+ case Resource::Manifest:
// By default these types of resources can be loaded from any origin.
// FIXME: Are we sure about Resource::Font?
if (originRestriction == FetchRequest::RestrictToSameOrigin && !securityOrigin->canRequest(url)) {
@@ -507,6 +508,7 @@ ResourceRequestBlockedReason FrameFetchContext::canRequestInternal(Resource::Typ
case Resource::Raw:
case Resource::LinkPrefetch:
case Resource::LinkSubresource:
+ case Resource::Manifest:
break;
case Resource::Media:
case Resource::TextTrack:

Powered by Google App Engine
This is Rietveld 408576698