diff options
author | Gregory Terzian <gterzian@users.noreply.github.com> | 2019-09-01 03:18:42 +0800 |
---|---|---|
committer | Gregory Terzian <gterzian@users.noreply.github.com> | 2019-12-11 22:46:50 +0800 |
commit | 6e8a85482c2068d4dbccb992954271f725570f91 (patch) | |
tree | b30f6d82a018df0b196fa4d47d3b6667d708313e /components/script/dom/document.rs | |
parent | 7aa68c8fe7ca0865a7323ab1e5b9526efa588ca2 (diff) | |
download | servo-6e8a85482c2068d4dbccb992954271f725570f91.tar.gz servo-6e8a85482c2068d4dbccb992954271f725570f91.zip |
re-structure blob, structured serialization
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r-- | components/script/dom/document.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index a7a56665bf1..f936dde16cb 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -1921,6 +1921,9 @@ impl Document { let msg = ScriptMsg::DiscardDocument; let _ = global_scope.script_to_constellation_chan().send(msg); } + // https://w3c.github.io/FileAPI/#lifeTime + global_scope.clean_up_all_file_resources(); + // Step 15, End self.decr_ignore_opens_during_unload_counter(); } |