[heycam/webidl] Revamp interface bindings (#313)

* Extract legacy callback interface objects
  out of interface objects. Closes #78.
* Clarify that legacy callback interfaces are function objects.
* Give them a length property. Closes #279. Closes #83.
* Require new for Named Constructors. Closes #275.
* Rely on ES abstract operations for defining,
  named constructors, interface objects, and
  legacy callback interface objects.
* Disallow using the [NoInterfaceObject] on
  callback interfaces with constants.
* Don't require an interface prototype object for constants.
  Callback interfaces do not have an interface prototype object.
  Their constants sit on the legacy callback interface object itself.
  Closes #281.

Closes #283.

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

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

-- Commit Summary --

  * Revamp interface bindings
  * Address review comments.
  * Add advisement for NamedConstructors.
  * Don't require an interface prototype object for constants.
  * Address review comments.

-- File Changes --

    M .gitignore (1)
    M index.bs (419)

-- Patch Links --

https://github.com/heycam/webidl/pull/313.patch
https://github.com/heycam/webidl/pull/313.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/313

Received on Monday, 20 February 2017 22:02:44 UTC