diff options
Diffstat (limited to 'components/script_traits/webdriver_msg.rs')
-rw-r--r-- | components/script_traits/webdriver_msg.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/script_traits/webdriver_msg.rs b/components/script_traits/webdriver_msg.rs index 0694c97f29d..09d3c9e9e1c 100644 --- a/components/script_traits/webdriver_msg.rs +++ b/components/script_traits/webdriver_msg.rs @@ -53,7 +53,10 @@ pub enum WebDriverJSValue { #[derive(Deserialize, Serialize)] pub enum WebDriverJSError { Timeout, - UnknownType + UnknownType, + /// Occurs when handler received an event message for a layout channel that is not + /// associated with the current script thread + BrowsingContextNotFound } pub type WebDriverJSResult = Result<WebDriverJSValue, WebDriverJSError>; |