mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 15:28:55 +00:00
LibWeb: Update top_level_browsing_context() to use navigables
This commit is contained in:
parent
fda420875d
commit
6942bdcfce
Notes:
sideshowbarker
2024-07-17 08:34:29 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 6942bdcfce
Pull-request: https://github.com/SerenityOS/serenity/pull/18219
9 changed files with 43 additions and 30 deletions
|
@ -201,7 +201,7 @@ static void show_the_picker_if_applicable(HTMLInputElement& element)
|
|||
|
||||
// FIXME: Pass along accept attribute information https://html.spec.whatwg.org/multipage/input.html#attr-input-accept
|
||||
// The accept attribute may be specified to provide user agents with a hint of what file types will be accepted.
|
||||
element.document().browsing_context()->top_level_browsing_context().page()->client().page_did_request_file_picker(weak_element, multiple);
|
||||
element.document().browsing_context()->top_level_browsing_context()->page()->client().page_did_request_file_picker(weak_element, multiple);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue