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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptController.h

Issue 1718403002: Fix security checks when navigating remote frames to javascript: URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix check 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/bindings/core/v8/ScriptController.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
index 78a6ca909ccdbee9eaaef65a84c88c5db164c71e..c6fcf83e45c3738649a66f1267b30111e04a243d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
@@ -123,7 +123,7 @@ public:
void enableEval();
void disableEval(const String& errorMessage);
- static bool canAccessFromCurrentOrigin(LocalFrame*);
+ static bool canAccessFromCurrentOrigin(ExecutionContext&, Frame*);
static void setCaptureCallStackForUncaughtExceptions(v8::Isolate*, bool);
void collectIsolatedContexts(Vector<std::pair<ScriptState*, SecurityOrigin*>>&);

Powered by Google App Engine
This is Rietveld 408576698