/external/chromium_org/third_party/WebKit/Source/core/xml/ |
H A D | XMLSerializer.cpp | 31 String XMLSerializer::serializeToString(Node* node, ExceptionState& exceptionState) argument 34 exceptionState.throwTypeError("Invalid node value.");
|
H A D | DOMParser.cpp | 28 PassRefPtrWillBeRawPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType, ExceptionState& exceptionState) argument 37 exceptionState.throwTypeError("Unsupported mime-type specified.");
|
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/ |
H A D | CustomElementException.cpp | 44 void CustomElementException::throwException(Reason reason, const AtomicString& type, ExceptionState& exceptionState) argument 48 exceptionState.throwDOMException(NotSupportedError, preamble(type) + "Elements cannot be registered from extensions."); 52 exceptionState.throwDOMException(NotSupportedError, preamble(type) + "Prototype constructor property is not configurable."); 56 exceptionState.throwDOMException(InvalidStateError, preamble(type) + "The context is no longer valid."); 60 exceptionState.throwDOMException(InvalidStateError, preamble(type) + "The context is no longer valid."); 64 exceptionState.throwDOMException(InvalidStateError, preamble(type) + "The context is no longer valid."); 68 exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The tag name specified in 'extends' is not a valid tag name."); 72 exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The tag name specified in 'extends' is a custom element name. Use inheritance instead."); 76 exceptionState.throwDOMException(SyntaxError, preamble(type) + "The type name is invalid."); 80 exceptionState [all...] |
H A D | CustomElementRegistry.cpp | 64 CustomElementDefinition* CustomElementRegistry::registerElement(Document* document, CustomElementConstructorBuilder* constructorBuilder, const AtomicString& userSuppliedName, CustomElement::NameSet validNames, ExceptionState& exceptionState) argument 75 CustomElementException::throwException(CustomElementException::CannotRegisterFromExtension, type, exceptionState); 80 CustomElementException::throwException(CustomElementException::InvalidName, type, exceptionState); 85 CustomElementException::throwException(CustomElementException::TypeAlreadyRegistered, type, exceptionState); 90 if (!constructorBuilder->validateOptions(type, tagName, exceptionState)) 102 CustomElementException::throwException(CustomElementException::ContextDestroyedCreatingCallbacks, type, exceptionState); 109 if (!constructorBuilder->createConstructor(document, definition.get(), exceptionState)) 116 CustomElementException::throwException(CustomElementException::ContextDestroyedRegisteringDefinition, type, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | DOMWindowBase64.cpp | 43 String DOMWindowBase64::btoa(const String& stringToEncode, ExceptionState& exceptionState) argument 49 exceptionState.throwDOMException(InvalidCharacterError, "The string to be encoded contains characters outside of the Latin1 range."); 56 String DOMWindowBase64::atob(const String& encodedString, ExceptionState& exceptionState) argument 62 exceptionState.throwDOMException(InvalidCharacterError, "The string to be decoded contains characters outside of the Latin1 range."); 67 exceptionState.throwDOMException(InvalidCharacterError, "The string to be decoded is not correctly encoded.");
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGAnimatedEnumerationBase.cpp | 45 void SVGAnimatedEnumerationBase::setBaseVal(unsigned short value, ExceptionState& exceptionState) argument 48 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 52 baseValue()->setValue(value, exceptionState); 53 if (exceptionState.hadException())
|
H A D | SVGNumberTearOff.cpp | 45 void SVGNumberTearOff::setValue(float f, ExceptionState& exceptionState) argument 48 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
|
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
H A D | dictionary_v8.cpp | 16 {{cpp_class}}* {{v8_class}}::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, ExceptionState& exceptionState) argument 33 exceptionState.throwTypeError("member {{member.name}} ('" + string + "') is not a valid enum value."); 38 exceptionState.throwTypeError("member {{member.name}} is not an object."); 44 exceptionState.rethrowV8Exception(block.Exception());
|
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
H A D | AnimatableStrokeDasharrayListTest.cpp | 58 TrackExceptionState exceptionState; local
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ChildNode.h | 25 static void remove(Node& node, ExceptionState& exceptionState) argument 27 return node.remove(exceptionState);
|
H A D | DOMURL.h | 46 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, ExceptionState& exceptionState) argument 48 return adoptRefWillBeNoop(new DOMURL(url, blankURL(), exceptionState)); 50 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, const String& base, ExceptionState& exceptionState) argument 52 return adoptRefWillBeNoop(new DOMURL(url, KURL(KURL(), base), exceptionState)); 54 static PassRefPtrWillBeRawPtr<DOMURL> create(const String& url, PassRefPtrWillBeRawPtr<DOMURL> base, ExceptionState& exceptionState) argument 57 return adoptRefWillBeNoop(new DOMURL(url, base->m_url, exceptionState));
|
H A D | ParentNode.h | 65 static PassRefPtrWillBeRawPtr<Element> querySelector(ContainerNode& node, const AtomicString& selectors, ExceptionState& exceptionState) argument 67 return node.querySelector(selectors, exceptionState); 70 static PassRefPtrWillBeRawPtr<StaticElementList> querySelectorAll(ContainerNode& node, const AtomicString& selectors, ExceptionState& exceptionState) argument 72 return node.querySelectorAll(selectors, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasPattern.cpp | 36 ExceptionState& exceptionState) 50 exceptionState.throwDOMException(SyntaxError, "The provided type ('" + type + "') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'."); 35 parseRepetitionType(const String& type, ExceptionState& exceptionState) argument
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
H A D | AbstractWorker.cpp | 51 KURL AbstractWorker::resolveURL(const String& url, ExceptionState& exceptionState) argument 56 exceptionState.throwDOMException(SyntaxError, "'" + url + "' is not a valid URL."); 62 exceptionState.throwSecurityError("Script at '" + scriptURL.elidedString() + "' cannot be accessed from origin '" + executionContext()->securityOrigin()->toString() + "'."); 67 exceptionState.throwSecurityError("Access to the script at '" + scriptURL.elidedString() + "' is denied by the document's Content Security Policy.");
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
H A D | Crypto.cpp | 60 void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& exceptionState) argument 63 exceptionState.throwDOMException(TypeMismatchError, "The provided ArrayBufferView is null."); 67 exceptionState.throwDOMException(TypeMismatchError, String::format("The provided ArrayBufferView is of type '%s', which is not an integer array type.", array->typeName())); 71 exceptionState.throwDOMException(QuotaExceededError, String::format("The ArrayBufferView's byte length (%u) exceeds the number of bytes of entropy available via this API (65536).", array->byteLength()));
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | FileEntrySync.cpp | 45 PassRefPtrWillBeRawPtr<File> FileEntrySync::file(ExceptionState& exceptionState) argument 47 return filesystem()->createFile(this, exceptionState); 50 FileWriterSync* FileEntrySync::createWriter(ExceptionState& exceptionState) argument 52 return filesystem()->createWriter(this, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | DelayNode.cpp | 40 DelayNode::DelayNode(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& exceptionState) argument 44 exceptionState.throwDOMException(
|
H A D | DelayNode.h | 40 static DelayNode* create(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& exceptionState) argument 42 return adoptRefCountedGarbageCollectedWillBeNoop(new DelayNode(context, sampleRate, maxDelayTime, exceptionState));
|
H A D | WaveShaperNode.cpp | 58 void WaveShaperNode::setOversample(const String& type, ExceptionState& exceptionState) argument
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | BindingSecurity.cpp | 58 static bool canAccessDocument(v8::Isolate* isolate, Document* targetDocument, ExceptionState& exceptionState) argument 65 exceptionState.throwSecurityError(targetDocument->domWindow()->sanitizedCrossDomainAccessErrorMessage(callingWindow), targetDocument->domWindow()->crossDomainAccessErrorMessage(callingWindow)); 90 bool BindingSecurity::shouldAllowAccessToFrame(v8::Isolate* isolate, Frame* target, ExceptionState& exceptionState) argument 94 return canAccessDocument(isolate, toLocalFrame(target)->document(), exceptionState); 97 bool BindingSecurity::shouldAllowAccessToNode(v8::Isolate* isolate, Node* target, ExceptionState& exceptionState) argument 99 return target && canAccessDocument(isolate, &target->document(), exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
H A D | EffectInputTest.cpp | 32 TrackExceptionState exceptionState; member in class:__anon10991::AnimationEffectInputTest 53 RefPtrWillBeRawPtr<AnimationEffect> animationEffect = EffectInput::convert(element.get(), jsKeyframes, exceptionState); 54 EXPECT_FALSE(exceptionState.hadException()); 73 EffectInput::convert(element.get(), jsKeyframes, exceptionState); 74 EXPECT_TRUE(exceptionState.hadException()); 75 EXPECT_EQ(InvalidModificationError, exceptionState.code()); 95 RefPtrWillBeRawPtr<AnimationEffect> animationEffect = EffectInput::convert(element.get(), jsKeyframes, exceptionState); 96 EXPECT_FALSE(exceptionState.hadException()); 122 EffectInput::convert(element.get(), jsKeyframes, exceptionState); 123 EXPECT_TRUE(exceptionState [all...] |
H A D | ElementAnimation.h | 65 static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, const Dictionary& timingInputDictionary, ExceptionState& exceptionState) argument 67 RefPtrWillBeRawPtr<AnimationEffect> effect = EffectInput::convert(&element, keyframeDictionaryVector, exceptionState); 68 if (exceptionState.hadException()) 74 static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, double duration, ExceptionState& exceptionState) argument 76 RefPtrWillBeRawPtr<AnimationEffect> effect = EffectInput::convert(&element, keyframeDictionaryVector, exceptionState); 77 if (exceptionState.hadException()) 83 static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState) argument 85 RefPtrWillBeRawPtr<AnimationEffect> effect = EffectInput::convert(&element, keyframeDictionaryVector, exceptionState); 86 if (exceptionState.hadException())
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | SplitElementCommand.cpp | 56 TrackExceptionState exceptionState; local 61 parent->insertBefore(m_element1.get(), m_element2.get(), exceptionState); 62 if (exceptionState.hadException()) 70 m_element1->appendChild(children[i], exceptionState);
|
H A D | SplitTextNodeCommand.cpp | 99 TrackExceptionState exceptionState; local 100 m_text2->parentNode()->insertBefore(m_text1.get(), m_text2.get(), exceptionState); 101 if (exceptionState.hadException()) 103 m_text2->deleteData(0, m_offset, exceptionState, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing);
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
H A D | FileReaderSync.cpp | 48 PassRefPtr<ArrayBuffer> FileReaderSync::readAsArrayBuffer(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument 51 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 56 startLoading(executionContext, loader, *blob, exceptionState); 61 String FileReaderSync::readAsBinaryString(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument 64 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 69 startLoading(executionContext, loader, *blob, exceptionState); 73 String FileReaderSync::readAsText(ExecutionContext* executionContext, Blob* blob, const String& encoding, ExceptionState& exceptionState) argument 76 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 82 startLoading(executionContext, loader, *blob, exceptionState); 86 String FileReaderSync::readAsDataURL(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument 99 startLoading(ExecutionContext* executionContext, FileReaderLoader& loader, const Blob& blob, ExceptionState& exceptionState) argument [all...] |