1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibWeb/WebIDL: Implement ConvertToInt and IntegerPart AOs

These are used when converting JS::Values to integers in IDL, as opposed
to our current AD-HOC solution.
This commit is contained in:
Shannon Booth 2023-12-27 21:00:56 +13:00 committed by Andreas Kling
parent f1f369b6c6
commit 11371acfaf
3 changed files with 132 additions and 0 deletions

View file

@ -4368,6 +4368,7 @@ void generate_global_mixin_implementation(IDL::Interface const& interface, Strin
#include <LibWeb/HTML/Window.h>
#include <LibWeb/HTML/WindowProxy.h>
#include <LibWeb/WebIDL/OverloadResolution.h>
#include <LibWeb/WebIDL/Types.h>
)~~~");