[heycam/webidl] Is internal method setup in object creation correct? (#657)

In https://github.com/heycam/webidl/pull/635#discussion_r256600690 @TimothyGu pointed out some problems with the setup, but I'm not sure I understand them, or maybe they got fixed in the meantime. Opening this issue to make sure we keep track.

My current understanding of https://heycam.github.io/webidl/#internally-create-a-new-object-implementing-the-interface is that it works out OK:

- Make an ordinary object with ordinary internal methods
- Define all the properties on it (using the ordinary [[DefineOwnProperty]] etc. which will behave in predictable ways)
- Override the internal methods to start doing the exotic platform object things as the last step.

This seems pretty good to me. @TimothyGu, are we missing something?

-- 
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/657

Received on Monday, 25 February 2019 16:22:14 UTC