Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Use MakeBasicObject #871

Merged
merged 1 commit into from
Apr 16, 2020

Conversation

ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented Apr 16, 2020

This updates the WebIDL interface object creation algorithms to use the MakeBasicObject abstract operation that was introduced by @domenic in tc39/ecma262#1460.


Preview | Diff

@ExE-Boss ExE-Boss force-pushed the refactor/explicit-exotics branch from 77f5556 to 85dc069 Compare April 16, 2020 11:26
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great; thank you!

@domenic domenic merged commit d9074f8 into whatwg:master Apr 16, 2020
@ExE-Boss ExE-Boss deleted the refactor/explicit-exotics branch April 16, 2020 15:39
domenic pushed a commit that referenced this pull request Jul 7, 2020
This is a follow-up to #871.

Changing the [[SetPrototypeOf]] method of the result of OrdinaryObjectCreate goes against the intention of separating OrdinaryObjectCreate and MakeBasicObject, so this fixes that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants