-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[geometry] DOMMatrix stringifier in workers #145
Comments
At a glance I can't tell if |
I think we should limit the special stringifier to the main thread, and return [object DOMMatrix] |
I wouldn't really mind that, but isn't it actually more complicated for implementors? |
Another aspect is that #120 proposes making the stringifier throw if there are NaN/Infinity values, which could be nice to avoid in workers. |
As far as I can tell from WebIDL, |
If |
https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-stringifier
In #122 we limited CSS parser entry points for
DOMMatrix
toWindow
. Should we also limit the stringifier toWindow
(so that in workers it would stringify to "[object DOMMatrix]
")?cc @esprehn @chrishtr @foolip
The text was updated successfully, but these errors were encountered: