Lines Matching defs:exceptionState
34 #include "bindings/v8/ExceptionState.h"
221 String InspectorDOMAgent::toErrorString(ExceptionState& exceptionState)
223 if (exceptionState.hadException())
224 return DOMException::getErrorName(exceptionState.code()) + " " + exceptionState.message();
606 TrackExceptionState exceptionState;
607 RefPtrWillBeRawPtr<Element> element = toContainerNode(node)->querySelector(AtomicString(selectors), exceptionState);
608 if (exceptionState.hadException()) {
623 TrackExceptionState exceptionState;
624 RefPtrWillBeRawPtr<StaticNodeList> nodes = toContainerNode(node)->querySelectorAll(AtomicString(selectors), exceptionState);
625 if (exceptionState.hadException()) {
775 TrackExceptionState exceptionState;
776 RefPtrWillBeRawPtr<Element> newElem = oldNode->document().createElement(AtomicString(tagName), exceptionState);
777 if (exceptionState.hadException())
1014 TrackExceptionState exceptionState;
1015 RefPtrWillBeRawPtr<XPathResult> result = DocumentXPathEvaluator::evaluate(*document, whitespaceTrimmedQuery, document, nullptr, XPathResult::ORDERED_NODE_SNAPSHOT_TYPE, 0, exceptionState);
1016 if (exceptionState.hadException() || !result)
1019 unsigned long size = result->snapshotLength(exceptionState);
1020 for (unsigned long i = 0; !exceptionState.hadException() && i < size; ++i) {
1021 Node* node = result->snapshotItem(i, exceptionState);
1022 if (exceptionState.hadException())
1034 TrackExceptionState exceptionState;
1035 RefPtrWillBeRawPtr<StaticNodeList> nodeList = document->querySelectorAll(AtomicString(whitespaceTrimmedQuery), exceptionState);
1036 if (exceptionState.hadException() || !nodeList)
1308 TrackExceptionState exceptionState;
1309 m_history->undo(exceptionState);
1310 *errorString = InspectorDOMAgent::toErrorString(exceptionState);
1315 TrackExceptionState exceptionState;
1316 m_history->redo(exceptionState);
1317 *errorString = InspectorDOMAgent::toErrorString(exceptionState);