1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 15:15:08 +00:00

LibWeb: Add DOMMatrix toFloat32Array and toFloat64Array

This commit is contained in:
Bastiaan van der Plaat 2023-09-25 18:44:10 +02:00 committed by Andrew Kaster
parent 7b4b5b735b
commit 2e122b16e4
6 changed files with 59 additions and 2 deletions

View file

@ -84,6 +84,8 @@ static bool is_javascript_builtin(Type const& type)
// might simply need to add another type here.
static constexpr Array types = {
"ArrayBuffer"sv,
"Float32Array"sv,
"Float64Array"sv,
};
return types.span().contains_slow(type.name());