HomeSort by relevance Sort by last modified time
    Searched defs:exceptionState (Results 1 - 25 of 50) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableStrokeDasharrayListTest.cpp 58 TrackExceptionState exceptionState;
EffectInputTest.cpp 32 TrackExceptionState exceptionState;
53 RefPtrWillBeRawPtr<AnimationEffect> animationEffect = EffectInput::convert(element.get(), jsKeyframes, exceptionState);
54 EXPECT_FALSE(exceptionState.hadException());
73 RefPtrWillBeRawPtr<AnimationEffect> animationEffect = EffectInput::convert(element.get(), jsKeyframes, exceptionState);
74 EXPECT_FALSE(exceptionState.hadException());
96 RefPtrWillBeRawPtr<AnimationEffect> animationEffect = EffectInput::convert(element.get(), jsKeyframes, exceptionState);
97 EXPECT_FALSE(exceptionState.hadException());
120 RefPtrWillBeRawPtr<AnimationEffect> animationEffect ALLOW_UNUSED = EffectInput::convert(element.get(), jsKeyframes, exceptionState);
121 EXPECT_TRUE(exceptionState.hadException());
122 EXPECT_EQ(InvalidModificationError, exceptionState.code())
    [all...]
AnimationPlayerTest.cpp 88 TrackExceptionState exceptionState;
412 player->finish(exceptionState);
417 player->finish(exceptionState);
421 EXPECT_FALSE(exceptionState.hadException());
427 player->finish(exceptionState);
435 player->finish(exceptionState);
443 player->finish(exceptionState);
455 player->finish(exceptionState);
457 EXPECT_TRUE(exceptionState.hadException());
458 EXPECT_EQ(InvalidStateError, exceptionState.code())
    [all...]
AnimationTest.cpp 34 TrackExceptionState exceptionState;
46 static PassRefPtrWillBeRawPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyframeDictionaryVector, T timingInput, ExceptionState& exceptionState)
48 return Animation::create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), timingInput);
50 static PassRefPtrWillBeRawPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyframeDictionaryVector, ExceptionState& exceptionState)
52 return Animation::create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState));
85 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState);
112 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, duration, exceptionState);
120 RefPtrWillBeRawPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
SplitTextNodeCommand.cpp 29 #include "bindings/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/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/svg/
SVGAngleTearOff.cpp 34 #include "bindings/v8/ExceptionState.h"
50 void SVGAngleTearOff::setValue(float value, ExceptionState& exceptionState)
53 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
61 void SVGAngleTearOff::setValueInSpecifiedUnits(float value, ExceptionState& exceptionState)
64 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
72 void SVGAngleTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState)
75 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.")
    [all...]
SVGForeignObjectElement.cpp 95 TrackExceptionState exceptionState;
96 length->setValueAsString(value, exceptionState);
97 if (!exceptionState.hadException()) {
SVGLengthTearOff.cpp 35 #include "bindings/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...]
SVGLength.cpp 26 #include "bindings/v8/ExceptionState.h"
145 TrackExceptionState exceptionState;
146 length->setValueAsString(value, exceptionState);
147 if (exceptionState.hadException()) {
162 float SVGLength::value(const SVGLengthContext& context, ExceptionState& es) const
167 void SVGLength::setValue(float value, const SVGLengthContext& context, ExceptionState& es)
212 void SVGLength::setValueAsString(const String& string, ExceptionState& exceptionState)
228 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
247 void SVGLength::convertToSpecifiedUnits(SVGLengthType type, const SVGLengthContext& context, ExceptionState& exceptionState
    [all...]
SVGUseElement.cpp 357 TrackExceptionState exceptionState;
358 for (Node* node = toClone.firstChild(); node && !exceptionState.hadException(); node = node->nextSibling())
359 clone->appendChild(cloneNodeAndAssociate(*node), exceptionState);
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
HeaderMap.cpp 8 #include "bindings/v8/ExceptionState.h"
82 TrackExceptionState exceptionState;
88 if (exceptionState.hadException())
  /external/chromium_org/third_party/WebKit/Source/web/
WebSerializedScriptValue.cpp 34 #include "bindings/v8/ExceptionState.h"
49 WebCore::TrackExceptionState exceptionState;
50 WebSerializedScriptValue serializedValue = SerializedScriptValue::create(value, 0, 0, exceptionState, v8::Isolate::GetCurrent());
51 if (exceptionState.hadException())
WebElement.cpp 34 #include "bindings/v8/ExceptionState.h"
105 TrackExceptionState exceptionState;
106 unwrap<Element>()->setAttribute(attrName, attrValue, exceptionState);
107 return !exceptionState.hadException();
WebDocument.cpp 35 #include "bindings/v8/ExceptionState.h"
247 TrackExceptionState exceptionState;
248 WebDOMEvent event(unwrap<Document>()->createEvent(eventType, exceptionState));
249 if (exceptionState.hadException())
261 TrackExceptionState exceptionState;
262 WebElement element(unwrap<Document>()->createElement(tagName, exceptionState));
263 if (exceptionState.hadException())
301 TrackExceptionState exceptionState;
302 ScriptValue constructor = document->registerElement(ScriptState::current(isolate), name, dictionary, exceptionState, CustomElement::EmbedderNames);
303 ec = exceptionState.code()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
DatasetDOMStringMap.cpp 29 #include "bindings/v8/ExceptionState.h"
197 void DatasetDOMStringMap::setItem(const String& name, const String& value, ExceptionState& exceptionState)
200 exceptionState.throwDOMException(SyntaxError, "'" + name + "' is not a valid property name.");
204 m_element->setAttribute(convertPropertyNameToAttributeName(name), AtomicString(value), exceptionState);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorDOMStorageAgent.cpp 33 #include "bindings/v8/ExceptionState.h"
55 static bool hadException(ExceptionState& exceptionState, ErrorString* errorString)
57 if (!exceptionState.hadException())
60 switch (exceptionState.code()) {
124 TrackExceptionState exceptionState;
125 for (unsigned i = 0; i < storageArea->length(exceptionState, frame); ++i) {
126 String name(storageArea->key(i, exceptionState, frame));
127 if (hadException(exceptionState, errorString))
129 String value(storageArea->getItem(name, exceptionState, frame))
    [all...]
DOMEditor.cpp 34 #include "bindings/v8/ExceptionState.h"
57 virtual bool perform(ExceptionState& exceptionState) OVERRIDE
60 return redo(exceptionState);
63 virtual bool undo(ExceptionState& exceptionState) OVERRIDE
65 m_parentNode->insertBefore(m_node.get(), m_anchorNode.get(), exceptionState);
66 return !exceptionState.hadException();
69 virtual bool redo(ExceptionState& exceptionState) OVERRID
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
Dictionary.h 30 #include "bindings/v8/ExceptionState.h"
109 ConversionContext(const String& interfaceName, const String& methodName, ExceptionState& exceptionState)
112 , m_exceptionState(exceptionState)
121 ExceptionState& exceptionState() const { return m_exceptionState; }
135 ExceptionState& m_exceptionState;
203 static inline uint8_t toIntegral(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, ExceptionState& exceptionState)
205 return toUInt8(value, configuration, exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmapTest.cpp 212 TrackExceptionState exceptionState;
213 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/v8/ExceptionState.h"
63 bool defaultSelected, bool selected, ExceptionState& exceptionState)
66 element->appendChild(Text::create(document, data.isNull() ? "" : data), exceptionState);
67 if (exceptionState.hadException())
122 void HTMLOptionElement::setText(const String &text, ExceptionState& exceptionState)
139 appendChild(Text::create(document(), text), exceptionState);
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
MediaControls.cpp 87 TrackExceptionState exceptionState;
93 overlayEnclosure->appendChild(overlayPlayButton.release(), exceptionState);
94 if (exceptionState.hadException())
98 appendChild(overlayEnclosure.release(), exceptionState);
99 if (exceptionState.hadException())
110 panel->appendChild(playButton.release(), exceptionState);
111 if (exceptionState.hadException())
116 panel->appendChild(timeline.release(), exceptionState);
117 if (exceptionState.hadException())
123 panel->appendChild(currentTimeDisplay.release(), exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/mediasource/
SourceBuffer.cpp 35 #include "bindings/v8/ExceptionState.h"
58 static bool throwExceptionIfRemovedOrUpdating(bool isRemoved, bool isUpdating, ExceptionState& exceptionState)
61 exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer has been removed from the parent media source.");
65 exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer is still processing an 'appendBuffer', 'appendStream', or 'remove' operation.");
124 void SourceBuffer::setMode(const AtomicString& newMode, ExceptionState& exceptionState)
131 if (throwExceptionIfRemovedOrUpdating(isRemoved(), m_updating, exceptionState))
145 exceptionState.throwDOMException(InvalidStateError, "The mode may not be set while the SourceBuffer's append state is 'PARSING_MEDIA_SEGMENT'.");
153 PassRefPtr<TimeRanges> SourceBuffer::buffered(ExceptionState& exceptionState) cons
    [all...]

Completed in 579 milliseconds

1 2