Home
last modified time | relevance | path

Searched refs:DOMError (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/dom/
DDOMError.h38 class DOMError : public RefCounted<DOMError>, public ScriptWrappable {
40 static PassRefPtr<DOMError> create(const String& name) in create()
42 return adoptRef(new DOMError(name)); in create()
44 static PassRefPtr<DOMError> create(const String& name, const String& message) in create()
46 return adoptRef(new DOMError(name, message)); in create()
49 static PassRefPtr<DOMError> create(ExceptionCode ec) in create()
51 … return adoptRef(new DOMError(DOMException::getErrorName(ec), DOMException::getErrorMessage(ec))); in create()
54 static PassRefPtr<DOMError> create(ExceptionCode ec, const String& message) in create()
56 return adoptRef(new DOMError(DOMException::getErrorName(ec), message)); in create()
63 explicit DOMError(const String& name);
[all …]
DDOMError.cpp32 DOMError::DOMError(const String& name) in DOMError() function in WebCore::DOMError
38 DOMError::DOMError(const String& name, const String& message) in DOMError() function in WebCore::DOMError
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOMErrorHandlerImpl.java24 import org.w3c.dom.DOMError;
47 public boolean handleError(DOMError error) { in handleError()
50 if (error.getSeverity() == DOMError.SEVERITY_WARNING) { in handleError()
53 } else if (error.getSeverity() == DOMError.SEVERITY_ERROR) { in handleError()
55 } else if (error.getSeverity() == DOMError.SEVERITY_FATAL_ERROR) { in handleError()
DDOMErrorImpl.java24 import org.w3c.dom.DOMError;
35 public final class DOMErrorImpl implements DOMError {
40 private short fSeverity = DOMError.SEVERITY_WARNING;
168 fSeverity = DOMError.SEVERITY_WARNING; in reset()
DDOM3TreeWalker.java41 import org.w3c.dom.DOMError;
787 DOMError.SEVERITY_ERROR, msg, in serializeAttList()
945 DOMError.SEVERITY_WARNING,
966 DOMError.SEVERITY_ERROR,
1313 DOMError.SEVERITY_FATAL_ERROR, in isCommentWellFormed()
1329 DOMError.SEVERITY_FATAL_ERROR, in isCommentWellFormed()
1362 DOMError.SEVERITY_FATAL_ERROR, in isCommentWellFormed()
1378 DOMError.SEVERITY_FATAL_ERROR, in isCommentWellFormed()
1418 DOMError.SEVERITY_FATAL_ERROR, in isElementWellFormed()
1456 DOMError.SEVERITY_FATAL_ERROR, in isAttributeWellFormed()
[all …]
/external/chromium_org/third_party/WebKit/public/web/
DWebDOMError.h43 namespace WebCore { class DOMError; } variable
70 WebDOMError(const WTF::PassRefPtr<WebCore::DOMError>&);
71 WebDOMError& operator=(const WTF::PassRefPtr<WebCore::DOMError>&);
72 operator WTF::PassRefPtr<WebCore::DOMError>() const;
76 WebPrivatePtr<WebCore::DOMError> m_private;
/external/chromium_org/third_party/WebKit/Source/web/
DWebDOMError.cpp45 return WebDOMError(DOMError::create(name, message)); in create()
79 WebDOMError::WebDOMError(const WTF::PassRefPtr<WebCore::DOMError>& error) in WebDOMError()
84 WebDOMError& WebDOMError::operator=(const WTF::PassRefPtr<WebCore::DOMError>& error) in operator =()
90 WebDOMError::operator WTF::PassRefPtr<WebCore::DOMError>() const in operator WTF::PassRefPtr<WebCore::DOMError>()
DWebIDBDatabaseError.cpp48 m_private = DOMError::create(code); in assign()
53 m_private = DOMError::create(code, message); in assign()
61 WebIDBDatabaseError::operator PassRefPtr<DOMError>() const in operator PassRefPtr<DOMError>()
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DServiceWorkerError.h44 static PassRefPtr<DOMError> from(WebType* webErrorRaw) in from()
47 … RefPtr<DOMError> error = DOMError::create(errorString(webError->errorType), webError->message); in from()
DNavigatorServiceWorker.cpp106 resolver->reject(DOMError::create(InvalidStateError, "No document available.")); in registerServiceWorker()
114 …resolver->reject(DOMError::create(SecurityError, "Can only register for patterns in the document's… in registerServiceWorker()
120 resolver->reject(DOMError::create(SecurityError, "Script must be in document's origin.")); in registerServiceWorker()
141 resolver->reject(DOMError::create(InvalidStateError, "No document available.")); in unregisterServiceWorker()
149 …resolver->reject(DOMError::create(SecurityError, "Can only unregister for patterns in the document… in unregisterServiceWorker()
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DIDBTransaction.h44 class DOMError; variable
78 PassRefPtr<DOMError> error() const { return m_error; } in error()
87 void setError(PassRefPtr<DOMError>);
93 virtual void onAbort(PassRefPtr<DOMError>);
127 RefPtr<DOMError> m_error;
DIDBDatabaseCallbacks.h34 class DOMError; variable
46 virtual void onAbort(int64_t transactionId, PassRefPtr<DOMError>);
DIDBTransactionTest.cpp85 virtual void onAbort(int64_t transactionId, PassRefPtr<DOMError> error) OVERRIDE { } in onAbort()
113 transaction->onAbort(DOMError::create(AbortError, "Aborted")); in TEST_F()
147 db->onAbort(transactionId, DOMError::create(AbortError, "Aborted")); in TEST_F()
DIDBRequest.h70 PassRefPtr<DOMError> error(ExceptionState&) const;
97 virtual void onError(PassRefPtr<DOMError>);
159 RefPtr<DOMError> m_error;
DIDBFactory.cpp88 request->onError(DOMError::create(UnknownError, permissionDeniedErrorMessage)); in getDatabaseNames()
126 request->onError(DOMError::create(UnknownError, permissionDeniedErrorMessage)); in openInternal()
158 request->onError(DOMError::create(UnknownError, permissionDeniedErrorMessage)); in deleteDatabase()
DIDBDatabase.h49 class DOMError; variable
86 virtual void onAbort(int64_t, PassRefPtr<DOMError>);
DIDBRequestTest.cpp100 request->onError(DOMError::create(AbortError, "Description goes here.")); in TEST_F()
122 request->onError(DOMError::create(AbortError, "Description goes here.")); in TEST_F()
DIDBRequest.cpp89 PassRefPtr<DOMError> IDBRequest::error(ExceptionState& exceptionState) const in error()
137 …onError(DOMError::create(AbortError, "The transaction was aborted, so the request cannot be fulfil… in abort()
212 void IDBRequest::onError(PassRefPtr<DOMError> error) in onError()
476 … m_transaction->setError(DOMError::create(AbortError, "Uncaught exception in event handler.")); in uncaughtExceptionInEventHandler()
/external/chromium_org/third_party/WebKit/public/platform/
DWebIDBDatabaseError.h36 namespace WebCore { class DOMError; } variable
58 operator WTF::PassRefPtr<WebCore::DOMError>() const;
65 WebPrivatePtr<WebCore::DOMError> m_private;
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
DMIDIAccessPromise.h43 class DOMError; variable
63 void reject(PassRefPtr<DOMError>);
83 RefPtr<DOMError> m_error;
DMIDIErrorCallback.h36 class DOMError; variable
41 virtual void handleEvent(DOMError*) = 0;
DMIDIAccess.cpp102 m_promise->reject(DOMError::create("InvalidStateError")); in didStartSession()
181 m_promise->reject(DOMError::create("SecurityError")); in permissionDenied()
/external/chromium_org/third_party/WebKit/Source/modules/quota/
DStorageErrorCallback.h41 class DOMError; variable
48 virtual void handleEvent(DOMError*) = 0;
DStorageErrorCallback.cpp49 m_callback->handleEvent(DOMError::create(m_ec).get()); in performTask()
/external/chromium_org/chrome/common/extensions/api/
Dfile_system_provider.idl15 [nodoc, instanceOf=DOMError] object error);
18 [nocompile] callback ErrorCallback = void([instanceOf=DOMError] object error);

123