diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-01-04 06:21:50 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-01-04 06:21:50 -0700 |
commit | 076e28795d90a9a8bb523774b993f841602ae9e6 (patch) | |
tree | fb430190365e53cfa56548f827235a29c51c3990 /components/script/script_task.rs | |
parent | dd84ae6bfb46872dfb0f0a8dca680452dadce3f0 (diff) | |
parent | 50d53c9fa3802dd5ab27caa4a34b0b141d94ac40 (diff) | |
download | servo-076e28795d90a9a8bb523774b993f841602ae9e6.tar.gz servo-076e28795d90a9a8bb523774b993f841602ae9e6.zip |
auto merge of #4533 : catchmrbharath/servo/4497, r=jdm
A lot of tests were failing when I ran `./mach test tests/wpt/web-platform-tests/workers --processes=4` and
`./mach test tests/wpt/web-platform-tests/XMLHttpRequest --processes=4` on master. So I could not completely test it. I verified that the tests that were failing were the same, before and after the change.
Is there any way to run it here?
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 91899233b45..92b457403f6 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -27,7 +27,6 @@ use dom::keyboardevent::KeyboardEvent; use dom::mouseevent::MouseEvent; use dom::node::{mod, Node, NodeHelpers, NodeDamage, NodeTypeId}; use dom::window::{Window, WindowHelpers}; -use dom::worker::{Worker, TrustedWorkerAddress}; use parse::html::{HTMLInput, parse_html}; use layout_interface::{ScriptLayoutChan, LayoutChan, ReflowGoal, ReflowQueryType}; use layout_interface; @@ -115,8 +114,6 @@ pub enum ScriptMsg { /// Message sent through Worker.postMessage (only dispatched to /// DedicatedWorkerGlobalScope). DOMMessage(*mut u64, size_t), - /// Posts a message to the Worker object (dispatched to all tasks). - WorkerPostMessage(TrustedWorkerAddress, *mut u64, size_t), /// Generic message that encapsulates event handling. RunnableMsg(Box<Runnable+Send>), /// A DOM object's last pinned reference was removed (dispatched to all tasks). @@ -600,8 +597,6 @@ impl ScriptTask { self.handle_exit_window_msg(id), ScriptMsg::DOMMessage(..) => panic!("unexpected message"), - ScriptMsg::WorkerPostMessage(addr, data, nbytes) => - Worker::handle_message(addr, data, nbytes), ScriptMsg::RunnableMsg(runnable) => runnable.handler(), ScriptMsg::RefcountCleanup(addr) => |