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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 1710283003: OOPIF: Handle cross-site frames being blocked by X-Frame-Options or CSP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 9c745023a8341d069a13aacd951f104faa4e2ffa..c81d87cc5905aa13d3cfe97cb398470a33b8aae9 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1989,6 +1989,12 @@ void WebLocalFrameImpl::loadData(const WebData& data, const WebString& mimeType,
static_cast<HistoryLoadType>(webHistoryLoadType));
}
+void WebLocalFrameImpl::cancelLoadAfterXFrameOptionsOrCSPDenied()
+{
+ ASSERT(frame());
+ frame()->cancelLoadAfterXFrameOptionsOrCSPDenied();
+}
+
bool WebLocalFrameImpl::isLoading() const
{
if (!frame() || !frame()->document())

Powered by Google App Engine
This is Rietveld 408576698