1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:27:45 +00:00

LibWeb: Implement UIEvent.initUIEvent()

1% progression on ACID3. :^)
This commit is contained in:
Andreas Kling 2022-02-25 17:31:56 +01:00
parent 093e66afc0
commit d0ab546d7a
2 changed files with 11 additions and 1 deletions

View file

@ -4,6 +4,9 @@ interface UIEvent : Event {
constructor(DOMString type, optional UIEventInit eventInitDict = {});
readonly attribute Window? view;
readonly attribute long detail;
// NOTE: This is "deprecated, but supported for backwards-compatibility with widely-deployed implementations."
[ImplementedAs=init_ui_event] undefined initUIEvent(DOMString typeArg, optional boolean bubblesArg = false, optional boolean cancelableArg = false, optional Window? viewArg = null, optional long detailArg = 0);
};
dictionary UIEventInit : EventInit {