diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-07-17 18:09:15 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-07-18 14:24:50 -0500 |
commit | aa0a72df0f5017c71572af38ec912e8b011bb34d (patch) | |
tree | d024924e0a08a30cdc871cd2dd49ca566df2bd0a /components/script/dom/domexception.rs | |
parent | dc1da02aa427d91da4946cef2296b18f893a525f (diff) | |
download | servo-aa0a72df0f5017c71572af38ec912e8b011bb34d.tar.gz servo-aa0a72df0f5017c71572af38ec912e8b011bb34d.zip |
Added framebuffer and related attributes to XRWebGLLayer
Diffstat (limited to 'components/script/dom/domexception.rs')
-rw-r--r-- | components/script/dom/domexception.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/domexception.rs b/components/script/dom/domexception.rs index b5b0ca5a8c4..0df528edb87 100644 --- a/components/script/dom/domexception.rs +++ b/components/script/dom/domexception.rs @@ -37,6 +37,7 @@ pub enum DOMErrorName { InvalidNodeTypeError = DOMExceptionConstants::INVALID_NODE_TYPE_ERR, DataCloneError = DOMExceptionConstants::DATA_CLONE_ERR, NotReadableError = DOMExceptionConstants::NOT_READABLE_ERR, + OperationError = DOMExceptionConstants::OPERATION_ERR, } impl DOMErrorName { @@ -64,6 +65,7 @@ impl DOMErrorName { "InvalidNodeTypeError" => Some(DOMErrorName::InvalidNodeTypeError), "DataCloneError" => Some(DOMErrorName::DataCloneError), "NotReadableError" => Some(DOMErrorName::NotReadableError), + "OperationError" => Some(DOMErrorName::OperationError), _ => None, } } @@ -107,6 +109,9 @@ impl DOMException { }, DOMErrorName::DataCloneError => "The object can not be cloned.", DOMErrorName::NotReadableError => "The I/O read operation failed.", + DOMErrorName::OperationError => { + "The operation failed for an operation-specific reason." + }, }; ( |