mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Introduce GlobalScope::pipeline_id
This commit is contained in:
parent
c6ff767625
commit
27f100b1d4
21 changed files with 103 additions and 85 deletions
|
@ -24,6 +24,7 @@ use dom::element::Element;
|
|||
use dom::event::{EventBubbles, EventCancelable};
|
||||
use dom::eventtarget::EventTarget;
|
||||
use dom::file::File;
|
||||
use dom::globalscope::GlobalScope;
|
||||
use dom::htmlbuttonelement::HTMLButtonElement;
|
||||
use dom::htmlcollection::CollectionFilter;
|
||||
use dom::htmldatalistelement::HTMLDataListElement;
|
||||
|
@ -436,7 +437,7 @@ impl HTMLFormElement {
|
|||
// Step 2
|
||||
let nav = box PlannedNavigation {
|
||||
load_data: load_data,
|
||||
pipeline_id: window.pipeline_id(),
|
||||
pipeline_id: window.upcast::<GlobalScope>().pipeline_id(),
|
||||
script_chan: window.main_thread_script_chan().clone(),
|
||||
generation_id: self.generation_id.get(),
|
||||
form: Trusted::new(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue