aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg/webdriver_msg.rs
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-06-17 00:25:23 +0100
committerJames Graham <james@hoppipolla.co.uk>2015-06-17 00:25:23 +0100
commit22c06307b8a55ae3ce7393d9770918f74ac5e0d8 (patch)
treea7b7155e02ca6d7c1c852cd01ba025f13fd68191 /components/msg/webdriver_msg.rs
parentee22ae263515c2804b739ead4c02bc7333c3965c (diff)
downloadservo-22c06307b8a55ae3ce7393d9770918f74ac5e0d8.tar.gz
servo-22c06307b8a55ae3ce7393d9770918f74ac5e0d8.zip
Implement timeout for url load from WebDriver.
Diffstat (limited to 'components/msg/webdriver_msg.rs')
-rw-r--r--components/msg/webdriver_msg.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/msg/webdriver_msg.rs b/components/msg/webdriver_msg.rs
index 7921bb0a156..bc57f58fa28 100644
--- a/components/msg/webdriver_msg.rs
+++ b/components/msg/webdriver_msg.rs
@@ -53,4 +53,7 @@ impl ToJson for WebDriverJSValue {
}
}
-pub struct LoadComplete;
+pub enum LoadStatus {
+ LoadComplete,
+ LoadTimeout
+}