mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Add DOM-related performance timing properties
This commit is contained in:
parent
27e104aa1a
commit
e49d592fba
4 changed files with 91 additions and 7 deletions
|
@ -1642,6 +1642,8 @@ impl ScriptTask {
|
|||
let frame_element = frame_element.r().map(Castable::upcast);
|
||||
window.init_browsing_context(document.r(), frame_element);
|
||||
|
||||
document.set_ready_state(DocumentReadyState::Loading);
|
||||
|
||||
// Create the root frame
|
||||
page.set_frame(Some(Frame {
|
||||
document: JS::from_rooted(&document),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue