/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 | SVGStringListTearOff.h | 54 void clear(ExceptionState& exceptionState) argument 57 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); 65 String initialize(const String& item, ExceptionState& exceptionState) argument 68 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); 78 String getItem(unsigned long index, ExceptionState& exceptionState) argument 80 return target()->getItem(index, exceptionState); 83 String insertItemBefore(const String& item, unsigned long index, ExceptionState& exceptionState) argument 86 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); 96 String replaceItem(const String& item, unsigned long index, ExceptionState& exceptionState) argument 99 exceptionState 109 anonymousIndexedSetter(unsigned index, const String& item, ExceptionState& exceptionState) argument 115 removeItem(unsigned long index, ExceptionState& exceptionState) argument 128 appendItem(const String& item, ExceptionState& exceptionState) argument [all...] |
H A D | SVGAngleTearOff.cpp | 50 void SVGAngleTearOff::setValue(float value, ExceptionState& exceptionState) argument 53 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 61 void SVGAngleTearOff::setValueInSpecifiedUnits(float value, ExceptionState& exceptionState) argument 64 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 72 void SVGAngleTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) argument 75 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 80 exceptionState.throwDOMException(NotSupportedError, "Cannot set value with unknown or invalid units (" + String::number(unitType) + ")."); 88 void SVGAngleTearOff::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState) argument 91 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 96 exceptionState 100 target()->convertToSpecifiedUnits(static_cast<SVGAngle::SVGAngleType>(unitType), exceptionState); local 105 setValueAsString(const String& value, ExceptionState& exceptionState) argument [all...] |
H A D | SVGRectTearOff.cpp | 46 void SVGRectTearOff::setX(float f, ExceptionState& exceptionState) argument 49 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 57 void SVGRectTearOff::setY(float f, ExceptionState& exceptionState) argument 60 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 68 void SVGRectTearOff::setWidth(float f, ExceptionState& exceptionState) argument 71 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 79 void SVGRectTearOff::setHeight(float f, ExceptionState& exceptionState) argument 82 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
|
H A D | SVGTransformTearOff.cpp | 58 void SVGTransformTearOff::setMatrix(PassRefPtr<SVGMatrixTearOff> matrix, ExceptionState& exceptionState) argument 61 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 69 void SVGTransformTearOff::setTranslate(float tx, float ty, ExceptionState& exceptionState) argument 72 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 80 void SVGTransformTearOff::setScale(float sx, float sy, ExceptionState& exceptionState) argument 83 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 91 void SVGTransformTearOff::setRotate(float angle, float cx, float cy, ExceptionState& exceptionState) argument 94 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 102 void SVGTransformTearOff::setSkewX(float x, ExceptionState& exceptionState) argument 105 exceptionState 113 setSkewY(float y, ExceptionState& exceptionState) argument [all...] |
H A D | SVGPreserveAspectRatioTearOff.cpp | 40 void SVGPreserveAspectRatioTearOff::setAlign(unsigned short align, ExceptionState& exceptionState) argument 43 exceptionState.throwDOMException(NotSupportedError, "The alignment provided is invalid."); 47 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 54 void SVGPreserveAspectRatioTearOff::setMeetOrSlice(unsigned short meetOrSlice, ExceptionState& exceptionState) argument 57 exceptionState.throwDOMException(NotSupportedError, "The meetOrSlice provided is invalid."); 61 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
|
/external/chromium_org/third_party/WebKit/Source/core/storage/ |
H A D | Storage.cpp | 54 String Storage::anonymousIndexedGetter(unsigned index, ExceptionState& exceptionState) argument 56 return anonymousNamedGetter(AtomicString::number(index), exceptionState); 59 String Storage::anonymousNamedGetter(const AtomicString& name, ExceptionState& exceptionState) argument 61 bool found = contains(name, exceptionState); 62 if (exceptionState.hadException() || !found) 64 String result = getItem(name, exceptionState); 65 if (exceptionState.hadException()) 70 bool Storage::anonymousNamedSetter(const AtomicString& name, const AtomicString& value, ExceptionState& exceptionState) argument 72 setItem(name, value, exceptionState); 76 bool Storage::anonymousIndexedSetter(unsigned index, const AtomicString& value, ExceptionState& exceptionState) argument 81 anonymousNamedDeleter(const AtomicString& name, ExceptionState& exceptionState) argument 94 anonymousIndexedDeleter(unsigned index, ExceptionState& exceptionState) argument 100 namedPropertyEnumerator(Vector<String>& names, ExceptionState& exceptionState) argument 118 namedPropertyQuery(const AtomicString& name, ExceptionState& exceptionState) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | NodeFilter.cpp | 30 short NodeFilter::acceptNode(Node* node, ExceptionState& exceptionState) const 33 return m_condition ? m_condition->acceptNode(node, exceptionState) : static_cast<short>(FILTER_ACCEPT);
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
H A D | XPathEvaluator.cpp | 42 PassRefPtrWillBeRawPtr<XPathExpression> XPathEvaluator::createExpression(const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, ExceptionState& exceptionState) argument 44 return XPathExpression::createExpression(expression, resolver, exceptionState); 53 PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, unsigned short type, XPathResult* result, ExceptionState& exceptionState) 56 exceptionState.throwDOMException(NotSupportedError, "The context node provided is null."); 61 exceptionState.throwDOMException(NotSupportedError, "The node provided is '" + contextNode->nodeName() + "', which is not a valid context node type."); 65 RefPtrWillBeRawPtr<XPathExpression> expr = createExpression(expression, resolver, exceptionState); 66 if (exceptionState.hadException()) 69 return expr->evaluate(contextNode, type, result, exceptionState); 52 evaluate(const String& expression, Node* contextNode, PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, unsigned short type, XPathResult* result, ExceptionState& exceptionState) argument
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | FileEntrySync.cpp | 46 PassRefPtrWillBeRawPtr<File> FileEntrySync::file(ExceptionState& exceptionState) argument 48 return filesystem()->createFile(this, exceptionState); 51 FileWriterSync* FileEntrySync::createWriter(ExceptionState& exceptionState) argument 53 return filesystem()->createWriter(this, exceptionState);
|
/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(NotSupportedError, 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...] |
/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/bindings/v8/custom/ |
H A D | V8HTMLOptionsCollectionCustom.cpp | 49 ExceptionState exceptionState(ExceptionState::ExecutionContext, "add", "HTMLOptionsCollection", info.Holder(), info.GetIsolate()); 51 exceptionState.throwTypeError("The element provided was not an HTMLOptionElement."); 57 impl->add(option, exceptionState); 59 int index = toInt32(info[1], exceptionState); 60 if (exceptionState.throwIfNeeded()) 63 impl->add(option, index, exceptionState); 67 exceptionState.throwIfNeeded(); 75 ExceptionState exceptionState(ExceptionState::SetterContext, "length", "HTMLOptionsCollection", info.Holder(), info.GetIsolate()); 78 exceptionState.throwDOMException(IndexSizeError, "The value provided (" + String::number(v) + ") is negative. Lengths must be greater than or equal to 0."); 85 if (exceptionState [all...] |
H A D | V8ClientCustom.cpp | 20 ExceptionState exceptionState(ExceptionState::ExecutionContext, "postMessage", "ServiceWorker", info.Holder(), info.GetIsolate()); 26 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { 27 exceptionState.throwIfNeeded(); 31 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate()); 32 if (exceptionState.throwIfNeeded()) 35 client->postMessage(context, message.release(), &ports, exceptionState); 36 exceptionState.throwIfNeeded();
|
H A D | V8DedicatedWorkerGlobalScopeCustom.cpp | 46 ExceptionState exceptionState(ExceptionState::ExecutionContext, "postMessage", "WorkerGlobalScope", info.Holder(), info.GetIsolate()); 52 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { 53 exceptionState.throwIfNeeded(); 57 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate()); 58 if (exceptionState.throwIfNeeded()) 61 workerGlobalScope->postMessage(message.release(), &ports, exceptionState); 62 exceptionState.throwIfNeeded();
|
H A D | V8MessagePortCustom.cpp | 45 ExceptionState exceptionState(ExceptionState::ExecutionContext, "postMessage", "MessagePort", info.Holder(), info.GetIsolate()); 51 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, portArray, arrayBufferArray, exceptionState, info.GetIsolate())) { 52 exceptionState.throwIfNeeded(); 56 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &portArray, &arrayBufferArray, exceptionState, info.GetIsolate()); 57 if (exceptionState.throwIfNeeded()) 59 messagePort->postMessage(message.release(), &portArray, exceptionState); 60 exceptionState.throwIfNeeded();
|
H A D | V8ServiceWorkerCustom.cpp | 20 ExceptionState exceptionState(ExceptionState::ExecutionContext, "postMessage", "ServiceWorker", info.Holder(), info.GetIsolate()); 26 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { 27 exceptionState.throwIfNeeded(); 31 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate()); 32 if (exceptionState.throwIfNeeded()) 34 worker->postMessage(message.release(), &ports, exceptionState); 35 exceptionState.throwIfNeeded();
|
H A D | V8WorkerCustom.cpp | 46 ExceptionState exceptionState(ExceptionState::ExecutionContext, "postMessage", "Worker", info.Holder(), info.GetIsolate()); 52 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { 53 exceptionState.throwIfNeeded(); 57 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate()); 58 if (exceptionState.throwIfNeeded()) 60 worker->postMessage(message.release(), &ports, exceptionState); 61 exceptionState.throwIfNeeded();
|
H A D | V8CryptoCustom.cpp | 40 ExceptionState exceptionState(ExceptionState::ExecutionContext, "getRandomValues", "Crypto", info.Holder(), info.GetIsolate()); 42 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length())); 43 exceptionState.throwIfNeeded(); 49 exceptionState.throwTypeError("First argument is not an ArrayBufferView"); 55 crypto->getRandomValues(arrayBufferView, exceptionState); 58 if (exceptionState.throwIfNeeded())
|
/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...] |
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
H A D | IDBIndex.cpp | 74 IDBRequest* IDBIndex::openCursor(ScriptState* scriptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) argument 78 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::indexDeletedErrorMessage); 82 exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionFinishedErrorMessage); 86 exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionInactiveErrorMessage); 89 blink::WebIDBCursorDirection direction = IDBCursor::stringToDirection(directionString, exceptionState); 90 if (exceptionState.hadException()) 93 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState); 94 if (exceptionState.hadException()) 98 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::databaseClosedErrorMessage); 113 IDBRequest* IDBIndex::count(ScriptState* scriptState, const ScriptValue& range, ExceptionState& exceptionState) argument 143 openKeyCursor(ScriptState* scriptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) argument 176 get(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState) argument 182 getKey(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState) argument 188 getInternal(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState, bool keyOnly) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | DataView.cpp | 133 T DataView::getData(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) const 136 exceptionState.throwDOMException(IndexSizeError, "The provided offset (" + String::number(byteOffset) + ") is outside the allowed range."); 148 void DataView::setData(unsigned byteOffset, T value, bool littleEndian, ExceptionState& exceptionState) argument 151 exceptionState.throwDOMException(IndexSizeError, "The provided offset (" + String::number(byteOffset) + ") is outside the allowed range."); 162 int8_t DataView::getInt8(unsigned byteOffset, ExceptionState& exceptionState) argument 164 return getData<int8_t>(byteOffset, false, exceptionState); 167 uint8_t DataView::getUint8(unsigned byteOffset, ExceptionState& exceptionState) argument 169 return getData<uint8_t>(byteOffset, false, exceptionState); 172 int16_t DataView::getInt16(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 174 return getData<int16_t>(byteOffset, littleEndian, exceptionState); 177 getUint16(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 182 getInt32(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 187 getUint32(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 192 getFloat32(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 197 getFloat64(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 202 setInt8(unsigned byteOffset, int8_t value, ExceptionState& exceptionState) argument 207 setUint8(unsigned byteOffset, uint8_t value, ExceptionState& exceptionState) argument 212 setInt16(unsigned byteOffset, short value, bool littleEndian, ExceptionState& exceptionState) argument 217 setUint16(unsigned byteOffset, uint16_t value, bool littleEndian, ExceptionState& exceptionState) argument 222 setInt32(unsigned byteOffset, int32_t value, bool littleEndian, ExceptionState& exceptionState) argument 227 setUint32(unsigned byteOffset, uint32_t value, bool littleEndian, ExceptionState& exceptionState) argument 232 setFloat32(unsigned byteOffset, float value, bool littleEndian, ExceptionState& exceptionState) argument 237 setFloat64(unsigned byteOffset, double value, bool littleEndian, ExceptionState& exceptionState) argument [all...] |
/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/mediastream/ |
H A D | NavigatorMediaStream.cpp | 50 void NavigatorMediaStream::webkitGetUserMedia(Navigator& navigator, const Dictionary& options, PassOwnPtr<NavigatorUserMediaSuccessCallback> successCallback, PassOwnPtr<NavigatorUserMediaErrorCallback> errorCallback, ExceptionState& exceptionState) argument 57 exceptionState.throwDOMException(NotSupportedError, "No user media controller available; is this a detached window?"); 61 RefPtrWillBeRawPtr<UserMediaRequest> request = UserMediaRequest::create(navigator.frame()->document(), userMedia, options, successCallback, errorCallback, exceptionState); 63 ASSERT(exceptionState.hadException()); 70 void NavigatorMediaStream::getMediaDevices(Navigator& navigator, PassOwnPtr<MediaDeviceInfoCallback> callback, ExceptionState& exceptionState) argument 74 exceptionState.throwDOMException(NotSupportedError, "No media device controller available; is this a detached window?"); 78 RefPtrWillBeRawPtr<MediaDevicesRequest> request = MediaDevicesRequest::create(navigator.frame()->document(), userMedia, callback, exceptionState); 80 if (!exceptionState.hadException()) 81 exceptionState.throwDOMException(NotSupportedError, "Failed to request media devices.");
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
H A D | DatabaseSync.cpp | 76 void DatabaseSync::changeVersion(const String& oldVersion, const String& newVersion, PassOwnPtr<SQLTransactionSyncCallback> changeVersionCallback, ExceptionState& exceptionState) argument 83 exceptionState.throwDOMException(SQLDatabaseError, "Unable to change version from within a transaction."); 88 transaction->begin(exceptionState); 89 if (exceptionState.hadException()) { 98 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); 105 exceptionState.throwDOMException(VersionError, SQLError::versionErrorMessage); 110 transaction->execute(exceptionState); 111 if (exceptionState.hadException()) { 119 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); 123 transaction->commit(exceptionState); 136 transaction(PassOwnPtr<SQLTransactionSyncCallback> callback, ExceptionState& exceptionState) argument 141 readTransaction(PassOwnPtr<SQLTransactionSyncCallback> callback, ExceptionState& exceptionState) argument 154 runTransaction(PassOwnPtr<SQLTransactionSyncCallback> callback, bool readOnly, ExceptionState& exceptionState) argument [all...] |