mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
Source-Repo: https://github.com/servo/servo Source-Revision: 63f6601c133fcee9c598c474695e3c740a02820d
This commit is contained in:
parent
4c4a49bac3
commit
7e13f9f843
@ -100,7 +100,7 @@ impl Actor for TabActor {
|
||||
let console_actor = registry.find::<ConsoleActor>(self.console.as_slice());
|
||||
console_actor.streams.borrow_mut().push(stream.clone());
|
||||
stream.write_json_packet(&msg);
|
||||
console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, true));
|
||||
console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, true)).unwrap();
|
||||
true
|
||||
}
|
||||
|
||||
@ -114,7 +114,7 @@ impl Actor for TabActor {
|
||||
let console_actor = registry.find::<ConsoleActor>(self.console.as_slice());
|
||||
console_actor.streams.borrow_mut().pop();
|
||||
stream.write_json_packet(&msg);
|
||||
console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, false));
|
||||
console_actor.script_chan.send(WantsLiveNotifications(console_actor.pipeline, false)).unwrap();
|
||||
true
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user