-
Notifications
You must be signed in to change notification settings - Fork 165
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
Comments
Closed
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
statementThe text was updated successfully, but these errors were encountered: