mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
LibWeb: Replace IDL 'void' return type with 'undefined'
From the Web IDL spec: https://heycam.github.io/webidl/#idl-undefined [...] undefined constant values in IDL are represented with the `undefined` token. [...] Note: This value was previously spelled `void`, and more limited in how it was allowed to be used.
This commit is contained in:
parent
c1dfb2d883
commit
5d77a19af5
Notes:
sideshowbarker
2024-07-19 00:56:23 +09:00
Author: https://github.com/linusg
Commit: 5d77a19af5
Pull-request: https://github.com/SerenityOS/serenity/pull/4372
6 changed files with 23 additions and 23 deletions
|
@ -7,14 +7,14 @@ interface Event {
|
|||
|
||||
readonly attribute unsigned short eventPhase;
|
||||
|
||||
void stopPropagation();
|
||||
undefined stopPropagation();
|
||||
attribute boolean cancelBubble;
|
||||
void stopImmediatePropagation();
|
||||
undefined stopImmediatePropagation();
|
||||
|
||||
readonly attribute boolean bubbles;
|
||||
readonly attribute boolean cancelable;
|
||||
attribute boolean returnValue;
|
||||
void preventDefault();
|
||||
undefined preventDefault();
|
||||
readonly attribute boolean defaultPrevented;
|
||||
readonly attribute boolean composed;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue