[heycam/webidl] refactor: Use `MakeBasicObject` (#871)

This updates the **WebIDL** interface object creation algorithms to use the [`MakeBasicObject`](https://tc39.es/ecma262/#sec-makebasicobject) abstract operation that was introduced by @domenic in <https://github.com/tc39/ecma262/pull/1460>.



<!--
    This comment and the below content is programatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***

### :boom: Error: 400 Bad Request :boom: ###

[PR Preview](https://github.com/tobie/pr-preview#pr-preview) failed to build. _(Last tried on Apr 16, 2020, 11:23 AM UTC)_.

<details>
<summary>More</summary>


PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

:rotating_light: [CSS Spec Preprocessor](https://api.csswg.org/bikeshed/) - CSS Spec Preprocessor is the web service used to build Bikeshed specs.

:link: [Related URL](https://api.csswg.org/bikeshed/?url=https%3A%2F%2Fraw.githubusercontent.com%2FEB-Forks%2Fwebidl%2F77f555681e7249dd83be547cf66fdc7d97a6fc51%2Findex.bs&md-warning=not%20ready)

```
Error running preprocessor, returned code: 1.
WARNING: The following <var>s were only used once in the document:
  'slots', in algorithm 'internally create a new object implementing the interface'
If these are not typos, please add an ignore='' attribute to the <var>.
FATAL ERROR: Couldn't find 'Prototype' in bibliography data. Did you mean:
  truetype
  proxy
  photo-rdf
  opentype
  prov-xml
 ✘  Did not generate, due to fatal errors
```

_If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please [file an issue](https://github.com/tobie/pr-preview/issues/new?title=Error%20not%20surfaced%20properly&body=See%20heycam/webidl%23871.)._
</details>

You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/871


-- Commit Summary --

  * refactor: Use `MakeBasicObject`

-- File Changes --

    M index.bs (40)

-- Patch Links --

https://github.com/heycam/webidl/pull/871.patch

https://github.com/heycam/webidl/pull/871.diff


-- 
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/pull/871

Received on Thursday, 16 April 2020 11:23:35 UTC