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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Re-block data to data navigations, rebase, address nasko comments Created 3 years, 8 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/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index 50ca1783ec87e94b5f802cec29fc30a641c96899..1f0556144fc3b2c28158c5b73b18c2ecd82284ea 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -98,6 +98,7 @@ class CORE_EXPORT FrameLoader final {
HistoryLoadType = HistoryDifferentDocumentLoad);
static void reportLocalLoadFailed(LocalFrame*, const String& url);
+ static void reportTopLevelNavigationFailed(LocalFrame*, const String& url);
// Warning: stopAllLoaders can and will detach the LocalFrame out from under
// you. All callers need to either protect the LocalFrame or guarantee they

Powered by Google App Engine
This is Rietveld 408576698