mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Bug fixes, mainly about document loading.
This commit is contained in:
parent
cda9099396
commit
21d8235a82
10 changed files with 87 additions and 81 deletions
|
@ -231,7 +231,11 @@ impl HTMLIFrameElement {
|
|||
}
|
||||
|
||||
/// https://html.spec.whatwg.org/multipage/#iframe-load-event-steps steps 1-4
|
||||
pub fn iframe_load_event_steps(&self) {
|
||||
pub fn iframe_load_event_steps(&self, loaded_pipeline: PipelineId) {
|
||||
// TODO(#9592): assert that the load blocker is present at all times when we
|
||||
// can guarantee that it's created for the case of iframe.reload().
|
||||
assert_eq!(loaded_pipeline, self.pipeline_id().unwrap());
|
||||
|
||||
// TODO A cross-origin child document would not be easily accessible
|
||||
// from this script thread. It's unclear how to implement
|
||||
// steps 2, 3, and 5 efficiently in this case.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue