You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the TrustedTypes aren't frozen objects so can be overridden. And then we need to account for the fact stuff like the stringifier can be overriden in implementations. We should probably change the spec to freeze the trusted types upon creation?
I'm not sure spec wise the correct way to do this. But I'm assuming we can call a freeze algorithm with the object even if there's not an IDL way to say this?
Currently the TrustedTypes aren't frozen objects so can be overridden. And then we need to account for the fact stuff like the stringifier can be overriden in implementations. We should probably change the spec to freeze the trusted types upon creation?
I'm not sure spec wise the correct way to do this. But I'm assuming we can call a freeze algorithm with the object even if there's not an IDL way to say this?
cc @koto
The text was updated successfully, but these errors were encountered: