Lines Matching defs:exceptionState

51 String Storage::anonymousIndexedGetter(unsigned index, ExceptionState& exceptionState)
53 return anonymousNamedGetter(AtomicString::number(index), exceptionState);
56 String Storage::anonymousNamedGetter(const AtomicString& name, ExceptionState& exceptionState)
58 bool found = contains(name, exceptionState);
59 if (exceptionState.hadException() || !found)
61 String result = getItem(name, exceptionState);
62 if (exceptionState.hadException())
67 bool Storage::anonymousNamedSetter(const AtomicString& name, const AtomicString& value, ExceptionState& exceptionState)
69 setItem(name, value, exceptionState);
73 bool Storage::anonymousIndexedSetter(unsigned index, const AtomicString& value, ExceptionState& exceptionState)
75 return anonymousNamedSetter(AtomicString::number(index), value, exceptionState);
78 DeleteResult Storage::anonymousNamedDeleter(const AtomicString& name, ExceptionState& exceptionState)
80 bool found = contains(name, exceptionState);
83 if (exceptionState.hadException())
85 removeItem(name, exceptionState);
86 if (exceptionState.hadException())
91 DeleteResult Storage::anonymousIndexedDeleter(unsigned index, ExceptionState& exceptionState)
93 DeleteResult result = anonymousNamedDeleter(AtomicString::number(index), exceptionState);
97 void Storage::namedPropertyEnumerator(Vector<String>& names, ExceptionState& exceptionState)
99 unsigned length = this->length(exceptionState);
100 if (exceptionState.hadException())
104 String key = this->key(i, exceptionState);
105 if (exceptionState.hadException())
108 String val = getItem(key, exceptionState);
109 if (exceptionState.hadException())
115 bool Storage::namedPropertyQuery(const AtomicString& name, ExceptionState& exceptionState)
119 bool found = contains(name, exceptionState);
120 if (exceptionState.hadException() || !found)