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

> That should probably rethrow the TypeError, or convert it to a rejected Promise, as appropriate.

Revoked Proxies ultimately do throw a TypeError when you actually attempt to call them in step 2 [here](https://tc39.es/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-call-thisargument-argumentslist). Naively I expect specs handling GetFunctionRealm's thrown TypeError to be not observably different from whatever happens today, unless the times of getting the Realm and the time of calling the callable differ.

One place where the times *do* differ is Promises, which raises another question. I'll continue the discussion back at tc39/ecma262#1597.

-- 
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-595983769

Received on Friday, 6 March 2020 22:02:04 UTC