Searched refs:exceptionState (Results 26 - 50 of 332) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8ElementCustom.cpp50 ExceptionState exceptionState(ExceptionState::SetterContext, "scrollLeft", "Element", info.Holder(), info.GetIsolate());
55 impl->setScrollLeft(scrollOptionsHorizontal, exceptionState);
56 exceptionState.throwIfNeeded();
60 TONATIVE_VOID_EXCEPTIONSTATE(float, position, toFloat(value, exceptionState), exceptionState);
66 ExceptionState exceptionState(ExceptionState::SetterContext, "scrollTop", "Element", info.Holder(), info.GetIsolate());
71 impl->setScrollTop(scrollOptionsVertical, exceptionState);
72 exceptionState.throwIfNeeded();
76 TONATIVE_VOID_EXCEPTIONSTATE(float, position, toFloat(value, exceptionState), exceptionState);
[all...]
H A DV8BlobCustom.cpp41 ExceptionState exceptionState(ExceptionState::ConstructionContext, "Blob", info.Holder(), info.GetIsolate());
50 exceptionState.throwTypeError(ExceptionMessages::argumentNullOrIncorrectType(1, "Array"));
51 exceptionState.throwIfNeeded();
58 exceptionState.throwTypeError("The 2nd argument is not of type Object.");
59 exceptionState.throwIfNeeded();
63 if (!properties.parseBlobPropertyBag(info[1], "Blob", exceptionState, info.GetIsolate())) {
64 exceptionState.throwIfNeeded();
H A DV8WebGLRenderingContextCustom.cpp240 static void getObjectParameter(const v8::FunctionCallbackInfo<v8::Value>& info, ObjectType objectType, ExceptionState& exceptionState) argument
243 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(2, info.Length()));
244 exceptionState.throwIfNeeded();
254 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(target, toUInt32(info[0], exceptionState), exceptionState);
255 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(pname, toUInt32(info[1], exceptionState), exceptionState);
286 ExceptionState exceptionState(ExceptionState::ExecutionContext, "getBufferParameter", "WebGLRenderingContext", info.Holder(), info.GetIsolate());
287 getObjectParameter(info, kBuffer, exceptionState);
292 ExceptionState exceptionState(ExceptionStat
469 vertexAttribAndUniformHelperf(const v8::FunctionCallbackInfo<v8::Value>& info, FunctionToCall functionToCall, ExceptionState& exceptionState) argument
558 uniformHelperi(const v8::FunctionCallbackInfo<v8::Value>& info, FunctionToCall functionToCall, ExceptionState& exceptionState) argument
669 uniformMatrixHelper(const v8::FunctionCallbackInfo<v8::Value>& info, int matrixSize, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DChildNode.h25 static void remove(Node& node, ExceptionState& exceptionState) argument
27 return node.remove(exceptionState);
H A DNamedNodeMap.cpp59 PassRefPtrWillBeRawPtr<Node> NamedNodeMap::removeNamedItem(const AtomicString& name, ExceptionState& exceptionState) argument
63 exceptionState.throwDOMException(NotFoundError, "No item with name '" + name + "' was found.");
69 PassRefPtrWillBeRawPtr<Node> NamedNodeMap::removeNamedItemNS(const AtomicString& namespaceURI, const AtomicString& localName, ExceptionState& exceptionState) argument
73 exceptionState.throwDOMException(NotFoundError, "No item with name '" + namespaceURI + "::" + localName + "' was found.");
79 PassRefPtrWillBeRawPtr<Node> NamedNodeMap::setNamedItem(Node* node, ExceptionState& exceptionState) argument
82 exceptionState.throwDOMException(NotFoundError, "The node provided was null.");
88 exceptionState.throwDOMException(HierarchyRequestError, "The node provided is not an attribute node.");
92 return m_element->setAttributeNode(toAttr(node), exceptionState);
95 PassRefPtrWillBeRawPtr<Node> NamedNodeMap::setNamedItemNS(Node* node, ExceptionState& exceptionState) argument
97 return setNamedItem(node, exceptionState);
[all...]
H A DRange.cpp155 void Range::setStart(PassRefPtrWillBeRawPtr<Node> refNode, int offset, ExceptionState& exceptionState) argument
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) argument
181 exceptionState.throwDOMException(NotFoundError, "The node provided was null.");
191 Node* childNode = checkNodeWOffset(refNode.get(), offset, exceptionState);
192 if (exceptionState.hadException())
201 void Range::setStart(const Position& start, ExceptionState& exceptionState) argument
204 setStart(parentAnchored.containerNode(), parentAnchored.offsetInContainerNode(), exceptionState);
207 setEnd(const Position& end, ExceptionState& exceptionState) argument
221 isPointInRange(Node* refNode, int offset, ExceptionState& exceptionState) argument
357 compareBoundaryPoints(Node* containerA, int offsetA, Node* containerB, int offsetB, ExceptionState& exceptionState) argument
450 compareBoundaryPoints(const RangeBoundaryPoint& boundaryA, const RangeBoundaryPoint& boundaryB, ExceptionState& exceptionState) argument
457 TrackExceptionState exceptionState; local
461 deleteContents(ExceptionState& exceptionState) argument
471 nodeValidForIntersects(Node* refNode, Document* expectedDocument, ExceptionState& exceptionState) argument
486 intersectsNode(Node* refNode, ExceptionState& exceptionState) argument
516 intersectsNode(Node* refNode, const Position& start, const Position& end, ExceptionState& exceptionState) argument
587 processContents(ActionType action, ExceptionState& exceptionState) argument
690 deleteCharacterData(PassRefPtrWillBeRawPtr<CharacterData> data, unsigned startOffset, unsigned endOffset, ExceptionState& exceptionState) argument
698 processContentsBetweenOffsets(ActionType action, PassRefPtrWillBeRawPtr<DocumentFragment> fragment, Node* container, unsigned startOffset, unsigned endOffset, ExceptionState& exceptionState) argument
768 processNodes(ActionType action, WillBeHeapVector<RefPtrWillBeMember<Node> >& nodes, PassRefPtrWillBeRawPtr<Node> oldContainer, PassRefPtrWillBeRawPtr<Node> newContainer, ExceptionState& exceptionState) argument
785 processAncestorsAndTheirSiblings(ActionType action, Node* container, ContentsProcessDirection direction, PassRefPtrWillBeRawPtr<Node> passedClonedContainer, Node* commonRoot, ExceptionState& exceptionState) argument
843 extractContents(ExceptionState& exceptionState) argument
852 cloneContents(ExceptionState& exceptionState) argument
857 insertNode(PassRefPtrWillBeRawPtr<Node> prpNewNode, ExceptionState& exceptionState) argument
1001 createContextualFragment(const String& markup, ExceptionState& exceptionState) argument
1139 setStartAfter(Node* refNode, ExceptionState& exceptionState) argument
1148 setEndBefore(Node* refNode, ExceptionState& exceptionState) argument
1157 setEndAfter(Node* refNode, ExceptionState& exceptionState) argument
1166 selectNode(Node* refNode, ExceptionState& exceptionState) argument
1220 selectNodeContents(Node* refNode, ExceptionState& exceptionState) argument
1284 surroundContents(PassRefPtrWillBeRawPtr<Node> passNewParent, ExceptionState& exceptionState) argument
1365 setStartBefore(Node* refNode, ExceptionState& exceptionState) argument
1374 checkExtractPrecondition(ExceptionState& exceptionState) argument
1682 expand(const String& unit, ExceptionState& exceptionState) argument
[all...]
H A DParentNode.h65 static PassRefPtrWillBeRawPtr<Element> querySelector(ContainerNode& node, const AtomicString& selectors, ExceptionState& exceptionState) argument
67 return node.querySelector(selectors, exceptionState);
70 static PassRefPtrWillBeRawPtr<StaticElementList> querySelectorAll(ContainerNode& node, const AtomicString& selectors, ExceptionState& exceptionState) argument
72 return node.querySelectorAll(selectors, exceptionState);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGNumberTearOff.cpp45 void SVGNumberTearOff::setValue(float f, ExceptionState& exceptionState) argument
48 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
H A DSVGAltGlyphElement.cpp46 void SVGAltGlyphElement::setGlyphRef(const AtomicString&, ExceptionState& exceptionState) argument
48 exceptionState.throwDOMException(NoModificationAllowedError, ExceptionMessages::readOnly());
56 void SVGAltGlyphElement::setFormat(const AtomicString&, ExceptionState& exceptionState) argument
58 exceptionState.throwDOMException(NoModificationAllowedError, ExceptionMessages::readOnly());
H A DSVGLengthContext.cpp101 float SVGLengthContext::convertValueToUserUnits(float value, SVGLengthMode mode, SVGLengthType fromUnit, ExceptionState& exceptionState) const
108 return convertValueFromPercentageToUserUnits(value, mode, exceptionState);
113 exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::argumentNullOrIncorrectType(3, "SVGLengthType"));
120 return convertValueFromPercentageToUserUnits(value / 100, mode, exceptionState);
122 return convertValueFromEMSToUserUnits(value, exceptionState);
124 return convertValueFromEXSToUserUnits(value, exceptionState);
141 float SVGLengthContext::convertValueFromUserUnits(float value, SVGLengthMode mode, SVGLengthType toUnit, ExceptionState& exceptionState) const
145 exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::argumentNullOrIncorrectType(3, "SVGLengthType"));
150 return convertValueFromUserUnitsToPercentage(value * 100, mode, exceptionState);
152 return convertValueFromUserUnitsToEMS(value, exceptionState);
[all...]
H A DSVGPointTearOff.cpp46 void SVGPointTearOff::setX(float f, ExceptionState& exceptionState) argument
49 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
57 void SVGPointTearOff::setY(float f, ExceptionState& exceptionState) argument
60 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DDOMParser.cpp28 PassRefPtrWillBeRawPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType, ExceptionState& exceptionState) argument
37 exceptionState.throwTypeError("Unsupported mime-type specified.");
H A DXMLSerializer.cpp31 String XMLSerializer::serializeToString(Node* node, ExceptionState& exceptionState) argument
34 exceptionState.throwTypeError("Invalid node value.");
H A DXPathExpression.cpp49 PassRefPtrWillBeRawPtr<XPathExpression> XPathExpression::createExpression(const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, ExceptionState& exceptionState) argument
54 expr->m_topExpression = parser.parseStatement(expression, resolver, exceptionState);
66 PassRefPtrWillBeRawPtr<XPathResult> XPathExpression::evaluate(Node* contextNode, unsigned short type, XPathResult*, ExceptionState& exceptionState) argument
69 exceptionState.throwDOMException(NotSupportedError, "The context node provided is null.");
74 exceptionState.throwDOMException(NotSupportedError, "The node provided is '" + contextNode->nodeName() + "', which is not a valid context node type.");
83 exceptionState.throwDOMException(SyntaxError, "Type conversion failed while evaluating the expression.");
88 result->convertTo(type, exceptionState);
89 if (exceptionState.hadException())
H A DXPathResult.cpp75 void XPathResult::convertTo(unsigned short type, ExceptionState& exceptionState) argument
98 exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to the desired type.");
105 exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to the desired type.");
113 exceptionState.throwTypeError("The result is not a node set, and therefore cannot be converted to the desired type.");
127 double XPathResult::numberValue(ExceptionState& exceptionState) const
130 exceptionState.throwTypeError("The result type is not a number.");
136 String XPathResult::stringValue(ExceptionState& exceptionState) const
139 exceptionState.throwTypeError("The result type is not a string.");
145 bool XPathResult::booleanValue(ExceptionState& exceptionState) const
148 exceptionState
186 iterateNext(ExceptionState& exceptionState) argument
208 snapshotItem(unsigned long index, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8BindingMacros.h91 #define TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(var, value, exceptionState) \
93 if (UNLIKELY(exceptionState.throwIfNeeded())) \
96 #define TONATIVE_VOID_EXCEPTIONSTATE(type, var, value, exceptionState) \
99 if (UNLIKELY(exceptionState.throwIfNeeded())) \
102 #define TONATIVE_DEFAULT_EXCEPTIONSTATE(type, var, value, exceptionState, retVal) \
104 if (UNLIKELY(exceptionState.throwIfNeeded())) \
109 #define TONATIVE_VOID_EXCEPTIONSTATE_PROMISE_INTERNAL(var, value, exceptionState, info, scriptState) \
111 if (UNLIKELY(exceptionState.hadException())) { \
112 v8SetReturnValue(info, exceptionState.reject(scriptState).v8Value()); \
116 #define TONATIVE_VOID_EXCEPTIONSTATE_PROMISE(type, var, value, exceptionState, inf
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/beacon/
H A DNavigatorBeacon.cpp43 bool NavigatorBeacon::canSendBeacon(ExecutionContext* context, const KURL& url, ExceptionState& exceptionState) argument
46 exceptionState.throwDOMException(SyntaxError, "The URL argument is ill-formed or unsupported.");
51 exceptionState.throwDOMException(SyntaxError, "Beacons are only supported over HTTP(S).");
57 exceptionState.throwSecurityError("Refused to send beacon to '" + url.elidedString() + "' because it violates the document's Content Security Policy.");
91 bool NavigatorBeacon::sendBeacon(ExecutionContext* context, Navigator& navigator, const String& urlstring, const String& data, ExceptionState& exceptionState) argument
93 return NavigatorBeacon::from(navigator).sendBeacon(context, urlstring, data, exceptionState);
96 bool NavigatorBeacon::sendBeacon(ExecutionContext* context, const String& urlstring, const String& data, ExceptionState& exceptionState) argument
99 if (!canSendBeacon(context, url, exceptionState))
107 bool NavigatorBeacon::sendBeacon(ExecutionContext* context, Navigator& navigator, const String& urlstring, PassRefPtr<ArrayBufferView> data, ExceptionState& exceptionState) argument
109 return NavigatorBeacon::from(navigator).sendBeacon(context, urlstring, data, exceptionState);
112 sendBeacon(ExecutionContext* context, const String& urlstring, PassRefPtr<ArrayBufferView> data, ExceptionState& exceptionState) argument
123 sendBeacon(ExecutionContext* context, Navigator& navigator, const String& urlstring, PassRefPtrWillBeRawPtr<Blob> data, ExceptionState& exceptionState) argument
128 sendBeacon(ExecutionContext* context, const String& urlstring, PassRefPtrWillBeRawPtr<Blob> data, ExceptionState& exceptionState) argument
139 sendBeacon(ExecutionContext* context, Navigator& navigator, const String& urlstring, PassRefPtrWillBeRawPtr<DOMFormData> data, ExceptionState& exceptionState) argument
144 sendBeacon(ExecutionContext* context, const String& urlstring, PassRefPtrWillBeRawPtr<DOMFormData> data, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
H A DMIDIOutput.cpp54 static bool validate(Uint8Array* array, ExceptionState& exceptionState, bool sysexEnabled) argument
57 return validator.process(exceptionState, sysexEnabled);
65 bool process(ExceptionState& exceptionState, bool sysexEnabled) argument
69 exceptionState.throwTypeError("Running status is not allowed " + getPositionString());
73 exceptionState.throwTypeError("Unexpected end of system exclusive message " + getPositionString());
77 exceptionState.throwTypeError("Reserved status is not allowed " + getPositionString());
82 exceptionState.throwDOMException(InvalidAccessError, "System exclusive message is not allowed " + getPositionString());
87 exceptionState.throwTypeError("System exclusive message is not ended by end of system exclusive message.");
89 exceptionState.throwTypeError("System exclusive message contains a status byte " + getPositionString());
95 exceptionState
192 send(Uint8Array* array, double timestamp, ExceptionState& exceptionState) argument
204 send(Vector<unsigned> unsignedData, double timestamp, ExceptionState& exceptionState) argument
223 send(Uint8Array* data, ExceptionState& exceptionState) argument
228 send(Vector<unsigned> unsignedData, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
H A DRTCPeerConnection.cpp75 static bool throwExceptionIfSignalingStateClosed(RTCPeerConnection::SignalingState state, ExceptionState& exceptionState) argument
78 exceptionState.throwDOMException(InvalidStateError, "The RTCPeerConnection's signalingState is 'closed'.");
87 RTCConfiguration* RTCPeerConnection::parseConfiguration(const Dictionary& configuration, ExceptionState& exceptionState) argument
100 exceptionState.throwTypeError("Malformed RTCIceTransports");
108 exceptionState.throwTypeError("Malformed RTCConfiguration");
115 exceptionState.throwTypeError("Malformed RTCConfiguration");
126 exceptionState.throwTypeError("Malformed RTCIceServer");
140 exceptionState.throwTypeError("Malformed RTCIceServer");
149 exceptionState.throwTypeError("Malformed RTCIceServer");
153 exceptionState
175 parseOfferOptions(const Dictionary& options, ExceptionState& exceptionState) argument
210 create(ExecutionContext* context, const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionState& exceptionState) argument
228 RTCPeerConnection(ExecutionContext* context, RTCConfiguration* configuration, WebMediaConstraints constraints, ExceptionState& exceptionState) argument
273 createOffer(RTCSessionDescriptionCallback* successCallback, RTCErrorCallback* errorCallback, const Dictionary& rtcOfferOptions, ExceptionState& exceptionState) argument
297 createAnswer(RTCSessionDescriptionCallback* successCallback, RTCErrorCallback* errorCallback, const Dictionary& mediaConstraints, ExceptionState& exceptionState) argument
312 setLocalDescription(RTCSessionDescription* sessionDescription, VoidCallback* successCallback, RTCErrorCallback* errorCallback, ExceptionState& exceptionState) argument
326 localDescription(ExceptionState& exceptionState) argument
335 setRemoteDescription(RTCSessionDescription* sessionDescription, VoidCallback* successCallback, RTCErrorCallback* errorCallback, ExceptionState& exceptionState) argument
349 remoteDescription(ExceptionState& exceptionState) argument
358 updateIce(const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionState& exceptionState) argument
376 addIceCandidate(RTCIceCandidate* iceCandidate, ExceptionState& exceptionState) argument
391 addIceCandidate(RTCIceCandidate* iceCandidate, VoidCallback* successCallback, RTCErrorCallback* errorCallback, ExceptionState& exceptionState) argument
470 addStream(MediaStream* stream, const Dictionary& mediaConstraints, ExceptionState& exceptionState) argument
494 removeStream(MediaStream* stream, ExceptionState& exceptionState) argument
545 createDataChannel(String label, const Dictionary& options, ExceptionState& exceptionState) argument
582 createDTMFSender(MediaStreamTrack* track, ExceptionState& exceptionState) argument
603 close(ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAudioParam.h82 void setValueAtTime(float value, double time, ExceptionState& exceptionState) argument
84 m_timeline.setValueAtTime(value, time, exceptionState);
86 void linearRampToValueAtTime(float value, double time, ExceptionState& exceptionState) argument
88 m_timeline.linearRampToValueAtTime(value, time, exceptionState);
94 void setTargetAtTime(float target, double time, double timeConstant, ExceptionState& exceptionState) argument
96 m_timeline.setTargetAtTime(target, time, timeConstant, exceptionState);
98 void setValueCurveAtTime(Float32Array* curve, double time, double duration, ExceptionState& exceptionState) argument
100 m_timeline.setValueCurveAtTime(curve, time, duration, exceptionState);
102 void cancelScheduledValues(double startTime, ExceptionState& exceptionState) argument
104 m_timeline.cancelScheduledValues(startTime, exceptionState);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLOptionsCollection.cpp71 void HTMLOptionsCollection::add(PassRefPtrWillBeRawPtr<HTMLOptionElement> element, ExceptionState& exceptionState) argument
73 add(element, length(), exceptionState);
76 void HTMLOptionsCollection::add(PassRefPtrWillBeRawPtr<HTMLOptionElement> element, int index, ExceptionState& exceptionState) argument
81 exceptionState.throwTypeError("The element provided was not an HTMLOptionElement.");
86 exceptionState.throwDOMException(IndexSizeError, "The index provided (" + String::number(index) + ") is less than -1.");
93 select.add(newOption, 0, exceptionState);
95 select.addBeforeOptionAtIndex(newOption, index, exceptionState);
97 ASSERT(!exceptionState.hadException());
115 void HTMLOptionsCollection::setLength(unsigned length, ExceptionState& exceptionState) argument
117 toHTMLSelectElement(ownerNode()).setLength(length, exceptionState);
137 anonymousIndexedSetter(unsigned index, PassRefPtrWillBeRawPtr<HTMLOptionElement> value, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DServiceWorkerClient.cpp26 void ServiceWorkerClient::postMessage(ExecutionContext* context, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) argument
29 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState);
30 if (exceptionState.hadException())
/external/chromium_org/third_party/WebKit/Source/modules/navigatorcontentutils/
H A DNavigatorContentUtils.cpp71 static bool verifyCustomHandlerURL(const Document& document, const String& url, ExceptionState& exceptionState) argument
78 exceptionState.throwDOMException(SyntaxError, "The url provided ('" + url + "') does not contain '%s'.");
90 exceptionState.throwDOMException(SyntaxError, "The custom handler URL created by removing '%s' and prepending '" + document.baseURL().string() + "' is invalid.");
97 exceptionState.throwSecurityError("Can only register custom handler in the document's origin.");
117 static bool verifyCustomHandlerScheme(const String& scheme, ExceptionState& exceptionState) argument
120 exceptionState.throwSecurityError("The scheme '" + scheme + "' is not valid protocol");
129 exceptionState.throwSecurityError("The scheme '" + scheme + "' is less than five characters long.");
136 exceptionState.throwSecurityError("The scheme '" + scheme + "' doesn't belong to the scheme whitelist. Please prefix non-whitelisted schemes with the string 'web+'.");
154 void NavigatorContentUtils::registerProtocolHandler(Navigator& navigator, const String& scheme, const String& url, const String& title, ExceptionState& exceptionState) argument
162 if (!verifyCustomHandlerURL(*document, url, exceptionState))
191 isProtocolHandlerRegistered(Navigator& navigator, const String& scheme, const String& url, ExceptionState& exceptionState) argument
213 unregisterProtocolHandler(Navigator& navigator, const String& scheme, const String& url, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DDeleteFromTextNodeCommand.cpp53 TrackExceptionState exceptionState;
54 m_text = m_node->substringData(m_offset, m_count, exceptionState);
55 if (exceptionState.hadException())
58 m_node->deleteData(m_offset, m_count, exceptionState, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing);
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
H A DCrypto.cpp60 void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& exceptionState) argument
63 exceptionState.throwDOMException(TypeMismatchError, "The provided ArrayBufferView is null.");
67 exceptionState.throwDOMException(TypeMismatchError, String::format("The provided ArrayBufferView is of type '%s', which is not an integer array type.", array->typeName()));
71 exceptionState.throwDOMException(QuotaExceededError, String::format("The ArrayBufferView's byte length (%u) exceeds the number of bytes of entropy available via this API (65536).", array->byteLength()));

Completed in 369 milliseconds

1234567891011>>