Index: Source/bindings/v8/ExceptionState.h |
diff --git a/Source/bindings/v8/ExceptionState.h b/Source/bindings/v8/ExceptionState.h |
index 36a785758dcce0fc0f1193a8b75fc408f1d59277..abe2aa9c417837a55794cf5a6cb635e90615080e 100644 |
--- a/Source/bindings/v8/ExceptionState.h |
+++ b/Source/bindings/v8/ExceptionState.h |
@@ -50,6 +50,7 @@ public: |
virtual void throwDOMException(const ExceptionCode&, const String& message = String()); |
virtual void throwTypeError(const String& message = String()); |
+ virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()); |
bool hadException() const { return !m_exception.isEmpty() || m_code; } |
void clearException(); |
@@ -83,6 +84,7 @@ public: |
TrackExceptionState(): ExceptionState(0) { } |
virtual void throwDOMException(const ExceptionCode&, const String& message = String()) OVERRIDE FINAL; |
virtual void throwTypeError(const String& message = String()) OVERRIDE FINAL; |
+ virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) OVERRIDE FINAL; |
}; |
} // namespace WebCore |