mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 17:55:06 +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
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