mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
I believe this is an error in the UI Events spec, and it should be
updated to match the HTML spec (which uses WindowProxy everywhere).
This fixes a bunch of issues already covered by existing WPT tests.
Spec bug: https://github.com/w3c/uievents/issues/388
Note that WebKit has been using WindowProxy instead of Window in
UI Events IDL since 2018:
816158b4aa
9 lines
358 B
Plaintext
9 lines
358 B
Plaintext
#import <UIEvents/UIEvent.idl>
|
|
|
|
// https://w3c.github.io/uievents/#textevent
|
|
[Exposed=Window]
|
|
interface TextEvent : UIEvent {
|
|
readonly attribute DOMString data;
|
|
undefined initTextEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional WindowProxy? view = null, optional DOMString data = "undefined");
|
|
};
|