mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 17:09:43 +00:00
LibWeb: Add DOMMatrix toFloat32Array and toFloat64Array
This commit is contained in:
parent
7b4b5b735b
commit
2e122b16e4
Notes:
sideshowbarker
2024-07-17 02:14:39 +09:00
Author: https://github.com/bplaat
Commit: 2e122b16e4
Pull-request: https://github.com/SerenityOS/serenity/pull/21233
Reviewed-by: https://github.com/ADKaster
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