| Index: sky/engine/core/dom/ExecutionContext.cpp
|
| diff --git a/sky/engine/core/dom/ExecutionContext.cpp b/sky/engine/core/dom/ExecutionContext.cpp
|
| index 659d0a58f5fdc64902742f262bdb8eb6e0d234c1..064016fc007df28ae6a8d9c6709bfdee1b31d7ea 100644
|
| --- a/sky/engine/core/dom/ExecutionContext.cpp
|
| +++ b/sky/engine/core/dom/ExecutionContext.cpp
|
| @@ -93,11 +93,6 @@ void ExecutionContext::suspendActiveDOMObjectIfNeeded(ActiveDOMObject* object)
|
| object->suspend();
|
| }
|
|
|
| -bool ExecutionContext::shouldSanitizeScriptError(const String& sourceURL)
|
| -{
|
| - return false;
|
| -}
|
| -
|
| void ExecutionContext::reportException(PassRefPtr<ErrorEvent> event, int scriptId, PassRefPtr<ScriptCallStack> callStack)
|
| {
|
| RefPtr<ErrorEvent> errorEvent = event;
|
| @@ -139,9 +134,6 @@ bool ExecutionContext::dispatchErrorEvent(PassRefPtr<ErrorEvent> event)
|
| return false;
|
|
|
| RefPtr<ErrorEvent> errorEvent = event;
|
| - if (shouldSanitizeScriptError(errorEvent->filename()))
|
| - errorEvent = ErrorEvent::createSanitizedError(errorEvent->world());
|
| -
|
| ASSERT(!m_inDispatchErrorEvent);
|
| m_inDispatchErrorEvent = true;
|
| target->dispatchEvent(errorEvent);
|
|
|