Add DOM-related performance timing properties

This commit is contained in:
Greg Guthe 2015-08-14 20:47:26 -04:00
parent 27e104aa1a
commit e49d592fba
4 changed files with 91 additions and 7 deletions

View file

@ -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),