/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | DOMEditor.cpp | 57 virtual bool perform(ExceptionState& exceptionState) OVERRIDE in perform() argument 60 return redo(exceptionState); in perform() 63 virtual bool undo(ExceptionState& exceptionState) OVERRIDE in undo() argument 65 m_parentNode->insertBefore(m_node.get(), m_anchorNode.get(), exceptionState); in undo() 66 return !exceptionState.hadException(); in undo() 69 virtual bool redo(ExceptionState& exceptionState) OVERRIDE in redo() argument 71 m_parentNode->removeChild(m_node.get(), exceptionState); in redo() 72 return !exceptionState.hadException(); in redo() 100 virtual bool perform(ExceptionState& exceptionState) OVERRIDE in perform() argument 104 if (!m_removeChildAction->perform(exceptionState)) in perform() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/storage/ |
D | Storage.cpp | 54 String Storage::anonymousIndexedGetter(unsigned index, ExceptionState& exceptionState) in anonymousIndexedGetter() argument 56 return anonymousNamedGetter(AtomicString::number(index), exceptionState); in anonymousIndexedGetter() 59 String Storage::anonymousNamedGetter(const AtomicString& name, ExceptionState& exceptionState) in anonymousNamedGetter() argument 61 bool found = contains(name, exceptionState); in anonymousNamedGetter() 62 if (exceptionState.hadException() || !found) in anonymousNamedGetter() 64 String result = getItem(name, exceptionState); in anonymousNamedGetter() 65 if (exceptionState.hadException()) in anonymousNamedGetter() 70 …ousNamedSetter(const AtomicString& name, const AtomicString& value, ExceptionState& exceptionState) in anonymousNamedSetter() argument 72 setItem(name, value, exceptionState); in anonymousNamedSetter() 76 …::anonymousIndexedSetter(unsigned index, const AtomicString& value, ExceptionState& exceptionState) in anonymousIndexedSetter() argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | DataView.cpp | 133 T DataView::getData(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) const in getData() 136 …exceptionState.throwDOMException(IndexSizeError, "The provided offset (" + String::number(byteOffs… in getData() 148 … DataView::setData(unsigned byteOffset, T value, bool littleEndian, ExceptionState& exceptionState) in setData() argument 151 …exceptionState.throwDOMException(IndexSizeError, "The provided offset (" + String::number(byteOffs… in setData() 162 int8_t DataView::getInt8(unsigned byteOffset, ExceptionState& exceptionState) in getInt8() argument 164 return getData<int8_t>(byteOffset, false, exceptionState); in getInt8() 167 uint8_t DataView::getUint8(unsigned byteOffset, ExceptionState& exceptionState) in getUint8() argument 169 return getData<uint8_t>(byteOffset, false, exceptionState); in getUint8() 172 int16_t DataView::getInt16(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) in getInt16() argument 174 return getData<int16_t>(byteOffset, littleEndian, exceptionState); in getInt16() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
D | IDBIndex.cpp | 74 …riptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) in openCursor() argument 78 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::indexDeletedErrorMessage); in openCursor() 82 …exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionFinishedErrorMe… in openCursor() 86 …exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionInactiveErrorMe… in openCursor() 89 …k::WebIDBCursorDirection direction = IDBCursor::stringToDirection(directionString, exceptionState); in openCursor() 90 if (exceptionState.hadException()) in openCursor() 93 …e* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState); in openCursor() 94 if (exceptionState.hadException()) in openCursor() 98 … exceptionState.throwDOMException(InvalidStateError, IDBDatabase::databaseClosedErrorMessage); in openCursor() 113 …IDBIndex::count(ScriptState* scriptState, const ScriptValue& range, ExceptionState& exceptionState) in count() argument [all …]
|
D | IDBObjectStore.cpp | 88 …BObjectStore::get(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState) in get() argument 92 … exceptionState.throwDOMException(InvalidStateError, IDBDatabase::objectStoreDeletedErrorMessage); in get() 96 …exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionFinishedErrorMe… in get() 100 …exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionInactiveErrorMe… in get() 103 …nge* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), key, exceptionState); in get() 104 if (exceptionState.hadException()) in get() 107 exceptionState.throwDOMException(DataError, IDBDatabase::noKeyOrKeyRangeErrorMessage); in get() 111 … exceptionState.throwDOMException(InvalidStateError, IDBDatabase::databaseClosedErrorMessage); in get() 143 …riptState* scriptState, ScriptValue& value, const ScriptValue& key, ExceptionState& exceptionState) in add() argument 146 …rn put(scriptState, blink::WebIDBPutModeAddOnly, IDBAny::create(this), value, key, exceptionState); in add() [all …]
|
D | IDBCursor.cpp | 112 …st* IDBCursor::update(ScriptState* scriptState, ScriptValue& value, ExceptionState& exceptionState) in update() argument 117 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::noValueErrorMessage); in update() 121 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::isKeyCursorErrorMessage); in update() 125 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::sourceDeletedErrorMessage); in update() 129 …exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionFinishedErrorMe… in update() 133 …exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionInactiveErrorMe… in update() 137 …exceptionState.throwDOMException(ReadOnlyError, "The record may not be updated inside a read-only … in update() 147 …exceptionState.throwDOMException(DataError, "The effective object store of this cursor uses in-lin… in update() 152 …tate, blink::WebIDBPutModeCursorUpdate, IDBAny::create(this), value, m_primaryKey, exceptionState); in update() 155 void IDBCursor::advance(unsigned long count, ExceptionState& exceptionState) in advance() argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
D | V8WebGLRenderingContextCustom.cpp | 88 …oat* jsArrayToFloatArray(v8::Handle<v8::Array> array, uint32_t len, ExceptionState& exceptionState) in jsArrayToFloatArray() argument 92 exceptionState.throwTypeError("Array length exceeds supported limit."); in jsArrayToFloatArray() 99 float value = toFloat(val, exceptionState); in jsArrayToFloatArray() 100 if (exceptionState.hadException()) { in jsArrayToFloatArray() 111 …c int* jsArrayToIntArray(v8::Handle<v8::Array> array, uint32_t len, ExceptionState& exceptionState) in jsArrayToIntArray() argument 115 exceptionState.throwTypeError("Array length exceeds supported limit."); in jsArrayToIntArray() 122 int ival = toInt32(val, exceptionState); in jsArrayToIntArray() 123 if (exceptionState.hadException()) { in jsArrayToIntArray() 286 …t v8::FunctionCallbackInfo<v8::Value>& info, ObjectType objectType, ExceptionState& exceptionState) in getObjectParameter() argument 289 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(2, info.Length())); in getObjectParameter() [all …]
|
D | V8ElementCustom.cpp | 50 …ExceptionState exceptionState(ExceptionState::SetterContext, "scrollLeft", "Element", info.Holder(… in scrollLeftAttributeSetterCustom() local 55 impl->setScrollLeft(scrollOptionsHorizontal, exceptionState); in scrollLeftAttributeSetterCustom() 56 exceptionState.throwIfNeeded(); in scrollLeftAttributeSetterCustom() 60 TONATIVE_VOID_EXCEPTIONSTATE(float, position, toInt32(value, exceptionState), exceptionState); in scrollLeftAttributeSetterCustom() 66 …ExceptionState exceptionState(ExceptionState::SetterContext, "scrollTop", "Element", info.Holder()… in scrollTopAttributeSetterCustom() local 71 impl->setScrollTop(scrollOptionsVertical, exceptionState); in scrollTopAttributeSetterCustom() 72 exceptionState.throwIfNeeded(); in scrollTopAttributeSetterCustom() 76 TONATIVE_VOID_EXCEPTIONSTATE(float, position, toInt32(value, exceptionState), exceptionState); in scrollTopAttributeSetterCustom() 96 …ExceptionState exceptionState(ExceptionState::ExecutionContext, "animate", "Element", info.Holder(… in animate2Method() local 99 RefPtr<AnimationPlayer> result = ElementAnimation::animate(*impl, keyframes, exceptionState); in animate2Method() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | TreeWalker.cpp | 43 void TreeWalker::setCurrentNode(PassRefPtrWillBeRawPtr<Node> node, ExceptionState& exceptionState) in setCurrentNode() argument 46 …exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::argumentNullOrIncorrectType… in setCurrentNode() 58 Node* TreeWalker::parentNode(ExceptionState& exceptionState) in parentNode() argument 65 short acceptNodeResult = acceptNode(node.get(), exceptionState); in parentNode() 66 if (exceptionState.hadException()) in parentNode() 74 Node* TreeWalker::firstChild(ExceptionState& exceptionState) in firstChild() argument 77 short acceptNodeResult = acceptNode(node.get(), exceptionState); in firstChild() 78 if (exceptionState.hadException()) in firstChild() 107 Node* TreeWalker::lastChild(ExceptionState& exceptionState) in lastChild() argument 110 short acceptNodeResult = acceptNode(node.get(), exceptionState); in lastChild() [all …]
|
D | Range.cpp | 157 …d Range::setStart(PassRefPtrWillBeRawPtr<Node> refNode, int offset, ExceptionState& exceptionState) in setStart() argument 160 exceptionState.throwDOMException(NotFoundError, "The node provided was null."); in setStart() 170 Node* childNode = checkNodeWOffset(refNode.get(), offset, exceptionState); in setStart() 171 if (exceptionState.hadException()) in setStart() 180 void Range::setEnd(PassRefPtrWillBeRawPtr<Node> refNode, int offset, ExceptionState& exceptionState) in setEnd() argument 183 exceptionState.throwDOMException(NotFoundError, "The node provided was null."); in setEnd() 193 Node* childNode = checkNodeWOffset(refNode.get(), offset, exceptionState); in setEnd() 194 if (exceptionState.hadException()) in setEnd() 203 void Range::setStart(const Position& start, ExceptionState& exceptionState) in setStart() argument 206 … setStart(parentAnchored.containerNode(), parentAnchored.offsetInContainerNode(), exceptionState); in setStart() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
D | Internals.cpp | 270 unsigned Internals::updateStyleAndReturnAffectedElementCount(ExceptionState& exceptionState) const in updateStyleAndReturnAffectedElementCount() 274 exceptionState.throwDOMException(InvalidAccessError, "No context document is available."); in updateStyleAndReturnAffectedElementCount() 283 unsigned Internals::needsLayoutCount(ExceptionState& exceptionState) const in needsLayoutCount() 287 exceptionState.throwDOMException(InvalidAccessError, "No context frame is available."); in needsLayoutCount() 326 String Internals::styleResolverStatsReport(ExceptionState& exceptionState) const in styleResolverStatsReport() 330 exceptionState.throwDOMException(InvalidStateError, "Style resolver stats not enabled"); in styleResolverStatsReport() 336 String Internals::styleResolverStatsTotalsReport(ExceptionState& exceptionState) const in styleResolverStatsTotalsReport() 340 exceptionState.throwDOMException(InvalidStateError, "Style resolver stats not enabled"); in styleResolverStatsTotalsReport() 346 bool Internals::isSharingStyle(Element* element1, Element* element2, ExceptionState& exceptionState… in isSharingStyle() 349 …exceptionState.throwDOMException(InvalidAccessError, ExceptionMessages::argumentNullOrIncorrectTyp… in isSharingStyle() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
D | RTCPeerConnection.cpp | 74 …tionIfSignalingStateClosed(RTCPeerConnection::SignalingState state, ExceptionState& exceptionState) in throwExceptionIfSignalingStateClosed() argument 77 …exceptionState.throwDOMException(InvalidStateError, "The RTCPeerConnection's signalingState is 'cl… in throwExceptionIfSignalingStateClosed() 86 …PeerConnection::parseConfiguration(const Dictionary& configuration, ExceptionState& exceptionState) in parseConfiguration() argument 94 exceptionState.throwTypeError("Malformed RTCConfiguration"); in parseConfiguration() 101 exceptionState.throwTypeError("Malformed RTCConfiguration"); in parseConfiguration() 111 exceptionState.throwTypeError("Malformed RTCIceServer"); in parseConfiguration() 125 exceptionState.throwTypeError("Malformed RTCIceServer"); in parseConfiguration() 134 exceptionState.throwTypeError("Malformed RTCIceServer"); in parseConfiguration() 138 exceptionState.throwTypeError("Malformed RTCIceServer"); in parseConfiguration() 149 exceptionState.throwTypeError("Malformed URL"); in parseConfiguration() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
D | DatabaseSync.cpp | 76 …sion, PassOwnPtr<SQLTransactionSyncCallback> changeVersionCallback, ExceptionState& exceptionState) in changeVersion() argument 83 …exceptionState.throwDOMException(SQLDatabaseError, "Unable to change version from within a transac… in changeVersion() 88 transaction->begin(exceptionState); in changeVersion() 89 if (exceptionState.hadException()) { in changeVersion() 98 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); in changeVersion() 105 exceptionState.throwDOMException(VersionError, SQLError::versionErrorMessage); in changeVersion() 110 transaction->execute(exceptionState); in changeVersion() 111 if (exceptionState.hadException()) { in changeVersion() 119 exceptionState.throwDOMException(UnknownError, SQLError::unknownErrorMessage); in changeVersion() 123 transaction->commit(exceptionState); in changeVersion() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGStringListTearOff.h | 54 void clear(ExceptionState& exceptionState) in clear() argument 57 … exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); in clear() 65 String initialize(const String& item, ExceptionState& exceptionState) in initialize() argument 68 … exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); in initialize() 78 String getItem(unsigned long index, ExceptionState& exceptionState) in getItem() argument 80 return target()->getItem(index, exceptionState); in getItem() 83 String insertItemBefore(const String& item, unsigned long index, ExceptionState& exceptionState) in insertItemBefore() argument 86 … exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); in insertItemBefore() 96 String replaceItem(const String& item, unsigned long index, ExceptionState& exceptionState) in replaceItem() argument 99 … exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); in replaceItem() [all …]
|
D | SVGAngleTearOff.cpp | 50 void SVGAngleTearOff::setValue(float value, ExceptionState& exceptionState) in setValue() argument 53 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); in setValue() 61 void SVGAngleTearOff::setValueInSpecifiedUnits(float value, ExceptionState& exceptionState) in setValueInSpecifiedUnits() argument 64 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); in setValueInSpecifiedUnits() 72 …pecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) in newValueSpecifiedUnits() argument 75 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); in newValueSpecifiedUnits() 80 …exceptionState.throwDOMException(NotSupportedError, "Cannot set value with unknown or invalid unit… in newValueSpecifiedUnits() 88 …d SVGAngleTearOff::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState) in convertToSpecifiedUnits() argument 91 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); in convertToSpecifiedUnits() 96 …exceptionState.throwDOMException(NotSupportedError, "Cannot convert to unknown or invalid units ("… in convertToSpecifiedUnits() [all …]
|
D | SVGLengthContext.cpp | 101 …nits(float value, SVGLengthMode mode, SVGLengthType fromUnit, ExceptionState& exceptionState) const in convertValueToUserUnits() 108 return convertValueFromPercentageToUserUnits(value, mode, exceptionState); in convertValueToUserUnits() 113 …exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::argumentNullOrIncorrectType… in convertValueToUserUnits() 120 return convertValueFromPercentageToUserUnits(value / 100, mode, exceptionState); in convertValueToUserUnits() 122 return convertValueFromEMSToUserUnits(value, exceptionState); in convertValueToUserUnits() 124 return convertValueFromEXSToUserUnits(value, exceptionState); in convertValueToUserUnits() 141 …rUnits(float value, SVGLengthMode mode, SVGLengthType toUnit, ExceptionState& exceptionState) const in convertValueFromUserUnits() 145 …exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::argumentNullOrIncorrectType… in convertValueFromUserUnits() 150 return convertValueFromUserUnitsToPercentage(value * 100, mode, exceptionState); in convertValueFromUserUnits() 152 return convertValueFromUserUnitsToEMS(value, exceptionState); in convertValueFromUserUnits() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/ |
D | SourceBuffer.cpp | 58 … throwExceptionIfRemovedOrUpdating(bool isRemoved, bool isUpdating, ExceptionState& exceptionState) in throwExceptionIfRemovedOrUpdating() argument 61 …exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer has been removed from the p… in throwExceptionIfRemovedOrUpdating() 65 …exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer is still processing an 'app… in throwExceptionIfRemovedOrUpdating() 124 void SourceBuffer::setMode(const AtomicString& newMode, ExceptionState& exceptionState) in setMode() argument 131 if (throwExceptionIfRemovedOrUpdating(isRemoved(), m_updating, exceptionState)) in setMode() 145 …exceptionState.throwDOMException(InvalidStateError, "The mode may not be set while the SourceBuffe… in setMode() 153 PassRefPtr<TimeRanges> SourceBuffer::buffered(ExceptionState& exceptionState) const in buffered() 159 …exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer has been removed from the p… in buffered() 172 void SourceBuffer::setTimestampOffset(double offset, ExceptionState& exceptionState) in setTimestampOffset() argument 180 if (throwExceptionIfRemovedOrUpdating(isRemoved(), m_updating, exceptionState)) in setTimestampOffset() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XPathResult.cpp | 77 void XPathResult::convertTo(unsigned short type, ExceptionState& exceptionState) in convertTo() argument 100 …exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to … in convertTo() 107 …exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to … in convertTo() 115 …exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to … in convertTo() 129 double XPathResult::numberValue(ExceptionState& exceptionState) const in numberValue() 132 exceptionState.throwTypeError("The result type is not a number."); in numberValue() 138 String XPathResult::stringValue(ExceptionState& exceptionState) const in stringValue() 141 exceptionState.throwTypeError("The result type is not a string."); in stringValue() 147 bool XPathResult::booleanValue(ExceptionState& exceptionState) const in booleanValue() 150 exceptionState.throwTypeError("The result type is not a boolean."); in booleanValue() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/ |
D | CustomElementException.cpp | 44 …tException::throwException(Reason reason, const AtomicString& type, ExceptionState& exceptionState) in throwException() argument 48 …exceptionState.throwDOMException(NotSupportedError, preamble(type) + "Elements cannot be registere… in throwException() 52 …exceptionState.throwDOMException(NotSupportedError, preamble(type) + "Prototype constructor proper… in throwException() 56 …exceptionState.throwDOMException(InvalidStateError, preamble(type) + "The context is no longer val… in throwException() 60 …exceptionState.throwDOMException(InvalidStateError, preamble(type) + "The context is no longer val… in throwException() 64 …exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The context is no longer val… in throwException() 68 …exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The tag name specified in 'e… in throwException() 72 …exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The tag name specified in 'e… in throwException() 76 exceptionState.throwDOMException(SyntaxError, preamble(type) + "The type name is invalid."); in throwException() 80 …exceptionState.throwDOMException(NotSupportedError, preamble(type) + "The prototype is already in-… in throwException() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/beacon/ |
D | NavigatorBeacon.cpp | 42 …orBeacon::canSendBeacon(ExecutionContext* context, const KURL& url, ExceptionState& exceptionState) in canSendBeacon() argument 45 … exceptionState.throwDOMException(SyntaxError, "The URL argument is ill-formed or unsupported."); in canSendBeacon() 50 exceptionState.throwDOMException(SyntaxError, "Beacons are only supported over HTTP(S)."); in canSendBeacon() 56 …exceptionState.throwSecurityError("Refused to send beacon to '" + url.elidedString() + "' because … in canSendBeacon() 85 … Navigator& navigator, const String& urlstring, const String& data, ExceptionState& exceptionState) in sendBeacon() argument 87 return NavigatorBeacon::from(navigator).sendBeacon(context, urlstring, data, exceptionState); in sendBeacon() 90 …utionContext* context, const String& urlstring, const String& data, ExceptionState& exceptionState) in sendBeacon() argument 93 if (!canSendBeacon(context, url, exceptionState)) in sendBeacon() 104 …vigator, const String& urlstring, PassRefPtr<ArrayBufferView> data, ExceptionState& exceptionState) in sendBeacon() argument 106 return NavigatorBeacon::from(navigator).sendBeacon(context, urlstring, data, exceptionState); in sendBeacon() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
D | FileReaderSync.cpp | 49 …::readAsArrayBuffer(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) in readAsArrayBuffer() argument 52 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); in readAsArrayBuffer() 57 startLoading(executionContext, loader, *blob, exceptionState); in readAsArrayBuffer() 62 …:readAsBinaryString(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) in readAsBinaryString() argument 65 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); in readAsBinaryString() 70 startLoading(executionContext, loader, *blob, exceptionState); in readAsBinaryString() 74 …utionContext* executionContext, Blob* blob, const String& encoding, ExceptionState& exceptionState) in readAsText() argument 77 exceptionState.throwDOMException(NotFoundError, FileError::notFoundErrorMessage); in readAsText() 83 startLoading(executionContext, loader, *blob, exceptionState); in readAsText() 87 …Sync::readAsDataURL(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) in readAsDataURL() argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
D | V8TestInterface2.cpp | 52 …ExceptionState exceptionState(ExceptionState::ExecutionContext, "item", "TestInterface2", info.Hol… in itemMethod() local 54 throwMinimumArityTypeError(exceptionState, 1, info.Length()); in itemMethod() 62 … TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(index, toUInt32(info[0], exceptionState), exceptionState); in itemMethod() 64 RefPtr<TestInterfaceEmpty> result = impl->item(index, exceptionState); in itemMethod() 65 if (exceptionState.hadException()) { in itemMethod() 66 exceptionState.throwIfNeeded(); in itemMethod() 81 …ExceptionState exceptionState(ExceptionState::ExecutionContext, "setItem", "TestInterface2", info.… in setItemMethod() local 83 throwMinimumArityTypeError(exceptionState, 2, info.Length()); in setItemMethod() 92 … TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(index, toUInt32(info[0], exceptionState), exceptionState); in setItemMethod() 95 String result = impl->setItem(index, value, exceptionState); in setItemMethod() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/ |
D | MIDIOutput.cpp | 54 static bool validate(Uint8Array* array, ExceptionState& exceptionState, bool sysexEnabled) in validate() argument 57 return validator.process(exceptionState, sysexEnabled); in validate() 65 bool process(ExceptionState& exceptionState, bool sysexEnabled) in process() argument 69 … exceptionState.throwTypeError("Running status is not allowed " + getPositionString()); in process() 73 …exceptionState.throwTypeError("Unexpected end of system exclusive message " + getPositionString()); in process() 77 … exceptionState.throwTypeError("Reserved status is not allowed " + getPositionString()); in process() 82 …exceptionState.throwDOMException(InvalidAccessError, "System exclusive message is not allowed " + … in process() 87 …exceptionState.throwTypeError("System exclusive message is not ended by end of system exclusive me… in process() 89 …exceptionState.throwTypeError("System exclusive message contains a status byte " + getPositionStri… in process() 95 exceptionState.throwTypeError("Message is incomplete."); in process() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/imagebitmap/ |
D | ImageBitmapFactories.cpp | 81 …te* scriptState, EventTarget& eventTarget, HTMLImageElement* image, ExceptionState& exceptionState) in createImageBitmap() argument 84 …rn createImageBitmap(scriptState, eventTarget, image, 0, 0, s.width(), s.height(), exceptionState); in createImageBitmap() 87 …entTarget, HTMLImageElement* image, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) in createImageBitmap() argument 93 …exceptionState.throwDOMException(InvalidStateError, "No image can be retrieved from the provided e… in createImageBitmap() 97 …exceptionState.throwDOMException(InvalidStateError, "The image element contains an SVG image, whic… in createImageBitmap() 101 …exceptionState.throwDOMException(IndexSizeError, String::format("The source %s provided is 0.", sw… in createImageBitmap() 105 … exceptionState.throwSecurityError("The source image contains image data from multiple origins."); in createImageBitmap() 109 exceptionState.throwSecurityError("Cross-origin access to the source image is denied."); in createImageBitmap() 116 …te* scriptState, EventTarget& eventTarget, HTMLVideoElement* video, ExceptionState& exceptionState) in createImageBitmap() argument 119 …rn createImageBitmap(scriptState, eventTarget, video, 0, 0, s.width(), s.height(), exceptionState); in createImageBitmap() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
D | SVGListPropertyTearOffHelper.h | 90 void clear(ExceptionState& exceptionState) in clear() argument 93 … exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); in clear() 100 …r<ItemTearOffType> initialize(PassRefPtr<ItemTearOffType> passItem, ExceptionState& exceptionState) in initialize() argument 105 … exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); in initialize() 110 exceptionState.throwTypeError("Lists must be initialized with a valid item."); in initialize() 120 PassRefPtr<ItemTearOffType> getItem(unsigned long index, ExceptionState& exceptionState) in getItem() argument 122 RefPtr<ItemPropertyType> value = toDerived()->target()->getItem(index, exceptionState); in getItem() 126 …emBefore(PassRefPtr<ItemTearOffType> passItem, unsigned long index, ExceptionState& exceptionState) in insertItemBefore() argument 131 … exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only."); in insertItemBefore() 136 exceptionState.throwTypeError("An invalid item cannot be inserted to a list."); in insertItemBefore() [all …]
|