Searched refs:exceptionState (Results 51 - 75 of 332) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioScheduledSourceNode.h60 void start(ExceptionState& exceptionState) { start(0.0, exceptionState); } argument
62 void stop(ExceptionState& exceptionState) { stop(0.0, exceptionState); } argument
H A DAnalyserNode.cpp77 void AnalyserNode::setFftSize(unsigned size, ExceptionState& exceptionState) argument
80 exceptionState.throwDOMException(
88 void AnalyserNode::setMinDecibels(double k, ExceptionState& exceptionState) argument
93 exceptionState.throwDOMException(
99 void AnalyserNode::setMaxDecibels(double k, ExceptionState& exceptionState) argument
104 exceptionState.throwDOMException(
110 void AnalyserNode::setSmoothingTimeConstant(double k, ExceptionState& exceptionState) argument
115 exceptionState.throwDOMException(
H A DOfflineAudioContext.cpp40 OfflineAudioContext* OfflineAudioContext::create(ExecutionContext* context, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) argument
44 exceptionState.throwDOMException(
53 exceptionState.throwDOMException(SyntaxError, "number of frames cannot be zero.");
58 exceptionState.throwDOMException(
71 exceptionState.throwDOMException(
83 exceptionState.throwDOMException(
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
H A DV8SQLTransactionCustom.cpp49 ExceptionState exceptionState(ExceptionState::ExecutionContext, "executeSql", "SQLTransaction", info.Holder(), info.GetIsolate());
51 exceptionState.throwDOMException(SyntaxError, ExceptionMessages::notEnoughArguments(1, 0));
52 exceptionState.throwIfNeeded();
62 exceptionState.throwDOMException(TypeMismatchError, "The 'arguments' (2nd) argument provided is not an object.");
63 exceptionState.throwIfNeeded();
96 exceptionState.throwDOMException(TypeMismatchError, "The 'callback' (2nd) argument provided is not a function.");
97 exceptionState.throwIfNeeded();
108 exceptionState.throwDOMException(TypeMismatchError, "The 'errorCallback' (3rd) argument provided is not a function.");
109 exceptionState.throwIfNeeded();
117 transaction->executeSQL(statement, sqlValues, callback, errorCallback, exceptionState);
[all...]
H A DV8SQLResultSetRowListCustom.cpp44 ExceptionState exceptionState(ExceptionState::ExecutionContext, "item", "SQLResultSetRowList", info.Holder(), info.GetIsolate());
46 exceptionState.throwDOMException(SyntaxError, ExceptionMessages::notEnoughArguments(1, 0));
47 exceptionState.throwIfNeeded();
52 exceptionState.throwTypeError("The index provided is not a number.");
53 exceptionState.throwIfNeeded();
61 exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::indexExceedsMaximumBound<unsigned>("index", index, rowList->length()));
62 exceptionState.throwIfNeeded();
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
H A DV8TestInterfaceConstructor.cpp40 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
43 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, exceptionState);
44 if (exceptionState.hadException()) {
45 exceptionState.throwIfNeeded();
55 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor", info.Holder(), info.GetIsolate());
65 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(doubleArg, toDouble(info[0], exceptionState), exceptionState);
69 exceptionState.throwTypeError("parameter 4 ('dictionaryArg') is not an object.");
70 exceptionState.throwIfNeeded();
74 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(sequenceStringArg, toImplArray<String>(info[4], 5, info.GetIsolate(), exceptionState), exceptionStat
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
H A DCustomElementRegistry.cpp64 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/modules/filesystem/
H A DEntrySync.cpp53 Metadata* EntrySync::getMetadata(ExceptionState& exceptionState) argument
57 return helper->getResult(exceptionState);
60 EntrySync* EntrySync::moveTo(DirectoryEntrySync* parent, const String& name, ExceptionState& exceptionState) const
64 return helper->getResult(exceptionState);
67 EntrySync* EntrySync::copyTo(DirectoryEntrySync* parent, const String& name, ExceptionState& exceptionState) const
71 return helper->getResult(exceptionState);
74 void EntrySync::remove(ExceptionState& exceptionState) const
78 helper->getResult(exceptionState);
H A DDirectoryEntrySync.cpp53 FileEntrySync* DirectoryEntrySync::getFile(const String& path, const Dictionary& options, ExceptionState& exceptionState) argument
58 return static_cast<FileEntrySync*>(helper->getResult(exceptionState));
61 DirectoryEntrySync* DirectoryEntrySync::getDirectory(const String& path, const Dictionary& options, ExceptionState& exceptionState) argument
66 return static_cast<DirectoryEntrySync*>(helper->getResult(exceptionState));
69 void DirectoryEntrySync::removeRecursively(ExceptionState& exceptionState) argument
73 helper->getResult(exceptionState);
H A DFileWriterSync.cpp43 void FileWriterSync::write(Blob* data, ExceptionState& exceptionState) argument
48 exceptionState.throwDOMException(TypeMismatchError, FileError::typeMismatchErrorMessage);
56 FileError::throwDOMException(exceptionState, m_error);
64 void FileWriterSync::seek(long long position, ExceptionState& exceptionState) argument
71 void FileWriterSync::truncate(long long offset, ExceptionState& exceptionState) argument
76 exceptionState.throwDOMException(InvalidStateError, FileError::invalidStateErrorMessage);
83 FileError::throwDOMException(exceptionState, m_error);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DBindingSecurity.cpp58 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/dom/
H A DDOMURL.h46 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));
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
H A DIDBFactory.cpp73 IDBRequest* IDBFactory::getDatabaseNames(ScriptState* scriptState, ExceptionState& exceptionState) argument
79 exceptionState.throwSecurityError("access to the Indexed Database API is denied in this context.");
94 IDBOpenDBRequest* IDBFactory::open(ScriptState* scriptState, const String& name, unsigned long long version, ExceptionState& exceptionState) argument
98 exceptionState.throwTypeError("The version provided must not be 0.");
101 return openInternal(scriptState, name, version, exceptionState);
104 IDBOpenDBRequest* IDBFactory::openInternal(ScriptState* scriptState, const String& name, int64_t version, ExceptionState& exceptionState) argument
109 exceptionState.throwTypeError("The name provided must not be empty.");
115 exceptionState.throwSecurityError("access to the Indexed Database API is denied in this context.");
132 IDBOpenDBRequest* IDBFactory::open(ScriptState* scriptState, const String& name, ExceptionState& exceptionState) argument
135 return openInternal(scriptState, name, IDBDatabaseMetadata::NoIntVersion, exceptionState);
138 deleteDatabase(ScriptState* scriptState, const String& name, ExceptionState& exceptionState) argument
164 cmp(ScriptState* scriptState, const ScriptValue& firstValue, const ScriptValue& secondValue, ExceptionState& exceptionState) argument
[all...]
H A DIDBObjectStore.cpp87 IDBRequest* IDBObjectStore::get(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState) argument
91 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::objectStoreDeletedErrorMessage);
95 exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionFinishedErrorMessage);
99 exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionInactiveErrorMessage);
102 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), key, exceptionState);
103 if (exceptionState.hadException())
106 exceptionState.throwDOMException(DataError, IDBDatabase::noKeyOrKeyRangeErrorMessage);
110 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::databaseClosedErrorMessage);
142 IDBRequest* IDBObjectStore::add(ScriptState* scriptState, const ScriptValue& value, const ScriptValue& key, ExceptionState& exceptionState) argument
145 return put(scriptState, WebIDBPutModeAddOnly, IDBAny::create(this), value, key, exceptionState);
148 put(ScriptState* scriptState, const ScriptValue& value, const ScriptValue& key, ExceptionState& exceptionState) argument
154 put(ScriptState* scriptState, WebIDBPutMode putMode, IDBAny* source, const ScriptValue& value, const ScriptValue& keyValue, ExceptionState& exceptionState) argument
160 put(ScriptState* scriptState, WebIDBPutMode putMode, IDBAny* source, const ScriptValue& value, IDBKey* key, ExceptionState& exceptionState) argument
265 deleteFunction(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState) argument
302 clear(ScriptState* scriptState, ExceptionState& exceptionState) argument
407 createIndex(ScriptState* scriptState, const String& name, const IDBKeyPath& keyPath, const IDBIndexParameters& options, ExceptionState& exceptionState) argument
472 index(const String& name, ExceptionState& exceptionState) argument
509 deleteIndex(const String& name, ExceptionState& exceptionState) argument
549 openCursor(ScriptState* scriptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) argument
590 openKeyCursor(ScriptState* scriptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) argument
626 count(ScriptState* scriptState, const ScriptValue& range, ExceptionState& exceptionState) argument
[all...]
H A DIDBCursor.cpp93 IDBRequest* IDBCursor::update(ScriptState* scriptState, const ScriptValue& value, ExceptionState& exceptionState) argument
98 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::noValueErrorMessage);
102 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::isKeyCursorErrorMessage);
106 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::sourceDeletedErrorMessage);
110 exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionFinishedErrorMessage);
114 exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionInactiveErrorMessage);
118 exceptionState.throwDOMException(ReadOnlyError, "The record may not be updated inside a read-only transaction.");
123 return objectStore->put(scriptState, WebIDBPutModeCursorUpdate, IDBAny::create(this), value, m_primaryKey, exceptionState);
126 void IDBCursor::advance(unsigned long count, ExceptionState& exceptionState) argument
130 exceptionState
156 continueFunction(ScriptState* scriptState, const ScriptValue& keyValue, ExceptionState& exceptionState) argument
167 continuePrimaryKey(ScriptState* scriptState, const ScriptValue& keyValue, const ScriptValue& primaryKeyValue, ExceptionState& exceptionState) argument
179 continueFunction(IDBKey* key, IDBKey* primaryKey, ExceptionState& exceptionState) argument
229 deleteFunction(ScriptState* scriptState, ExceptionState& exceptionState) argument
367 stringToDirection(const String& directionString, ExceptionState& exceptionState) argument
[all...]
H A DIDBKeyRange.cpp36 IDBKeyRange* IDBKeyRange::fromScriptValue(ExecutionContext* context, const ScriptValue& value, ExceptionState& exceptionState) argument
47 exceptionState.throwDOMException(DataError, IDBDatabase::notValidKeyErrorMessage);
78 IDBKeyRange* IDBKeyRange::only(IDBKey* key, ExceptionState& exceptionState) argument
81 exceptionState.throwDOMException(DataError, IDBDatabase::notValidKeyErrorMessage);
88 IDBKeyRange* IDBKeyRange::only(ExecutionContext* context, const ScriptValue& keyValue, ExceptionState& exceptionState) argument
92 exceptionState.throwDOMException(DataError, IDBDatabase::notValidKeyErrorMessage);
99 IDBKeyRange* IDBKeyRange::lowerBound(ExecutionContext* context, const ScriptValue& boundValue, bool open, ExceptionState& exceptionState) argument
103 exceptionState.throwDOMException(DataError, IDBDatabase::notValidKeyErrorMessage);
110 IDBKeyRange* IDBKeyRange::upperBound(ExecutionContext* context, const ScriptValue& boundValue, bool open, ExceptionState& exceptionState) argument
114 exceptionState
121 bound(ExecutionContext* context, const ScriptValue& lowerValue, const ScriptValue& upperValue, bool lowerOpen, bool upperOpen, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8HistoryCustom.cpp64 ExceptionState exceptionState(ExceptionState::ExecutionContext, "pushState", "History", info.Holder(), info.GetIsolate());
65 RefPtr<SerializedScriptValue> historyState = SerializedScriptValue::create(info[0], 0, 0, exceptionState, info.GetIsolate());
66 if (exceptionState.throwIfNeeded())
73 history->stateObjectAdded(historyState.release(), title, url, FrameLoadTypeStandard, exceptionState);
75 exceptionState.throwIfNeeded();
80 ExceptionState exceptionState(ExceptionState::ExecutionContext, "replaceState", "History", info.Holder(), info.GetIsolate());
81 RefPtr<SerializedScriptValue> historyState = SerializedScriptValue::create(info[0], 0, 0, exceptionState, info.GetIsolate());
82 if (exceptionState.throwIfNeeded())
89 history->stateObjectAdded(historyState.release(), title, url, FrameLoadTypeRedirectWithLockedBackForwardList, exceptionState);
91 exceptionState
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
H A DSourceBuffer.cpp59 static bool throwExceptionIfRemovedOrUpdating(bool isRemoved, bool isUpdating, ExceptionState& exceptionState) argument
62 exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer has been removed from the parent media source.");
66 exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer is still processing an 'appendBuffer', 'appendStream', or 'remove' operation.");
132 void SourceBuffer::setMode(const AtomicString& newMode, ExceptionState& exceptionState) argument
139 if (throwExceptionIfRemovedOrUpdating(isRemoved(), m_updating, exceptionState))
153 exceptionState.throwDOMException(InvalidStateError, "The mode may not be set while the SourceBuffer's append state is 'PARSING_MEDIA_SEGMENT'.");
161 PassRefPtrWillBeRawPtr<TimeRanges> SourceBuffer::buffered(ExceptionState& exceptionState) const
167 exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer has been removed from the parent media source.");
180 void SourceBuffer::setTimestampOffset(double offset, ExceptionState& exceptionState) argument
188 if (throwExceptionIfRemovedOrUpdating(isRemoved(), m_updating, exceptionState))
212 setAppendWindowStart(double start, ExceptionState& exceptionState) argument
240 setAppendWindowEnd(double end, ExceptionState& exceptionState) argument
268 appendBuffer(PassRefPtr<ArrayBuffer> data, ExceptionState& exceptionState) argument
272 appendBufferInternal(static_cast<const unsigned char*>(data->data()), data->byteLength(), exceptionState); local
275 appendBuffer(PassRefPtr<ArrayBufferView> data, ExceptionState& exceptionState) argument
279 appendBufferInternal(static_cast<const unsigned char*>(data->baseAddress()), data->byteLength(), exceptionState); local
282 appendStream(PassRefPtrWillBeRawPtr<Stream> stream, ExceptionState& exceptionState) argument
288 appendStream(PassRefPtrWillBeRawPtr<Stream> stream, unsigned long long maxSize, ExceptionState& exceptionState) argument
296 abort(ExceptionState& exceptionState) argument
323 setAppendWindowEnd(std::numeric_limits<double>::infinity(), exceptionState); local
326 remove(double start, double end, ExceptionState& exceptionState) argument
499 appendBufferInternal(const unsigned char* data, unsigned size, ExceptionState& exceptionState) argument
614 appendStreamInternal(PassRefPtrWillBeRawPtr<Stream> stream, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTableSectionElement.cpp57 PassRefPtrWillBeRawPtr<HTMLElement> HTMLTableSectionElement::insertRow(int index, ExceptionState& exceptionState) argument
62 exceptionState.throwDOMException(IndexSizeError, "The provided index (" + String::number(index) + " is outside the range [-1, " + String::number(numRows) + "].");
68 appendChild(row, exceptionState);
70 insertBefore(row, children->item(index), exceptionState);
74 void HTMLTableSectionElement::deleteRow(int index, ExceptionState& exceptionState) argument
82 HTMLElement::removeChild(row.get(), exceptionState);
84 exceptionState.throwDOMException(IndexSizeError, "The provided index (" + String::number(index) + " is outside the range [-1, " + String::number(numRows) + "].");
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGLengthTearOff.cpp109 void SVGLengthTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) argument
112 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
117 exceptionState.throwDOMException(NotSupportedError, "Cannot set value with unknown or invalid units (" + String::number(unitType) + ").");
125 void SVGLengthTearOff::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState) argument
128 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
133 exceptionState.throwDOMException(NotSupportedError, "Cannot convert to unknown or invalid units (" + String::number(unitType) + ").");
138 target()->convertToSpecifiedUnits(toSVGLengthType(unitType), lengthContext, exceptionState); local
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/
H A DSVGListPropertyTearOffHelper.h90 void clear(ExceptionState& exceptionState) argument
93 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
100 PassRefPtr<ItemTearOffType> initialize(PassRefPtr<ItemTearOffType> passItem, ExceptionState& exceptionState) argument
105 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
110 exceptionState.throwTypeError("Lists must be initialized with a valid item.");
120 PassRefPtr<ItemTearOffType> getItem(unsigned long index, ExceptionState& exceptionState) argument
122 RefPtr<ItemPropertyType> value = toDerived()->target()->getItem(index, exceptionState);
126 PassRefPtr<ItemTearOffType> insertItemBefore(PassRefPtr<ItemTearOffType> passItem, unsigned long index, ExceptionState& exceptionState) argument
131 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
136 exceptionState
146 replaceItem(PassRefPtr<ItemTearOffType> passItem, unsigned long index, ExceptionState& exceptionState) argument
166 anonymousIndexedSetter(unsigned index, PassRefPtr<ItemTearOffType> passItem, ExceptionState& exceptionState) argument
172 removeItem(unsigned long index, ExceptionState& exceptionState) argument
180 appendItem(PassRefPtr<ItemTearOffType> passItem, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
H A DRTCDataChannel.cpp40 static void throwNotOpenException(ExceptionState& exceptionState) argument
42 exceptionState.throwDOMException(InvalidStateError, "RTCDataChannel.readyState is not 'open'");
45 static void throwCouldNotSendDataException(ExceptionState& exceptionState) argument
47 exceptionState.throwDOMException(NetworkError, "Could not send data");
50 static void throwNoBlobSupportException(ExceptionState& exceptionState) argument
52 exceptionState.throwDOMException(NotSupportedError, "Blob support not implemented yet");
61 RTCDataChannel* RTCDataChannel::create(ExecutionContext* context, RTCPeerConnection* connection, WebRTCPeerConnectionHandler* peerConnectionHandler, const String& label, const WebRTCDataChannelInit& init, ExceptionState& exceptionState) argument
65 exceptionState.throwDOMException(NotSupportedError, "RTCDataChannel is not supported");
166 void RTCDataChannel::setBinaryType(const String& binaryType, ExceptionState& exceptionState) argument
169 throwNoBlobSupportException(exceptionState);
176 send(const String& data, ExceptionState& exceptionState) argument
188 send(PassRefPtr<ArrayBuffer> prpData, ExceptionState& exceptionState) argument
207 send(PassRefPtr<ArrayBufferView> data, ExceptionState& exceptionState) argument
215 send(PassRefPtrWillBeRawPtr<Blob> data, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DElementAnimation.h65 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/imagebitmap/
H A DImageBitmapFactories.cpp80 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageElement* image, ExceptionState& exceptionState) argument
83 return createImageBitmap(scriptState, eventTarget, image, 0, 0, s.width(), s.height(), exceptionState);
86 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageElement* image, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument
92 exceptionState.throwDOMException(InvalidStateError, "No image can be retrieved from the provided element.");
96 exceptionState.throwDOMException(InvalidStateError, "The image element contains an SVG image, which is unsupported.");
100 exceptionState.throwDOMException(IndexSizeError, String::format("The source %s provided is 0.", sw ? "height" : "width"));
104 exceptionState.throwSecurityError("The source image contains image data from multiple origins.");
108 exceptionState.throwSecurityError("Cross-origin access to the source image is denied.");
115 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLVideoElement* video, ExceptionState& exceptionState) argument
118 return createImageBitmap(scriptState, eventTarget, video, 0, 0, s.width(), s.height(), exceptionState);
121 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLVideoElement* video, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument
151 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, CanvasRenderingContext2D* context, ExceptionState& exceptionState) argument
156 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, CanvasRenderingContext2D* context, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument
161 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLCanvasElement* canvas, ExceptionState& exceptionState) argument
166 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLCanvasElement* canvas, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument
184 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, Blob* blob, ExceptionState& exceptionState) argument
193 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, Blob* blob, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument
206 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageData* data, ExceptionState& exceptionState) argument
211 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageData* data, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument
221 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageBitmap* bitmap, ExceptionState& exceptionState) argument
226 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageBitmap* bitmap, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DCache.cpp127 TrackExceptionState exceptionState; local
128 Request* request = Request::create(scriptState->executionContext(), originalRequest, exceptionState);
129 if (exceptionState.hadException()) {
138 TrackExceptionState exceptionState; local
139 Request* request = Request::create(scriptState->executionContext(), requestString, exceptionState);
140 if (exceptionState.hadException()) {
149 TrackExceptionState exceptionState; local
150 Request* request = Request::create(scriptState->executionContext(), originalRequest, exceptionState);
151 if (exceptionState.hadException()) {
160 TrackExceptionState exceptionState; local
171 TrackExceptionState exceptionState; local
182 TrackExceptionState exceptionState; local
199 TrackExceptionState exceptionState; local
210 TrackExceptionState exceptionState; local
221 TrackExceptionState exceptionState; local
232 TrackExceptionState exceptionState; local
248 TrackExceptionState exceptionState; local
259 TrackExceptionState exceptionState; local
[all...]

Completed in 721 milliseconds

1234567891011>>