/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ContainerNode.cpp | 26 #include "bindings/v8/ExceptionState.h" 66 static void collectChildrenAndRemoveFromOldParent(Node& node, NodeVector& nodes, ExceptionState& exceptionState) 71 oldParent->removeChild(&node, exceptionState); 124 bool ContainerNode::checkAcceptChild(const Node* newChild, const Node* oldChild, ExceptionState& exceptionState) const 128 exceptionState.throwDOMException(NotFoundError, "The new child element is null."); 136 exceptionState.throwDOMException(HierarchyRequestError, "The new child element contains the parent."); 145 exceptionState.throwDOMException(HierarchyRequestError, "The new child element is a pseudo-element."); 150 exceptionState.throwDOMException(HierarchyRequestError, "The new child element contains the parent.") [all...] |
NodeIterator.cpp | 28 #include "bindings/v8/ExceptionState.h" 89 PassRefPtrWillBeRawPtr<Node> NodeIterator::nextNode(ExceptionState& exceptionState) 99 bool nodeWasAccepted = acceptNode(provisionalResult.get(), exceptionState) == NodeFilter::FILTER_ACCEPT; 100 if (exceptionState.hadException()) 113 PassRefPtrWillBeRawPtr<Node> NodeIterator::previousNode(ExceptionState& exceptionState) 123 bool nodeWasAccepted = acceptNode(provisionalResult.get(), exceptionState) == NodeFilter::FILTER_ACCEPT; 124 if (exceptionState.hadException())
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
CustomElementConstructorBuilder.cpp | 38 #include "bindings/v8/ExceptionState.h" 70 bool CustomElementConstructorBuilder::validateOptions(const AtomicString& type, QualifiedName& tagName, ExceptionState& exceptionState) 80 CustomElementException::throwException(CustomElementException::PrototypeNotAnObject, type, exceptionState); 107 CustomElementException::throwException(CustomElementException::ContextDestroyedCheckingPrototype, type, exceptionState); 124 CustomElementException::throwException(CustomElementException::ExtendsIsInvalidName, type, exceptionState); 129 CustomElementException::throwException(CustomElementException::ExtendsIsCustomElementName, type, exceptionState); 135 CustomElementException::throwException(CustomElementException::ExtendsIsInvalidName, type, exceptionState); 180 bool CustomElementConstructorBuilder::createConstructor(Document* document, CustomElementDefinition* definition, ExceptionState& exceptionState) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLDialogElement.cpp | 29 #include "bindings/v8/ExceptionState.h" 103 void HTMLDialogElement::close(const String& returnValue, ExceptionState& exceptionState) 106 exceptionState.throwDOMException(InvalidStateError, "The element does not have an 'open' attribute, and therefore cannot be closed."); 144 void HTMLDialogElement::showModal(ExceptionState& exceptionState) 147 exceptionState.throwDOMException(InvalidStateError, "The element already has an 'open' attribute, and therefore cannot be opened modally."); 151 exceptionState.throwDOMException(InvalidStateError, "The element is not in a Document.");
|
HTMLMarqueeElement.cpp | 26 #include "bindings/v8/ExceptionState.h" 136 void HTMLMarqueeElement::setScrollAmount(int scrollAmount, ExceptionState& exceptionState) 139 exceptionState.throwDOMException(IndexSizeError, "The provided value (" + String::number(scrollAmount) + ") is negative."); 151 void HTMLMarqueeElement::setScrollDelay(int scrollDelay, ExceptionState& exceptionState) 154 exceptionState.throwDOMException(IndexSizeError, "The provided value (" + String::number(scrollDelay) + ") is negative."); 166 void HTMLMarqueeElement::setLoop(int loop, ExceptionState& exceptionState) 169 exceptionState.throwDOMException(IndexSizeError, "The provided value (" + String::number(loop) + ") is neither po (…) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
DedicatedWorkerGlobalScope.cpp | 34 #include "bindings/v8/ExceptionState.h" 66 void DedicatedWorkerGlobalScope::postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) 69 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); 70 if (exceptionState.hadException()) 75 void DedicatedWorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionState& exceptionState) 77 Base::importScripts(urls, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioBuffer.cpp | 36 #include "bindings/v8/ExceptionState.h" 68 PassRefPtrWillBeRawPtr<AudioBuffer> AudioBuffer::create(unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) 71 exceptionState.throwDOMException( 84 exceptionState.throwDOMException( 97 exceptionState.throwDOMException( 109 exceptionState.throwDOMException( 189 PassRefPtr<Float32Array> AudioBuffer::getChannelData(unsigned channelIndex, ExceptionState& exceptionState) 192 exceptionState.throwDOMException(IndexSizeError, "channel index (" + String::number(channelIndex) + ") exceeds nu (…) [all...] |
AudioNode.cpp | 31 #include "bindings/v8/ExceptionState.h" 169 void AudioNode::connect(AudioNode* destination, unsigned outputIndex, unsigned inputIndex, ExceptionState& exceptionState) 175 exceptionState.throwDOMException( 183 exceptionState.throwDOMException( 190 exceptionState.throwDOMException( 197 exceptionState.throwDOMException( 211 void AudioNode::connect(AudioParam* param, unsigned outputIndex, ExceptionState& exceptionState) 217 exceptionState.throwDOMException [all...] |
AudioBufferSourceNode.h | 55 void setBuffer(AudioBuffer*, ExceptionState&); 63 void start(ExceptionState& exceptionState) { start(0, exceptionState); } 64 void start(double when, ExceptionState&); 65 void start(double when, double grainOffset, ExceptionState&); 66 void start(double when, double grainOffset, double grainDuration, ExceptionState&);
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimationTest.cpp | 34 TrackExceptionState exceptionState; 46 static PassRefPtrWillBeRawPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyframeDictionaryVector, T timingInput, ExceptionState& exceptionState) 48 return Animation::create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), timingInput); 50 static PassRefPtrWillBeRawPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyframeDictionaryVector, ExceptionState& exceptionState) 52 return Animation::create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState)); 85 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState); 112 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, duration, exceptionState); 120 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, exceptionState); [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDocument.cpp | 35 #include "bindings/v8/ExceptionState.h" 247 TrackExceptionState exceptionState; 248 WebDOMEvent event(unwrap<Document>()->createEvent(eventType, exceptionState)); 249 if (exceptionState.hadException()) 261 TrackExceptionState exceptionState; 262 WebElement element(unwrap<Document>()->createElement(tagName, exceptionState)); 263 if (exceptionState.hadException()) 301 TrackExceptionState exceptionState; 302 ScriptValue constructor = document->registerElement(ScriptState::current(isolate), name, dictionary, exceptionState, CustomElement::EmbedderNames); 303 ec = exceptionState.code() [all...] |
WebNode.cpp | 34 #include "bindings/v8/ExceptionState.h" 210 TrackExceptionState exceptionState; 213 element = toContainerNode(m_private.get())->querySelector(tag, exceptionState); 214 ec = exceptionState.code(); 230 TrackExceptionState exceptionState; 231 m_private->remove(exceptionState); 232 return !exceptionState.hadException();
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSGroupingRule.cpp | 34 #include "bindings/v8/ExceptionState.h" 62 unsigned CSSGroupingRule::insertRule(const String& ruleString, unsigned index, ExceptionState& exceptionState) 67 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " must be less than or equal to the length of the rule list."); 76 exceptionState.throwDOMException(SyntaxError, "the rule '" + ruleString + "' is invalid and cannot be parsed."); 84 exceptionState.throwDOMException(HierarchyRequestError, "'@import' rules cannot be inserted inside a group rule."); 95 void CSSGroupingRule::deleteRule(unsigned index, ExceptionState& exceptionState) 100 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " is greated than the length of the rule list.");
|
CSSMatrix.cpp | 29 #include "bindings/v8/ExceptionState.h" 49 CSSMatrix::CSSMatrix(const String& s, ExceptionState& exceptionState) 52 setMatrixValue(s, exceptionState); 55 void CSSMatrix::setMatrixValue(const String& string, ExceptionState& exceptionState) 74 exceptionState.throwDOMException(SyntaxError, "Failed to interpret '" + string + "' as a transformation operation."); 81 exceptionState.throwDOMException(SyntaxError, "The transformation depends on the box size, which is not supported."); 88 exceptionState.throwDOMException(SyntaxError, "Failed to parse '" + string + "'."); 101 PassRefPtrWillBeRawPtr<CSSMatrix> CSSMatrix::inverse(ExceptionState& exceptionState) cons [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGMatrixTearOff.cpp | 34 #include "bindings/v8/ExceptionState.h" 78 void SVGMatrixTearOff::set##ATTRIBUTE(double f, ExceptionState& exceptionState) \ 81 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); \ 160 PassRefPtr<SVGMatrixTearOff> SVGMatrixTearOff::inverse(ExceptionState& exceptionState) 164 exceptionState.throwDOMException(InvalidStateError, "The matrix is not invertible."); 169 PassRefPtr<SVGMatrixTearOff> SVGMatrixTearOff::rotateFromVector(double x, double y, ExceptionState& exceptionState) 172 exceptionState.throwDOMException(InvalidAccessError, "Arguments cannot be zero.") [all...] |
SVGPathSegList.h | 103 PassRefPtr<ItemPropertyType> getItem(size_t index, ExceptionState& exceptionState) 106 return Base::getItem(index, exceptionState); 116 PassRefPtr<ItemPropertyType> replaceItem(PassRefPtr<ItemPropertyType> passItem, size_t index, ExceptionState& exceptionState) 120 return Base::replaceItem(passItem, index, exceptionState); 123 PassRefPtr<ItemPropertyType> removeItem(size_t index, ExceptionState& exceptionState) 127 return Base::removeItem(index, exceptionState); 136 void setValueAsString(const String&, ExceptionState&) [all...] |
SVGRect.cpp | 26 #include "bindings/v8/ExceptionState.h" 67 void SVGRect::parse(const CharType*& ptr, const CharType* end, ExceptionState& exceptionState) 80 exceptionState.throwDOMException(SyntaxError, "Problem parsing rect \"" + String(start, end - start) + "\""); 87 exceptionState.throwDOMException(SyntaxError, "Problem parsing rect \"" + String(start, end - start) + "\""); 96 void SVGRect::setValueAsString(const String& string, ExceptionState& exceptionState) 111 parse(ptr, end, exceptionState); 117 parse(ptr, end, exceptionState);
|
SVGNumber.cpp | 78 void SVGNumber::setValueAsString(const String& string, ExceptionState& exceptionState) 97 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid."); 128 void SVGNumberAcceptPercentage::setValueAsString(const String& string, ExceptionState& exceptionState) 133 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
FileError.cpp | 34 #include "bindings/v8/ExceptionState.h" 126 void FileError::throwDOMException(ExceptionState& exceptionState, ErrorCode code) 131 // SecurityError is special-cased, as we want to route those exceptions through ExceptionState::throwSecurityError. 133 exceptionState.throwSecurityError(FileError::securityErrorMessage); 137 exceptionState.throwDOMException(errorCodeToExceptionCode(code), errorCodeToMessage(code));
|
Blob.cpp | 34 #include "bindings/v8/ExceptionState.h" 109 PassRefPtrWillBeRawPtr<Blob> Blob::slice(long long start, long long end, const String& contentType, ExceptionState& exceptionState) const 112 exceptionState.throwDOMException(InvalidStateError, "Blob has been closed."); 126 void Blob::close(ExecutionContext* executionContext, ExceptionState& exceptionState) 129 exceptionState.throwDOMException(InvalidStateError, "Blob has been closed.");
|
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
interface.cpp | 91 ExceptionState exceptionState(ExceptionState::SetterContext, *attributeName, "{{interface_name}}", info.Holder(), isolate); 92 if (!BindingSecurity::shouldAllowAccessToFrame(isolate, impl->frame(), exceptionState)) { 93 exceptionState.throwIfNeeded(); 138 ExceptionState exceptionState(ExceptionState::IndexedGetterContext, "{{interface_name}}", info.Holder(), info.GetIsolate()); 141 {% set getter_arguments = ['index', 'exceptionState'] 145 if (exceptionState.throwIfNeeded() [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
V8TestObject.cpp | 33 #include "bindings/v8/ExceptionState.h" 215 ExceptionState exceptionState(ExceptionState::SetterContext, "byteStringAttribute", "TestObject", holder, info.GetIsolate()); 217 TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), exceptionState); 245 ExceptionState exceptionState(ExceptionState::SetterContext, "scalarValueStringAttribute", "TestObject", holder, info.GetIsolate()); 247 TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toScalarValueString(v8Value, exceptionState), exceptionState) [all...] |
V8TestInterfaceConstructor2.cpp | 12 #include "bindings/v8/ExceptionState.h" 85 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor2", info.Holder(), isolate); 96 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(longArg, toInt32(info[1], exceptionState), exceptionState); 101 exceptionState.throwTypeError("parameter 5 ('defaultUndefinedOptionalDictionaryArg') is not an object."); 102 exceptionState.throwIfNeeded(); 124 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor2", info.Holder(), isolate) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
DirectoryReaderSync.cpp | 34 #include "bindings/v8/ExceptionState.h" 93 EntrySyncHeapVector DirectoryReaderSync::readEntries(ExceptionState& exceptionState) 103 FileError::throwDOMException(exceptionState, m_errorCode);
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
RTCIceCandidate.cpp | 37 #include "bindings/v8/ExceptionState.h" 42 PassRefPtrWillBeRawPtr<RTCIceCandidate> RTCIceCandidate::create(const Dictionary& dictionary, ExceptionState& exceptionState) 47 exceptionState.throwDOMException(TypeMismatchError, ExceptionMessages::incorrectPropertyType("candidate", "is not a string, or is empty."));
|