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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.cpp

Issue 2607623002: Introduce RevalidationStartForbiddenScope (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/Resource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
index 3fb287d7626849b716fd197123fb20b798a47db1..91bc63f6a9e6bec5c9d69e802d8613f5697c6988 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -576,6 +576,7 @@ const ResourceRequest& Resource::lastResourceRequest() const {
void Resource::setRevalidatingRequest(const ResourceRequest& request) {
SECURITY_CHECK(m_redirectChain.isEmpty());
DCHECK(!request.isNull());
+ CHECK(!m_isRevalidationStartForbidden);
m_isRevalidating = true;
m_resourceRequest = request;
m_status = NotStarted;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698