/external/chromium_org/third_party/WebKit/Source/core/animation/ |
H A D | AnimatableStrokeDasharrayListTest.cpp | 50 TrackExceptionState exceptionState; local 51 vectorB[3].newValueSpecifiedUnits(LengthTypePX, 50, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
H A D | XMLSerializer.cpp | 32 String XMLSerializer::serializeToString(Node* node, ExceptionState& exceptionState) argument 35 exceptionState.throwDOMException(TypeError, "Invalid node value.");
|
H A D | DOMParser.cpp | 28 PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType, ExceptionState& exceptionState) argument 37 exceptionState.throwDOMException(TypeError, "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.throwUninformativeAndGenericDOMException(InvalidStateError); 64 exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError); 68 exceptionState.throwDOMException(InvalidCharacterError, preamble(type) + "The tag name specified in 'extends' is not a valid tag name."); 72 exceptionState.throwDOMException(InvalidCharacterError, preamble(type) + "The tag name specified in 'extends' is a custom element name. Use inheritance instead."); 76 exceptionState.throwDOMException(InvalidCharacterError, preamble(type) + "The type name is invalid."); 80 exceptionState [all...] |
H A D | CustomElementRegistry.cpp | 59 CustomElementDefinition* CustomElementRegistry::registerElement(Document* document, CustomElementConstructorBuilder* constructorBuilder, const AtomicString& userSuppliedName, CustomElement::NameSet validNames, ExceptionState& exceptionState) argument 70 CustomElementException::throwException(CustomElementException::CannotRegisterFromExtension, type, exceptionState); 75 CustomElementException::throwException(CustomElementException::InvalidName, type, exceptionState); 80 if (!constructorBuilder->validateOptions(type, tagName, exceptionState)) 87 CustomElementException::throwException(CustomElementException::TypeAlreadyRegistered, type, exceptionState); 98 CustomElementException::throwException(CustomElementException::ContextDestroyedCreatingCallbacks, type, exceptionState); 105 if (!constructorBuilder->createConstructor(document, definition.get(), exceptionState)) 112 CustomElementException::throwException(CustomElementException::ContextDestroyedRegisteringDefinition, type, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | DirectoryReaderSync.cpp | 50 EntrySyncVector DirectoryReaderSync::readEntries(ExceptionState& exceptionState) argument 57 exceptionState.throwDOMException(InvalidModificationError, "Failed to read the directory."); 61 return helper.getResult(exceptionState);
|
H A D | FileEntrySync.cpp | 46 PassRefPtr<File> FileEntrySync::file(ExceptionState& exceptionState) argument 48 return filesystem()->createFile(this, exceptionState); 51 PassRefPtr<FileWriterSync> FileEntrySync::createWriter(ExceptionState& exceptionState) argument 53 return filesystem()->createWriter(this, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | DOMURL.h | 48 static PassRefPtr<DOMURL> create(const String& url, ExceptionState& exceptionState) argument 50 return adoptRef(new DOMURL(url, blankURL(), exceptionState)); 52 static PassRefPtr<DOMURL> create(const String& url, const String& base, ExceptionState& exceptionState) argument 54 return adoptRef(new DOMURL(url, KURL(KURL(), base), exceptionState)); 56 static PassRefPtr<DOMURL> create(const String& url, PassRefPtr<DOMURL> base, ExceptionState& exceptionState) argument 59 return adoptRef(new DOMURL(url, base->m_url, exceptionState));
|
H A D | DOMSettableTokenList.cpp | 55 void DOMSettableTokenList::add(const Vector<String>& tokens, ExceptionState& exceptionState) argument 57 DOMTokenList::add(tokens, exceptionState); 76 void DOMSettableTokenList::remove(const Vector<String>& tokens, ExceptionState& exceptionState) argument 78 DOMTokenList::remove(tokens, exceptionState);
|
H A D | DOMStringMap.h | 52 bool anonymousNamedSetter(const String& name, const String& value, ExceptionState& exceptionState) argument 54 setItem(name, value, exceptionState); 61 TrackExceptionState exceptionState; local 62 deleteItem(name, exceptionState); 63 bool result = !exceptionState.hadException(); 80 bool anonymousIndexedSetter(uint32_t index, const String& value, ExceptionState& exceptionState) argument 82 return anonymousNamedSetter(String::number(index), value, exceptionState); 84 bool anonymousIndexedDeleter(uint32_t index, ExceptionState& exceptionState) argument 86 return anonymousNamedDeleter(AtomicString::number(index), exceptionState);
|
H A D | DOMURL.cpp | 43 DOMURL::DOMURL(const String& url, const KURL& base, ExceptionState& exceptionState) argument 47 exceptionState.throwDOMException(SyntaxError, "Invalid base URL"); 51 exceptionState.throwDOMException(SyntaxError, "Invalid URL");
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | DOMWindowBase64.cpp | 45 String btoa(void*, const String& stringToEncode, ExceptionState& exceptionState) argument 51 exceptionState.throwDOMException(InvalidCharacterError, "The string to be encoded contains characters outside of the Latin1 range."); 58 String atob(void*, const String& encodedString, ExceptionState& exceptionState) argument 64 exceptionState.throwDOMException(InvalidCharacterError, "The string to be decoded contains characters outside of the Latin1 range."); 69 exceptionState.throwDOMException(InvalidCharacterError, "The string to be decoded is not correctly encoded.");
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasPattern.cpp | 35 void CanvasPattern::parseRepetitionType(const String& type, bool& repeatX, bool& repeatY, ExceptionState& exceptionState) argument 57 exceptionState.throwUninformativeAndGenericDOMException(SyntaxError);
|
H A D | CanvasGradient.cpp | 49 void CanvasGradient::addColorStop(float value, const String& color, ExceptionState& exceptionState) argument 52 exceptionState.throwUninformativeAndGenericDOMException(IndexSizeError); 58 exceptionState.throwUninformativeAndGenericDOMException(SyntaxError);
|
/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 | 62 void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& exceptionState) argument 65 exceptionState.throwDOMException(TypeMismatchError, "The provided ArrayBufferView is null."); 69 exceptionState.throwDOMException(TypeMismatchError, String::format("The provided ArrayBufferView is of type '%s', which is not an integer array type.", array->typeName())); 73 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/encoding/ |
H A D | TextDecoder.h | 53 String decode(ExceptionState& exceptionState) { return decode(0, Dictionary(), exceptionState); } argument
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | DelayNode.cpp | 39 DelayNode::DelayNode(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& exceptionState) argument 44 exceptionState.throwDOMException(
|
H A D | DelayNode.h | 39 static PassRefPtr<DelayNode> create(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& exceptionState) argument 41 return adoptRef(new DelayNode(context, sampleRate, maxDelayTime, exceptionState));
|
H A D | WaveShaperNode.cpp | 59 void WaveShaperNode::setOversample(const String& type, ExceptionState& exceptionState) argument 75 exceptionState.throwDOMException(
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
H A D | BindingSecurity.cpp | 58 static bool canAccessDocument(Document* targetDocument, ExceptionState& exceptionState) argument 65 exceptionState.throwSecurityError(targetDocument->domWindow()->sanitizedCrossDomainAccessErrorMessage(activeWindow), targetDocument->domWindow()->crossDomainAccessErrorMessage(activeWindow)); 88 bool BindingSecurity::shouldAllowAccessToFrame(Frame* target, ExceptionState& exceptionState) argument 90 return target && canAccessDocument(target->document(), exceptionState); 93 bool BindingSecurity::shouldAllowAccessToNode(Node* target, ExceptionState& exceptionState) argument 95 return target && canAccessDocument(&target->document(), exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSVariablesMap.cpp | 57 void CSSVariablesMap::set(const AtomicString& name, const String& value, ExceptionState& exceptionState) argument 61 if (m_styleDeclaration->setVariableValue(name, value, exceptionState)) { 81 void CSSVariablesMap::clear(ExceptionState& exceptionState) argument 85 if (m_styleDeclaration->clearVariables(exceptionState)) {
|
/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 | 49 PassRefPtr<ArrayBuffer> FileReaderSync::readAsArrayBuffer(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument 52 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 57 startLoading(executionContext, loader, *blob, exceptionState); 62 String FileReaderSync::readAsBinaryString(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument 65 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 70 startLoading(executionContext, loader, *blob, exceptionState); 74 String FileReaderSync::readAsText(ExecutionContext* executionContext, Blob* blob, const String& encoding, ExceptionState& exceptionState) argument 77 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); 83 startLoading(executionContext, loader, *blob, exceptionState); 87 String FileReaderSync::readAsDataURL(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument 100 startLoading(ExecutionContext* executionContext, FileReaderLoader& loader, const Blob& blob, ExceptionState& exceptionState) argument [all...] |