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

Unified Diff: Source/bindings/v8/ExceptionStatePlaceholder.cpp

Issue 22985006: Throw an exception when denying access to 'Frame's 'location' setter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « Source/bindings/v8/ExceptionStatePlaceholder.h ('k') | Source/bindings/v8/V8Initializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ExceptionStatePlaceholder.cpp
diff --git a/Source/bindings/v8/ExceptionStatePlaceholder.cpp b/Source/bindings/v8/ExceptionStatePlaceholder.cpp
index 3c14826d4e1133e5efd3cf7a04e65c4a5f279a64..c1b56fd8415d365621b656239fa1ebd72e5fba7b 100644
--- a/Source/bindings/v8/ExceptionStatePlaceholder.cpp
+++ b/Source/bindings/v8/ExceptionStatePlaceholder.cpp
@@ -50,6 +50,11 @@ void NoExceptionStateAssertionChecker::throwTypeError(const String&)
ASSERT_AT(false, m_file, m_line, "");
}
+void NoExceptionStateAssertionChecker::throwSecurityError(const String&, const String&)
+{
+ ASSERT_AT(false, m_file, m_line, "");
+}
+
#endif
} // namespace WebCore
« no previous file with comments | « Source/bindings/v8/ExceptionStatePlaceholder.h ('k') | Source/bindings/v8/V8Initializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698