mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibWeb: Validate arguments when creating DOMPoint from matrix transform
Previously, it was possible to create a DOMPoint from a matrix transform with inconsistent arguments. A TypeError is now thrown in this case.
This commit is contained in:
parent
c5d1ec4dea
commit
fe66aeb225
3 changed files with 14 additions and 2 deletions
|
@ -4,3 +4,4 @@
|
|||
4. {"x":750,"y":1060,"z":0,"w":1}
|
||||
5. {"x":750,"y":1060,"z":0,"w":1}
|
||||
6. {"x":750,"y":1060,"z":0,"w":1}
|
||||
7. Exception: TypeError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue