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

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

Issue 19564003: Populate cross-origin location access SecurityError messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: Source/bindings/v8/V8Binding.cpp
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp
index c16f74ae3245c2764ed5ea45f4731a9eff974060..74d9479d0823c28fc0c93242e0918c198af0549a 100644
--- a/Source/bindings/v8/V8Binding.cpp
+++ b/Source/bindings/v8/V8Binding.cpp
@@ -72,6 +72,11 @@ v8::Handle<v8::Value> setDOMException(int exceptionCode, v8::Isolate* isolate)
return V8ThrowException::throwDOMException(exceptionCode, isolate);
}
+v8::Handle<v8::Value> setDOMException(int exceptionCode, const char* message, v8::Isolate* isolate)
+{
+ return V8ThrowException::throwDOMException(exceptionCode, message, isolate);
+}
+
v8::Handle<v8::Value> throwError(V8ErrorType errorType, const char* message, v8::Isolate* isolate)
{
return V8ThrowException::throwError(errorType, message, isolate);

Powered by Google App Engine
This is Rietveld 408576698