mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
continue messageport, transferable, postmessage options
This commit is contained in:
parent
c3b17c1201
commit
2f8932a6a1
100 changed files with 2456 additions and 1171 deletions
|
@ -1917,10 +1917,11 @@ impl Document {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
let global_scope = self.window.upcast::<GlobalScope>();
|
||||
// Step 10, 14
|
||||
// https://html.spec.whatwg.org/multipage/#unloading-document-cleanup-steps
|
||||
if !self.salvageable.get() {
|
||||
// https://html.spec.whatwg.org/multipage/#unloading-document-cleanup-steps
|
||||
let global_scope = self.window.upcast::<GlobalScope>();
|
||||
// Step 1 of clean-up steps.
|
||||
global_scope.close_event_sources();
|
||||
let msg = ScriptMsg::DiscardDocument;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue