mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-19 16:51:52 +00:00
LibWeb: Stub out HTMLDialogElement APIs
This makes https://null.com/ load instead of throwing a React internal error and showing a black background.
This commit is contained in:
parent
aa03f73c2e
commit
e2dcd97c88
Notes:
sideshowbarker
2024-07-16 23:55:09 +09:00
Author: https://github.com/awesomekling
Commit: e2dcd97c88
Pull-request: https://github.com/SerenityOS/serenity/pull/20916
Reviewed-by: https://github.com/AtkinsSJ
3 changed files with 43 additions and 0 deletions
|
@ -7,5 +7,9 @@ interface HTMLDialogElement : HTMLElement {
|
|||
[HTMLConstructor] constructor();
|
||||
|
||||
[CEReactions, Reflect] attribute boolean open;
|
||||
attribute DOMString returnValue;
|
||||
[CEReactions] undefined show();
|
||||
[CEReactions] undefined showModal();
|
||||
[CEReactions] undefined close(optional DOMString returnValue);
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue