mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
Support WebDriver takeScreenshot command.
This adds support for compositing to a PNG without actually quiting the browser.
This commit is contained in:
parent
59cb1b0396
commit
5311d9ab59
13 changed files with 186 additions and 65 deletions
|
@ -724,9 +724,8 @@ impl ScriptTask {
|
|||
self.handle_update_subpage_id(containing_pipeline_id, old_subpage_id, new_subpage_id),
|
||||
ConstellationControlMsg::FocusIFrame(containing_pipeline_id, subpage_id) =>
|
||||
self.handle_focus_iframe_msg(containing_pipeline_id, subpage_id),
|
||||
ConstellationControlMsg::WebDriverCommand(pipeline_id, msg) => {
|
||||
self.handle_webdriver_msg(pipeline_id, msg);
|
||||
}
|
||||
ConstellationControlMsg::WebDriverCommand(pipeline_id, msg) =>
|
||||
self.handle_webdriver_msg(pipeline_id, msg),
|
||||
ConstellationControlMsg::TickAllAnimations(pipeline_id) =>
|
||||
self.handle_tick_all_animations(pipeline_id),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue