1
Fork 0
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:
Andreas Kling 2023-09-02 19:23:04 +02:00
parent aa03f73c2e
commit e2dcd97c88
3 changed files with 43 additions and 0 deletions

View file

@ -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);
};