aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/bindings/utils.rs')
-rw-r--r--src/components/script/dom/bindings/utils.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/script/dom/bindings/utils.rs b/src/components/script/dom/bindings/utils.rs
index 32639d706e7..7eb70ff145f 100644
--- a/src/components/script/dom/bindings/utils.rs
+++ b/src/components/script/dom/bindings/utils.rs
@@ -768,7 +768,8 @@ pub enum Error {
NotFound,
HierarchyRequest,
InvalidCharacter,
- NotSupported
+ NotSupported,
+ InvalidState
}
pub type Fallible<T> = Result<T, Error>;