aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/webdriver_handlers.rs
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2016-05-17 15:12:00 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2016-05-20 09:20:45 -0500
commit3962ffc5015e6e4b4e9ad7f0da5c7fd9b3de3718 (patch)
tree1d2c29a9fda2455558e729cd7ddfc8adbc35f343 /components/script/webdriver_handlers.rs
parente2203f81d31bb865e9d73765de33c87178fa2d14 (diff)
downloadservo-3962ffc5015e6e4b4e9ad7f0da5c7fd9b3de3718.tar.gz
servo-3962ffc5015e6e4b4e9ad7f0da5c7fd9b3de3718.zip
Added a timeout to SetWindowSize.
Diffstat (limited to 'components/script/webdriver_handlers.rs')
-rw-r--r--components/script/webdriver_handlers.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/script/webdriver_handlers.rs b/components/script/webdriver_handlers.rs
index 8c84c950ae0..6a7492492e2 100644
--- a/components/script/webdriver_handlers.rs
+++ b/components/script/webdriver_handlers.rs
@@ -25,16 +25,15 @@ use dom::node::Node;
use dom::window::ScriptHelpers;
use euclid::point::Point2D;
use euclid::rect::Rect;
-use euclid::size::{Size2D, TypedSize2D};
+use euclid::size::Size2D;
use ipc_channel::ipc::IpcSender;
use js::jsapi::JSContext;
use js::jsapi::{HandleValue, RootedValue};
use js::jsval::UndefinedValue;
-use msg::constellation_msg::{PipelineId, WindowSizeData};
+use msg::constellation_msg::PipelineId;
use msg::webdriver_msg::{WebDriverFrameId, WebDriverJSError, WebDriverJSResult, WebDriverJSValue};
use script_thread::get_browsing_context;
use url::Url;
-use util::geometry::ViewportPx;
use util::str::DOMString;
fn find_node_by_unique_id(context: &BrowsingContext,