mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +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:
@@ -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);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user