/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
AnimatableStrokeDasharrayListTest.cpp | 58 TrackExceptionState exceptionState;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
SplitTextNodeCommand.cpp | 29 #include "bindings/core/v8/ExceptionState.h" 99 TrackExceptionState exceptionState; 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);
|
SplitElementCommand.cpp | 29 #include "bindings/core/v8/ExceptionState.h" 56 TrackExceptionState exceptionState; 61 parent->insertBefore(m_element1.get(), m_element2.get(), exceptionState); 62 if (exceptionState.hadException()) 70 m_element1->appendChild(children[i], exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
EffectInputTest.cpp | 32 TrackExceptionState exceptionState; 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.hadException()) [all...] |
AnimationPlayerTest.cpp | 89 TrackExceptionState exceptionState; 286 player->finish(exceptionState); 297 player->finish(exceptionState); 303 player->finish(exceptionState); 480 player->finish(exceptionState); 485 player->finish(exceptionState); 489 EXPECT_FALSE(exceptionState.hadException()); 495 player->finish(exceptionState); 503 player->finish(exceptionState); 511 player->finish(exceptionState); [all...] |
AnimationTest.cpp | 37 TrackExceptionState exceptionState; 49 static PassRefPtrWillBeRawPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyframeDictionaryVector, T timingInput, ExceptionState& exceptionState) 51 return Animation::create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), timingInput); 53 static PassRefPtrWillBeRawPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyframeDictionaryVector, ExceptionState& exceptionState) 55 return Animation::create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState)); 88 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState); 115 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, duration, exceptionState); 123 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, exceptionState); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAngleTearOff.cpp | 34 #include "bindings/core/v8/ExceptionState.h" 49 void SVGAngleTearOff::setValue(float value, ExceptionState& exceptionState) 52 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 60 void SVGAngleTearOff::setValueInSpecifiedUnits(float value, ExceptionState& exceptionState) 63 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only."); 71 void SVGAngleTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) 74 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.") [all...] |
SVGForeignObjectElement.cpp | 78 TrackExceptionState exceptionState; 79 length->setValueAsString(value, exceptionState); 80 if (!exceptionState.hadException()) {
|
SVGLengthTearOff.cpp | 35 #include "bindings/core/v8/ExceptionState.h" 60 float SVGLengthTearOff::value(ExceptionState& es) 66 void SVGLengthTearOff::setValue(float value, ExceptionState& es) 83 void SVGLengthTearOff::setValueInSpecifiedUnits(float value, ExceptionState& es) 98 void SVGLengthTearOff::setValueAsString(const String& str, ExceptionState& es) 109 void SVGLengthTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState) 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 [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebSerializedScriptValue.cpp | 34 #include "bindings/core/v8/ExceptionState.h" 47 TrackExceptionState exceptionState; 48 WebSerializedScriptValue serializedValue = SerializedScriptValue::create(value, 0, 0, exceptionState, v8::Isolate::GetCurrent()); 49 if (exceptionState.hadException())
|
WebElement.cpp | 34 #include "bindings/core/v8/ExceptionState.h" 97 TrackExceptionState exceptionState; 98 unwrap<Element>()->setAttribute(attrName, attrValue, exceptionState); 99 return !exceptionState.hadException();
|
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
RequestTest.cpp | 7 #include "bindings/core/v8/ExceptionState.h" 35 TrackExceptionState exceptionState; 38 Request* request = Request::create(executionContext(), url, exceptionState); 39 ASSERT_FALSE(exceptionState.hadException()); 46 TrackExceptionState exceptionState; 49 Request* request1 = Request::create(executionContext(), url, exceptionState); 52 Request* request2 = Request::create(executionContext(), request1, exceptionState); 53 ASSERT_FALSE(exceptionState.hadException()); 87 TrackExceptionState exceptionState; 88 EXPECT_EQ(iter->value, requestHeaders->get(iter->key, exceptionState)); [all...] |
Response.cpp | 9 #include "bindings/core/v8/ExceptionState.h" 38 TrackExceptionState exceptionState; 40 headers->append(i->key, i->value, exceptionState); 41 if (exceptionState.hadException()) 49 Response* Response::create(ExecutionContext* context, Blob* body, const Dictionary& responseInit, ExceptionState& exceptionState) 51 return create(context, body, ResponseInit(responseInit), exceptionState); 54 Response* Response::create(ExecutionContext* context, const String& body, const Dictionary& responseInit, ExceptionState& exceptionState) 62 return create(context, blob.get(), ResponseInit(responseInit), exceptionState); [all...] |
ResponseTest.cpp | 7 #include "bindings/core/v8/ExceptionState.h" 72 TrackExceptionState exceptionState; 73 EXPECT_EQ(iter->value, responseHeaders->get(iter->key, exceptionState)); 74 EXPECT_FALSE(exceptionState.hadException());
|
Headers.cpp | 9 #include "bindings/core/v8/ExceptionState.h" 25 Headers* Headers::create(ExceptionState&) 30 Headers* Headers::create(const Headers* init, ExceptionState& exceptionState) 36 headers->fillWith(init, exceptionState); 41 Headers* Headers::create(const Dictionary& init, ExceptionState& exceptionState) 47 headers->fillWith(init, exceptionState); 70 void Headers::append(const String& name, const String& value, ExceptionState& exceptionState) [all...] |
Cache.cpp | 127 TrackExceptionState exceptionState; 128 Request* request = Request::create(scriptState->executionContext(), originalRequest, exceptionState); 129 if (exceptionState.hadException()) { 138 TrackExceptionState exceptionState; 139 Request* request = Request::create(scriptState->executionContext(), requestString, exceptionState); 140 if (exceptionState.hadException()) { 149 TrackExceptionState exceptionState; 150 Request* request = Request::create(scriptState->executionContext(), originalRequest, exceptionState); 151 if (exceptionState.hadException()) { 160 TrackExceptionState exceptionState; [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
Dictionary.h | 30 #include "bindings/core/v8/ExceptionState.h" 79 ConversionContext(const String& interfaceName, const String& methodName, ExceptionState& exceptionState) 82 , m_exceptionState(exceptionState) 91 ExceptionState& exceptionState() const { return m_exceptionState; } 105 ExceptionState& m_exceptionState; 146 static inline Dictionary nativeValue(const v8::Handle<v8::Value>& value, v8::Isolate* isolate, ExceptionState&)
|
V8BindingTest.cpp | 8 #include "bindings/core/v8/ExceptionState.h" 308 NonThrowableExceptionState exceptionState; 309 Vector<String> stringVector = toImplArray<String>(v8StringArray, 0, m_scope.isolate(), exceptionState); 320 NonThrowableExceptionState exceptionState; 321 Vector<unsigned> unsignedVector = toImplArray<unsigned>(v8UnsignedArray, 0, m_scope.isolate(), exceptionState); 333 NonThrowableExceptionState exceptionState; 334 Vector<double> doubleVector = toImplArray<double>(v8RealArray, 0, m_scope.isolate(), exceptionState); 338 Vector<float> floatVector = toImplArray<float>(v8RealArray, 0, m_scope.isolate(), exceptionState); 348 NonThrowableExceptionState exceptionState; 349 Vector<v8::Handle<v8::Value> > v8HandleVector = toImplArray<v8::Handle<v8::Value> >(v8Array, 0, m_scope.isolate(), exceptionState); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DatasetDOMStringMap.cpp | 29 #include "bindings/core/v8/ExceptionState.h" 188 void DatasetDOMStringMap::setItem(const String& name, const String& value, ExceptionState& exceptionState) 191 exceptionState.throwDOMException(SyntaxError, "'" + name + "' is not a valid property name."); 195 m_element->setAttribute(convertPropertyNameToAttributeName(name), AtomicString(value), exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorDOMStorageAgent.cpp | 33 #include "bindings/core/v8/ExceptionState.h" 55 static bool hadException(ExceptionState& exceptionState, ErrorString* errorString) 57 if (!exceptionState.hadException()) 60 switch (exceptionState.code()) { 130 TrackExceptionState exceptionState; 131 for (unsigned i = 0; i < storageArea->length(exceptionState, frame); ++i) { 132 String name(storageArea->key(i, exceptionState, frame)); 133 if (hadException(exceptionState, errorString)) 135 String value(storageArea->getItem(name, exceptionState, frame)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
ImageBitmapTest.cpp | 209 TrackExceptionState exceptionState; 210 toCanvasRenderingContext2D(context)->drawImage(imageBitmapDerived.get(), 0, 0, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
BaseDateAndTimeInputType.cpp | 55 void BaseDateAndTimeInputType::setValueAsDate(double value, ExceptionState&) const 66 void BaseDateAndTimeInputType::setValueAsDouble(double newValue, TextFieldEventBehavior eventBehavior, ExceptionState& exceptionState) const 68 setValueAsDecimal(Decimal::fromDouble(newValue), eventBehavior, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/ |
GIFImageReader.cpp | 490 GIFState exceptionState = GIFSkipBlock; 494 exceptionState = GIFControlExtension; 513 exceptionState = GIFApplicationExtension; 517 exceptionState = GIFConsumeComment; 522 GETN(bytesInBlock, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLOptionElement.cpp | 30 #include "bindings/core/v8/ExceptionState.h" 70 bool defaultSelected, bool selected, ExceptionState& exceptionState) 74 element->appendChild(Text::create(document, data.isNull() ? "" : data), exceptionState); 75 if (exceptionState.hadException()) 124 void HTMLOptionElement::setText(const String &text, ExceptionState& exceptionState) 141 appendChild(Text::create(document(), text), exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
MediaControls.cpp | 86 TrackExceptionState exceptionState; 93 overlayEnclosure->appendChild(overlayPlayButton.release(), exceptionState); 94 if (exceptionState.hadException()) 100 overlayEnclosure->appendChild(overlayCastButton.release(), exceptionState); 101 if (exceptionState.hadException()) 105 appendChild(overlayEnclosure.release(), exceptionState); 106 if (exceptionState.hadException()) 116 panel->appendChild(playButton.release(), exceptionState); 117 if (exceptionState.hadException()) 122 panel->appendChild(timeline.release(), exceptionState); [all...] |