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

The spec's wording for where to place operations is broken and confusing #164

Closed
domenic opened this issue Sep 8, 2016 · 0 comments
Closed

Comments

@domenic
Copy link
Member

domenic commented Sep 8, 2016

Specifically, it breaks down badly for partial interfaces. This was discovered in #155; see especially the comment thread at #155 (comment).

The right way to fix this is to make the setup of instances, interface prototype objects, and interface objects more imperative (as is currently done for namespaces).

Also, it would help if mixins were a first-class concept, instead of something you get when using [NoInterfaceObject] and also only ever using the interface on the right-hand side of an implements statement

tobie added a commit to tobie/webidl that referenced this issue Oct 11, 2017
* Obsolete use of [NoInterfaceObject] extended attribute as mixins.
* Add new interface mixin and partial interface mixin constructs.
* Replace implements statement by includes statement which only accepts
  mixins on its rhs.
* Remove supplemental interface and related concepts altogether.
* Add generic members dfn.
* Add table to clarify which members each construct accepts.
* Refactor default toJSON operation, and [Exposed] and [SecureContext]
  algorithms accordingly. Closes whatwg#118.
* Prevent operation overloading across mixins and interfaces. Closes whatwg#261.

Closes whatwg#363.
Closes whatwg#164.

Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26452.
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25495.
tobie added a commit to tobie/webidl that referenced this issue Oct 11, 2017
* Obsolete use of [NoInterfaceObject] extended attribute as mixins.
* Add new interface mixin and partial interface mixin constructs.
* Replace implements statement by includes statement which only accepts
  mixins on its rhs.
* Remove supplemental interface and related concepts altogether.
* Add generic members dfn.
* Add table to clarify which members each construct accepts.
* Refactor default toJSON operation, and [Exposed] and [SecureContext]
  algorithms accordingly. Closes whatwg#118.
* Prevent operation overloading across mixins and interfaces. Closes whatwg#261.

Closes whatwg#363.
Closes whatwg#164.

Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26452.
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25495.
tobie added a commit to tobie/webidl that referenced this issue Oct 11, 2017
* Obsolete use of [NoInterfaceObject] extended attribute as mixins.
* Add new interface mixin and partial interface mixin constructs.
* Replace implements statement by includes statement which only accepts
  mixins on its rhs.
* Remove supplemental interface and related concepts altogether.
* Add generic members dfn.
* Add table to clarify which members each construct accepts.
* Refactor default toJSON operation, and [Exposed] and [SecureContext]
  algorithms accordingly. Closes whatwg#118.
* Prevent operation overloading across mixins and interfaces. Closes whatwg#261.

Closes whatwg#363.
Closes whatwg#164.

Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26452.
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25495.
tobie added a commit to tobie/webidl that referenced this issue Oct 11, 2017
* Obsolete use of [NoInterfaceObject] extended attribute as mixins.
* Add new interface mixin and partial interface mixin constructs.
* Replace implements statement by includes statement which only accepts
  mixins on its rhs.
* Remove supplemental interface and related concepts altogether.
* Add generic members dfn.
* Add table to clarify which members each construct accepts.
* Refactor default toJSON operation, and [Exposed] and [SecureContext]
  algorithms accordingly. Closes whatwg#118.
* Prevent operation overloading across mixins and interfaces. Closes whatwg#261.

Closes whatwg#363.
Closes whatwg#164.

Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26452.
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25495.
tobie added a commit to tobie/webidl that referenced this issue Oct 11, 2017
* Obsolete use of [NoInterfaceObject] extended attribute as mixins.
* Add new interface mixin and partial interface mixin constructs.
* Replace implements statement by includes statement which only accepts
  mixins on its rhs.
* Remove supplemental interface and related concepts altogether.
* Add generic members dfn.
* Add table to clarify which members each construct accepts.
* Refactor default toJSON operation, and [Exposed] and [SecureContext]
  algorithms accordingly. Closes whatwg#118.
* Prevent operation overloading across mixins and interfaces. Closes whatwg#261.

Closes whatwg#363.
Closes whatwg#164.

Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26452.
Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25495.
@tobie tobie closed this as completed in 45e8173 Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant