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

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

Issue 2502783004: Don't skip security checks for javascript: URLs when the JS stack is empty. (Closed)
Patch Set: Created 4 years, 1 month 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 301ace9bc21a34fd14a658e828301be4e732b014..eb78263f82ee8a4b869d68b3ae459d5123ce7927 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
@@ -124,8 +124,6 @@ class CORE_EXPORT ScriptController final
void enableEval();
void disableEval(const String& errorMessage);
- static bool canAccessFromCurrentOrigin(v8::Isolate*, Frame*);
-
void collectIsolatedContexts(
Vector<std::pair<ScriptState*, SecurityOrigin*>>&);

Powered by Google App Engine
This is Rietveld 408576698