Re: [whatwg/webidl] Can we change promise resolution behaviour to reduce security issues (Issue #1584)

annevk left a comment (whatwg/webidl#1584)

So you're saying that if the `Animation` instance was turned into a thenable and then you invoke its `currentTime` setter with some value, the thenable would end up running? Seems plausible that it's supposed to work that way, but I wonder if we have test coverage for that and if all implementations adhere to that. (The API is a bit unusual in that you already have access to this so why resolve with it, but I guess that doesn't matter at this point.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1584#issuecomment-4145372001
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1584/4145372001@github.com>

Received on Friday, 27 March 2026 21:25:42 UTC