Re: [heycam/webidl] Issues with callables, realms, and proxies (#847)

Interesting; I hadn't realized `Proxy.revocable` was a thing.

Gecko currently does not use `GetFunctionRealm` for the callback case.  It uses the actual global of the object, which may not match what `GetFunctionRealm` returns.  Now that SpiderMonkey exposes a `GetFunctionRealm` API, we could change that....  Does Chrome use `GetFunctionRealm` there?  What about Safari?

Anyway,  I agree that if this part is specced to call `GetFunctionRealm` then it can throw and we need to handle that.

@jorendorff @annevk @bholley @EdgarChen

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

Received on Friday, 6 March 2020 20:08:42 UTC