Home | History | Annotate | Download | only in dom

Lines Matching refs:errorEvent

135 void ExecutionContext::reportException(PassRefPtrWillBeRawPtr<ErrorEvent> event, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack, AccessControlStatus corsStatus)
137 RefPtrWillBeRawPtr<ErrorEvent> errorEvent = event;
141 m_pendingExceptions->append(adoptPtrWillBeNoop(new PendingException(errorEvent->messageForConsole(), errorEvent->lineno(), errorEvent->colno(), errorEvent->filename(), callStack)));
146 if (!dispatchErrorEvent(errorEvent, corsStatus) && m_client)
147 m_client->logExceptionToConsole(errorEvent->messageForConsole(), errorEvent->filename(), errorEvent->lineno(), errorEvent->colno(), callStack);
174 bool ExecutionContext::dispatchErrorEvent(PassRefPtrWillBeRawPtr<ErrorEvent> event, AccessControlStatus corsStatus)
182 RefPtrWillBeRawPtr<ErrorEvent> errorEvent = event;
183 if (shouldSanitizeScriptError(errorEvent->filename(), corsStatus))
184 errorEvent = ErrorEvent::createSanitizedError(errorEvent->world());
188 target->dispatchEvent(errorEvent);
190 return errorEvent->defaultPrevented();