mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Make WebDriver Get() command wait on pages loading before returning.
This makes using WebDriver significantly less racy. Also refactors the message structure a little
This commit is contained in:
parent
7e022b25a8
commit
28ac0abf6a
7 changed files with 87 additions and 39 deletions
|
@ -98,7 +98,7 @@ pub enum ConstellationControlMsg {
|
|||
/// Set an iframe to be focused. Used when an element in an iframe gains focus.
|
||||
FocusIFrame(PipelineId, SubpageId),
|
||||
// Passes a webdriver command to the script task for execution
|
||||
WebDriverCommand(PipelineId, WebDriverScriptCommand),
|
||||
WebDriverScriptCommand(PipelineId, WebDriverScriptCommand),
|
||||
/// Notifies script task that all animations are done
|
||||
TickAllAnimations(PipelineId),
|
||||
/// Notifies script that a stylesheet has finished loading.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue