mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
LibWeb: Add support for optional default values and optional bools in IDL
Fixed the DOMException constructor as it had the default value version commented out.
This commit is contained in:
parent
ad4a4ba1c6
commit
8da14bf880
2 changed files with 58 additions and 10 deletions
|
@ -1,8 +1,6 @@
|
|||
interface DOMException {
|
||||
|
||||
// FIXME: Support parameter default values in WrapperGenerator
|
||||
// constructor(optional DOMString message = "", optional DOMString name = "Error");
|
||||
constructor(optional DOMString message, optional DOMString name);
|
||||
constructor(optional DOMString message = "", optional DOMString name = "Error");
|
||||
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute DOMString message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue