Searched defs:exceptionState (Results 76 - 100 of 277) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DDictionaryHelperForCore.cpp484 static inline uint8_t toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
486 return toUInt8(value, configuration, exceptionState);
493 static inline int8_t toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
495 return toInt8(value, configuration, exceptionState);
502 static inline uint16_t toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
504 return toUInt16(value, configuration, exceptionState);
511 static inline int16_t toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
513 return toInt16(value, configuration, exceptionState);
520 static inline uint32_t toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
522 return toUInt32(value, configuration, exceptionState);
529 toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
538 toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
547 toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
556 toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
565 toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8BlobCustomHelpers.cpp70 bool ParsedProperties::parseBlobPropertyBag(v8::Local<v8::Value> propertyBag, const char* blobClassName, ExceptionState& exceptionState, v8::Isolate* isolate) argument
78 exceptionState.throwTypeError("The 'endings' property must be either 'transparent' or 'native'.");
88 exceptionState.throwDOMException(SyntaxError, "The 'type' property must consist of ASCII characters.");
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
H A DV8TestDictionary.cpp20 TestDictionary* V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, ExceptionState& exceptionState) argument
35 exceptionState.rethrowV8Exception(block.Exception());
42 exceptionState.rethrowV8Exception(block.Exception());
49 exceptionState.rethrowV8Exception(block.Exception());
56 exceptionState.throwTypeError("member enumMember ('" + string + "') is not a valid enum value.");
61 exceptionState.rethrowV8Exception(block.Exception());
68 exceptionState.rethrowV8Exception(block.Exception());
74 exceptionState.throwTypeError("member objectMember is not an object.");
79 exceptionState.rethrowV8Exception(block.Exception());
85 exceptionState
[all...]
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimationPlayerTest.cpp89 TrackExceptionState exceptionState; member in class:__anon10984::AnimationAnimationPlayerTest
286 player->finish(exceptionState);
297 player->finish(exceptionState);
303 player->finish(exceptionState);
480 player->finish(exceptionState);
485 player->finish(exceptionState);
489 EXPECT_FALSE(exceptionState.hadException());
495 player->finish(exceptionState);
503 player->finish(exceptionState);
511 player->finish(exceptionState);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSGroupingRule.cpp62 unsigned CSSGroupingRule::insertRule(const String& ruleString, unsigned index, ExceptionState& exceptionState) argument
67 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " must be less than or equal to the length of the rule list.");
75 exceptionState.throwDOMException(SyntaxError, "the rule '" + ruleString + "' is invalid and cannot be parsed.");
83 exceptionState.throwDOMException(HierarchyRequestError, "'@import' rules cannot be inserted inside a group rule.");
94 void CSSGroupingRule::deleteRule(unsigned index, ExceptionState& exceptionState) argument
99 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " is greated than the length of the rule list.");
H A DCSSMatrix.cpp48 CSSMatrix::CSSMatrix(const String& s, ExceptionState& exceptionState) argument
50 setMatrixValue(s, exceptionState);
53 void CSSMatrix::setMatrixValue(const String& string, ExceptionState& exceptionState) argument
68 exceptionState.throwDOMException(SyntaxError, "Failed to interpret '" + string + "' as a transformation operation.");
75 exceptionState.throwDOMException(SyntaxError, "The transformation depends on the box size, which is not supported.");
82 exceptionState.throwDOMException(SyntaxError, "Failed to parse '" + string + "'.");
95 PassRefPtrWillBeRawPtr<CSSMatrix> CSSMatrix::inverse(ExceptionState& exceptionState) const
98 exceptionState.throwDOMException(NotSupportedError, "The matrix is not invertable.");
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMTokenList.cpp35 bool DOMTokenList::validateToken(const String& token, ExceptionState& exceptionState) argument
38 exceptionState.throwDOMException(SyntaxError, "The token provided must not be empty.");
43 exceptionState.throwDOMException(InvalidCharacterError, "The token provided ('" + token + "') contains HTML space characters, which are not valid in tokens.");
50 bool DOMTokenList::validateTokens(const Vector<String>& tokens, ExceptionState& exceptionState) argument
53 if (!validateToken(tokens[i], exceptionState))
60 bool DOMTokenList::contains(const AtomicString& token, ExceptionState& exceptionState) const
62 if (!validateToken(token, exceptionState))
67 void DOMTokenList::add(const AtomicString& token, ExceptionState& exceptionState) argument
71 add(tokens, exceptionState);
76 void DOMTokenList::add(const Vector<String>& tokens, ExceptionState& exceptionState) argument
96 remove(const AtomicString& token, ExceptionState& exceptionState) argument
105 remove(const Vector<String>& tokens, ExceptionState& exceptionState) argument
124 toggle(const AtomicString& token, ExceptionState& exceptionState) argument
137 toggle(const AtomicString& token, bool force, ExceptionState& exceptionState) argument
[all...]
H A DNamedNodeMap.cpp59 PassRefPtrWillBeRawPtr<Node> NamedNodeMap::removeNamedItem(const AtomicString& name, ExceptionState& exceptionState) argument
63 exceptionState.throwDOMException(NotFoundError, "No item with name '" + name + "' was found.");
69 PassRefPtrWillBeRawPtr<Node> NamedNodeMap::removeNamedItemNS(const AtomicString& namespaceURI, const AtomicString& localName, ExceptionState& exceptionState) argument
73 exceptionState.throwDOMException(NotFoundError, "No item with name '" + namespaceURI + "::" + localName + "' was found.");
79 PassRefPtrWillBeRawPtr<Node> NamedNodeMap::setNamedItem(Node* node, ExceptionState& exceptionState) argument
82 exceptionState.throwDOMException(NotFoundError, "The node provided was null.");
88 exceptionState.throwDOMException(HierarchyRequestError, "The node provided is not an attribute node.");
92 return m_element->setAttributeNode(toAttr(node), exceptionState);
95 PassRefPtrWillBeRawPtr<Node> NamedNodeMap::setNamedItemNS(Node* node, ExceptionState& exceptionState) argument
97 return setNamedItem(node, exceptionState);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
H A DCustomElementRegistrationContext.cpp54 void CustomElementRegistrationContext::registerElement(Document* document, CustomElementConstructorBuilder* constructorBuilder, const AtomicString& type, CustomElement::NameSet validNames, ExceptionState& exceptionState) argument
56 CustomElementDefinition* definition = m_registry.registerElement(document, constructorBuilder, type, validNames, exceptionState);
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
H A DShadowRoot.h124 PassRefPtrWillBeRawPtr<Node> cloneNode(ExceptionState& exceptionState) { return cloneNode(true, exceptionState); } argument
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DBlob.cpp108 PassRefPtrWillBeRawPtr<Blob> Blob::slice(long long start, long long end, const String& contentType, ExceptionState& exceptionState) const
111 exceptionState.throwDOMException(InvalidStateError, "Blob has been closed.");
125 void Blob::close(ExecutionContext* executionContext, ExceptionState& exceptionState) argument
128 exceptionState.throwDOMException(InvalidStateError, "Blob has been closed.");
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DHistory.cpp130 void History::stateObjectAdded(PassRefPtr<SerializedScriptValue> data, const String& /* title */, const String& urlString, FrameLoadType type, ExceptionState& exceptionState) argument
138 exceptionState.throwSecurityError("A history state object with URL '" + fullURL.elidedString() + "' cannot be created in a document with origin '" + m_frame->document()->securityOrigin()->toString() + "'.");
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLDialogElement.cpp105 void HTMLDialogElement::close(const String& returnValue, ExceptionState& exceptionState) argument
108 exceptionState.throwDOMException(InvalidStateError, "The element does not have an 'open' attribute, and therefore cannot be closed.");
146 void HTMLDialogElement::showModal(ExceptionState& exceptionState) argument
149 exceptionState.throwDOMException(InvalidStateError, "The element already has an 'open' attribute, and therefore cannot be opened modally.");
153 exceptionState.throwDOMException(InvalidStateError, "The element is not in a Document.");
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorHistory.cpp90 bool InspectorHistory::perform(PassRefPtrWillBeRawPtr<Action> action, ExceptionState& exceptionState) argument
92 if (!action->perform(exceptionState))
110 bool InspectorHistory::undo(ExceptionState& exceptionState) argument
117 if (!action->undo(exceptionState)) {
129 bool InspectorHistory::redo(ExceptionState& exceptionState) argument
136 if (!action->redo(exceptionState)) {
/external/chromium_org/third_party/WebKit/Source/core/storage/
H A DStorage.cpp51 String Storage::anonymousIndexedGetter(unsigned index, ExceptionState& exceptionState) argument
53 return anonymousNamedGetter(AtomicString::number(index), exceptionState);
56 String Storage::anonymousNamedGetter(const AtomicString& name, ExceptionState& exceptionState) argument
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) argument
69 setItem(name, value, exceptionState);
73 bool Storage::anonymousIndexedSetter(unsigned index, const AtomicString& value, ExceptionState& exceptionState) argument
78 anonymousNamedDeleter(const AtomicString& name, ExceptionState& exceptionState) argument
91 anonymousIndexedDeleter(unsigned index, ExceptionState& exceptionState) argument
97 namedPropertyEnumerator(Vector<String>& names, ExceptionState& exceptionState) argument
115 namedPropertyQuery(const AtomicString& name, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/streams/
H A DReadableStreamImpl.h99 ScriptValue ReadableStreamImpl<ChunkTypeTraits>::read(ScriptState* scriptState, ExceptionState& exceptionState) argument
101 readPreliminaryCheck(exceptionState);
102 if (exceptionState.hadException())
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGEnumeration.cpp73 void SVGEnumerationBase::setValue(unsigned short value, ExceptionState& exceptionState)
76 exceptionState.throwTypeError("The enumeration value provided is 0, which is not settable.");
81 exceptionState.throwTypeError("The enumeration value provided (" + String::number(value) + ") is larger than the largest allowed value (" + String::number(maxExposedEnumValue()) + ").");
89 void SVGEnumerationBase::setValueAsString(const String& string, ExceptionState& exceptionState) argument
103 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
H A DSVGInteger.cpp54 void SVGInteger::setValueAsString(const String& string, ExceptionState& exceptionState) argument
65 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
H A DSVGLengthTearOff.cpp109 void SVGLengthTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) argument
112 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
117 exceptionState.throwDOMException(NotSupportedError, "Cannot set value with unknown or invalid units (" + String::number(unitType) + ").");
125 void SVGLengthTearOff::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState) argument
128 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
133 exceptionState.throwDOMException(NotSupportedError, "Cannot convert to unknown or invalid units (" + String::number(unitType) + ").");
138 target()->convertToSpecifiedUnits(toSVGLengthType(unitType), lengthContext, exceptionState); local
H A DSVGNumber.cpp70 void SVGNumber::setValueAsString(const String& string, ExceptionState& exceptionState) argument
89 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
120 void SVGNumberAcceptPercentage::setValueAsString(const String& string, ExceptionState& exceptionState) argument
125 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
H A DSVGNumberOptionalNumber.cpp70 void SVGNumberOptionalNumber::setValueAsString(const String& value, ExceptionState& exceptionState) argument
74 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + value + "') is invalid.");
H A DSVGStringListTearOff.h56 void clear(ExceptionState& exceptionState) argument
59 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
67 String initialize(const String& item, ExceptionState& exceptionState) argument
70 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
80 String getItem(unsigned long index, ExceptionState& exceptionState) argument
82 return target()->getItem(index, exceptionState);
85 String insertItemBefore(const String& item, unsigned long index, ExceptionState& exceptionState) argument
88 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
98 String replaceItem(const String& item, unsigned long index, ExceptionState& exceptionState) argument
101 exceptionState
111 anonymousIndexedSetter(unsigned index, const String& item, ExceptionState& exceptionState) argument
117 removeItem(unsigned long index, ExceptionState& exceptionState) argument
130 appendItem(const String& item, ExceptionState& exceptionState) argument
[all...]
H A DSVGTransformTearOff.cpp57 void SVGTransformTearOff::setMatrix(PassRefPtr<SVGMatrixTearOff> matrix, ExceptionState& exceptionState) argument
60 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
68 void SVGTransformTearOff::setTranslate(float tx, float ty, ExceptionState& exceptionState) argument
71 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
79 void SVGTransformTearOff::setScale(float sx, float sy, ExceptionState& exceptionState) argument
82 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
90 void SVGTransformTearOff::setRotate(float angle, float cx, float cy, ExceptionState& exceptionState) argument
93 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
101 void SVGTransformTearOff::setSkewX(float x, ExceptionState& exceptionState) argument
104 exceptionState
112 setSkewY(float y, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DWorker.cpp52 PassRefPtrWillBeRawPtr<Worker> Worker::create(ExecutionContext* context, const String& url, ExceptionState& exceptionState) argument
58 exceptionState.throwDOMException(InvalidAccessError, "The context provided is invalid.");
68 KURL scriptURL = worker->resolveURL(url, exceptionState);
92 void Worker::postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) argument
96 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState);
97 if (exceptionState.hadException())
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathResult.cpp75 void XPathResult::convertTo(unsigned short type, ExceptionState& exceptionState) argument
98 exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to the desired type.");
105 exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to the desired type.");
113 exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to the desired type.");
127 double XPathResult::numberValue(ExceptionState& exceptionState) const
130 exceptionState.throwTypeError("The result type is not a number.");
136 String XPathResult::stringValue(ExceptionState& exceptionState) const
139 exceptionState.throwTypeError("The result type is not a string.");
145 bool XPathResult::booleanValue(ExceptionState& exceptionState) const
148 exceptionState
186 iterateNext(ExceptionState& exceptionState) argument
208 snapshotItem(unsigned long index, ExceptionState& exceptionState) argument
[all...]

Completed in 320 milliseconds

1234567891011>>