mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:38:10 +00:00
LibWeb: Update Document::unload() to match latest spec
This commit is contained in:
parent
359d8a3dc2
commit
e5302e0f56
2 changed files with 64 additions and 71 deletions
|
@ -484,8 +484,8 @@ 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/document-lifecycle.html#unload-a-document
|
||||
void unload(JS::GCPtr<Document> new_document = nullptr);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#active-parser
|
||||
JS::GCPtr<HTML::HTMLParser> active_parser();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue