Home | History | Annotate | Download | only in inspector

Lines Matching defs:exceptionState

33 #include "bindings/v8/ExceptionState.h"
55 static bool hadException(ExceptionState& exceptionState, ErrorString* errorString)
57 if (!exceptionState.hadException())
60 switch (exceptionState.code()) {
124 TrackExceptionState exceptionState;
125 for (unsigned i = 0; i < storageArea->length(exceptionState, frame); ++i) {
126 String name(storageArea->key(i, exceptionState, frame));
127 if (hadException(exceptionState, errorString))
129 String value(storageArea->getItem(name, exceptionState, frame));
130 if (hadException(exceptionState, errorString))
140 static String toErrorString(ExceptionState& exceptionState)
142 if (exceptionState.hadException())
143 return DOMException::getErrorName(exceptionState.code());
156 TrackExceptionState exceptionState;
157 storageArea->setItem(key, value, exceptionState, frame);
158 *errorString = toErrorString(exceptionState);
170 TrackExceptionState exceptionState;
171 storageArea->removeItem(key, exceptionState, frame);
172 *errorString = toErrorString(exceptionState);