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
commit 11371acfaf
Notes: sideshowbarker 2024-07-17 07:35:03 +09:00
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>
)~~~");