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:
parent
7b4b5b735b
commit
2e122b16e4
6 changed files with 59 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue