| Index: third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp
|
| index a310637937fce08613a05664960db749dd1ec0a4..fe50602608ce9a230a6ead4ad27f152cc401d04d 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.cpp
|
| @@ -60,7 +60,6 @@ void ExceptionState::throwDOMException(const ExceptionCode& ec, const String& me
|
| {
|
| ASSERT(ec);
|
| ASSERT(m_isolate);
|
| - ASSERT(!m_creationContext.IsEmpty());
|
|
|
| // SecurityError is thrown via ::throwSecurityError, and _careful_ consideration must be given to the data exposed to JavaScript via the 'sanitizedMessage'.
|
| ASSERT(ec != SecurityError);
|
| @@ -74,7 +73,6 @@ void ExceptionState::throwDOMException(const ExceptionCode& ec, const String& me
|
| void ExceptionState::throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage)
|
| {
|
| ASSERT(m_isolate);
|
| - ASSERT(!m_creationContext.IsEmpty());
|
| m_code = SecurityError;
|
| String finalSanitized = addExceptionContext(sanitizedMessage);
|
| m_message = finalSanitized;
|
|
|