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
No other runtime I tested throws with this code, and throwing seems incorrect (though I haven't read the WebIDL spec lol)
Would also be nice if the brand checks stopped using symbols, though I don't think that'll be an issue for me here
The text was updated successfully, but these errors were encountered:
easrng
changed the title
Deno WebIDL brand checks incorrectly throw when using getters/methods on makeSafed WebIDL classes
WebIDL brand checks incorrectly throw when using getters/methods on makeSafed WebIDL classes
Mar 9, 2025
Version: Deno 2.1.9
I was making a SafeURL class with
makeSafe
from primordials when I ran into this error:Here's a version that doesn't rely on the primordials:
No other runtime I tested throws with this code, and throwing seems incorrect (though I haven't read the WebIDL spec lol)
Would also be nice if the brand checks stopped using symbols, though I don't think that'll be an issue for me here
The text was updated successfully, but these errors were encountered: