mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:17:46 +00:00
LibWeb: Flesh out most of the "unload" algorithm for documents
Yet another small steps towards spec-compliant document lifecycles.
This commit is contained in:
parent
797d28adca
commit
0c7ab663c1
3 changed files with 103 additions and 0 deletions
|
@ -420,6 +420,9 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#abort-a-document
|
||||
void abort();
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#unload-a-document
|
||||
void unload(bool recursive_flag = false, Optional<DocumentUnloadTimingInfo> = {});
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#active-parser
|
||||
RefPtr<HTML::HTMLParser> active_parser();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue