Re: [heycam/webidl] [[Construct]] for legacy platform objects? (#407)

I'm not sure document.all() is your best test case for "legacy platform objects" in general, given how weird it is. That said, you have indeed discovered an interop problem we should fix, one way or another.

I think implicitly legacy platform objects are "based on" normal non-exotic objects and "inherit" their internal methods (or lack thereof), so there should be no [[Call]]/[[Construct]]. But I guess that is not stated anywhere? Cf. the last sentence in the intro to https://tc39.github.io/ecma262/#sec-bound-function-exotic-objects

-- 
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/407#issuecomment-322227274

Received on Monday, 14 August 2017 15:47:39 UTC