Skip to content

Commit

Permalink
Revamp interface bindings (#313)
Browse files Browse the repository at this point in the history
* 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 [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.
  • Loading branch information
tobie authored Feb 20, 2017
1 parent 9830a84 commit 4a8f57e
Showing 1 changed file with 203 additions and 216 deletions.
Loading

0 comments on commit 4a8f57e

Please sign in to comment.