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

12 3

  /external/chromium_org/third_party/WebKit/Source/core/inspector/
DOMEditor.cpp 34 #include "bindings/core/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...]
InspectorCSSAgent.cpp 28 #include "bindings/core/v8/ExceptionState.h"
175 virtual bool perform(ExceptionState& exceptionState) OVERRIDE
179 return redo(exceptionState);
182 virtual bool undo(ExceptionState& exceptionState) OVERRIDE
184 return m_styleSheet->setText(m_oldText, exceptionState);
187 virtual bool redo(ExceptionState& exceptionState) OVERRIDE
189 return m_styleSheet->setText(m_text, exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGLength.cpp 26 #include "bindings/core/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 340 TrackExceptionState exceptionState;
341 for (Node* node = toClone.firstChild(); node && !exceptionState.hadException(); node = node->nextSibling())
342 clone->appendChild(cloneNodeAndAssociate(*node), exceptionState);
SVGSVGElement.cpp 267 TrackExceptionState exceptionState;
268 length->setValueAsString(value, exceptionState);
269 if (!exceptionState.hadException()) {
  /external/chromium_org/third_party/WebKit/Source/modules/mediasource/
SourceBuffer.cpp 35 #include "bindings/core/v8/ExceptionState.h"
59 static bool throwExceptionIfRemovedOrUpdating(bool isRemoved, bool isUpdating, ExceptionState& exceptionState)
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)
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) cons
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebDocument.cpp 35 #include "bindings/core/v8/ExceptionState.h"
244 TrackExceptionState exceptionState;
245 WebDOMEvent event(unwrap<Document>()->createEvent(eventType, exceptionState));
246 if (exceptionState.hadException())
258 TrackExceptionState exceptionState;
259 WebElement element(unwrap<Document>()->createElement(tagName, exceptionState));
260 if (exceptionState.hadException())
334 TrackExceptionState exceptionState;
335 ScriptValue constructor = document->registerElement(ScriptState::current(isolate), name, dictionary, exceptionState, CustomElement::EmbedderNames);
336 ec = exceptionState.code()
    [all...]
WebNode.cpp 34 #include "bindings/core/v8/ExceptionState.h"
190 TrackExceptionState exceptionState;
193 element = toContainerNode(m_private.get())->querySelector(tag, exceptionState);
194 ec = exceptionState.code();
210 TrackExceptionState exceptionState;
211 m_private->remove(exceptionState);
212 return !exceptionState.hadException();
WebLocalFrameImpl.cpp 89 #include "bindings/core/v8/ExceptionState.h"
231 TrackExceptionState exceptionState;
232 range->selectNodeContents(document->body(), exceptionState);
234 if (!exceptionState.hadException()) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontFace.cpp 34 #include "bindings/core/v8/ExceptionState.h"
183 void FontFace::setStyle(ExecutionContext* context, const String& s, ExceptionState& exceptionState)
185 setPropertyFromString(toDocument(context), s, CSSPropertyFontStyle, &exceptionState);
188 void FontFace::setWeight(ExecutionContext* context, const String& s, ExceptionState& exceptionState)
190 setPropertyFromString(toDocument(context), s, CSSPropertyFontWeight, &exceptionState);
193 void FontFace::setStretch(ExecutionContext* context, const String& s, ExceptionState& exceptionState)
195 setPropertyFromString(toDocument(context), s, CSSPropertyFontStretch, &exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
VisiblePosition.cpp 30 #include "bindings/core/v8/ExceptionState.h"
730 TrackExceptionState exceptionState;
731 r->setStart(p.containerNode(), p.offsetInContainerNode(), exceptionState);
732 return !exceptionState.hadException();
740 TrackExceptionState exceptionState;
741 r->setEnd(p.containerNode(), p.offsetInContainerNode(), exceptionState);
742 return !exceptionState.hadException();
VisibleSelection.cpp 29 #include "bindings/core/v8/ExceptionState.h"
201 TrackExceptionState exceptionState;
202 return Range::intersectsNode(node, start, end, exceptionState) && !exceptionState.hadException();
295 TrackExceptionState exceptionState;
298 searchRange->selectNodeContents(boundary, exceptionState);
299 searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), exceptionState);
301 ASSERT(!exceptionState.hadException());
302 if (exceptionState.hadException())
EditorCommand.cpp 31 #include "bindings/core/v8/ExceptionState.h"
207 TrackExceptionState exceptionState;
208 fragment->appendChild(content, exceptionState);
209 if (exceptionState.hadException())
    [all...]
VisibleUnits.cpp 29 #include "bindings/core/v8/ExceptionState.h"
464 TrackExceptionState exceptionState;
467 forwardsScanRange->setEndAfter(boundary, exceptionState);
468 forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState);
482 ASSERT(!exceptionState.hadException());
483 if (exceptionState.hadException())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
RangeInputType.cpp 103 void RangeInputType::setValueAsDouble(double newValue, TextFieldEventBehavior eventBehavior, ExceptionState& exceptionState) const
105 setValueAsDecimal(Decimal::fromDouble(newValue), eventBehavior, exceptionState);
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
CacheTest.cpp 8 #include "bindings/core/v8/ExceptionState.h"
167 TrackExceptionState exceptionState;
168 Request* request = Request::create(executionContext(), url, exceptionState);
169 EXPECT_FALSE(exceptionState.hadException());
170 return exceptionState.hadException() ? 0 : request;
471 NonThrowableExceptionState exceptionState;
472 Vector<v8::Handle<v8::Value> > requests = toImplArray<v8::Handle<v8::Value> >(scriptValue.v8Value(), 0, isolate(), exceptionState);
522 NonThrowableExceptionState exceptionState;
523 Vector<v8::Handle<v8::Value> > responses = toImplArray<v8::Handle<v8::Value> >(scriptValue.v8Value(), 0, isolate(), exceptionState);
534 responses = toImplArray<v8::Handle<v8::Value> >(scriptValue.v8Value(), 0, isolate(), exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
V8Binding.cpp 76 void setArityTypeError(ExceptionState& exceptionState, const char* valid, unsigned provided)
78 exceptionState.throwTypeError(ExceptionMessages::invalidArity(valid, provided));
91 void setMinimumArityTypeError(ExceptionState& exceptionState, unsigned expected, unsigned provided)
93 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(expected, provided));
142 static double enforceRange(double x, double minimum, double maximum, const char* typeName, ExceptionState& exceptionState)
145 exceptionState.throwTypeError("Value is" + String(std::isinf(x) ? " infinite and" : "") + " not of type '" + String(typeName) + "'.");
150 exceptionState.throwTypeError("Value is outside the '" + String(typeName) + "' value range.")
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ContainerNode.cpp 26 #include "bindings/core/v8/ExceptionState.h"
66 static void collectChildrenAndRemoveFromOldParent(Node& node, NodeVector& nodes, ExceptionState& exceptionState)
76 oldParent->removeChild(&node, exceptionState);
125 bool ContainerNode::checkAcceptChild(const Node* newChild, const Node* oldChild, ExceptionState& exceptionState) const
129 exceptionState.throwDOMException(NotFoundError, "The new child element is null.");
137 exceptionState.throwDOMException(HierarchyRequestError, "The new child element contains the parent.");
146 exceptionState.throwDOMException(HierarchyRequestError, "The new child element is a pseudo-element.");
151 exceptionState.throwDOMException(HierarchyRequestError, "The new child element contains the parent.")
    [all...]
Range.cpp 28 #include "bindings/core/v8/ExceptionState.h"
155 void Range::setStart(PassRefPtrWillBeRawPtr<Node> refNode, int offset, ExceptionState& exceptionState)
158 exceptionState.throwDOMException(NotFoundError, "The node provided was null.");
168 Node* childNode = checkNodeWOffset(refNode.get(), offset, exceptionState);
169 if (exceptionState.hadException())
178 void Range::setEnd(PassRefPtrWillBeRawPtr<Node> refNode, int offset, ExceptionState& exceptionState)
181 exceptionState.throwDOMException(NotFoundError, "The node provided was null.");
191 Node* childNode = checkNodeWOffset(refNode.get(), offset, exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLElement.cpp 28 #include "bindings/core/v8/ExceptionState.h"
323 PassRefPtrWillBeRawPtr<DocumentFragment> HTMLElement::textToFragment(const String& text, ExceptionState& exceptionState)
337 fragment->appendChild(Text::create(document(), text.substring(start, i - start)), exceptionState);
338 if (exceptionState.hadException())
342 fragment->appendChild(HTMLBRElement::create(document()), exceptionState);
343 if (exceptionState.hadException())
370 void HTMLElement::setInnerText(const String& text, ExceptionState& exceptionState)
373 exceptionState.throwDOMException(NoModificationAllowedError, "The '" + localName() + "' element does not support (…)
    [all...]
HTMLSelectElement.cpp 32 #include "bindings/core/v8/ExceptionState.h"
213 void HTMLSelectElement::add(HTMLElement* element, HTMLElement* before, ExceptionState& exceptionState)
221 insertBefore(element, before, exceptionState);
225 void HTMLSelectElement::addBeforeOptionAtIndex(HTMLElement* element, int beforeIndex, ExceptionState& exceptionState)
228 add(element, beforeElement, exceptionState);
459 void HTMLSelectElement::setOption(unsigned index, HTMLOptionElement* option, ExceptionState& exceptionState)
467 setLength(index, exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/xml/
XMLHttpRequest.cpp 26 #include "bindings/core/v8/ExceptionState.h"
193 ScriptString XMLHttpRequest::responseText(ExceptionState& exceptionState)
196 exceptionState.throwDOMException(InvalidStateError, "The value is only accessible if the object's 'responseType' is '' or 'text' (was '" + responseType() + "').");
237 Document* XMLHttpRequest::responseXML(ExceptionState& exceptionState)
240 exceptionState.throwDOMException(InvalidStateError, "The value is only accessible if the object's 'responseType' is '' or 'document' (was '" + responseType() + "').");
349 void XMLHttpRequest::setTimeout(unsigned long timeout, ExceptionState& exceptionState)
354 exceptionState.throwDOMException(InvalidAccessError, "Timeouts cannot be set for synchronous requests made from a (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
InspectorIndexedDBAgent.cpp 34 #include "bindings/core/v8/ExceptionState.h"
195 TrackExceptionState exceptionState;
196 IDBOpenDBRequest* idbOpenDBRequest = idbFactory->open(scriptState(), databaseName, exceptionState);
197 if (exceptionState.hadException()) {
206 TrackExceptionState exceptionState;
207 IDBTransaction* idbTransaction = idbDatabase->transaction(scriptState, objectStoreName, mode, exceptionState);
208 if (exceptionState.hadException())
215 TrackExceptionState exceptionState;
216 IDBObjectStore* idbObjectStore = idbTransaction->objectStore(objectStoreName, exceptionState);
217 if (exceptionState.hadException()
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/27/1/.cp/lib/
antsupportlib.jar 
  /external/chromium_org/third_party/WebKit/Source/core/xml/parser/
XMLDocumentParser.cpp 29 #include "bindings/core/v8/ExceptionState.h"
911 static inline void handleNamespaceAttributes(Vector<Attribute>& prefixedAttributes, const xmlChar** libxmlNamespaces, int nbNamespaces, ExceptionState& exceptionState)
921 if (!Element::parseAttributeName(parsedName, XMLNSNames::xmlnsNamespaceURI, namespaceQName, exceptionState))
936 static inline void handleElementAttributes(Vector<Attribute>& prefixedAttributes, const xmlChar** libxmlAttributes, int nbAttributes, ExceptionState& exceptionState)
947 if (!Element::parseAttributeName(parsedName, attrURI, attrQName, exceptionState))
987 TrackExceptionState exceptionState
    [all...]

Completed in 1188 milliseconds

12 3