add support for mixin syntax

Fixed Issue #14515931

Details

Author
Tobie L.
Created
Nov 3, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
  • Chrome
  • Safari
  • Firefox
  • Opera
Standard affected
Web IDL

Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Hi all!

WebIDL recently introduced dedicated syntax for mixins.

This syntax replaces the [NoInterfaceObject] extended attribute and “implements statement” which have been deprecated (except for a few legacy uses cases explicitly mentioned in the spec).

You can read more about it in the spec.

In most cases, the changes should be relatively straightforward. The now deprecated:

interface Foo { };

[NoInterfaceObject]  // (Mostly) DEPRECATED
interface Bar { };
Foo implementes Bar; // DEPRECATED

should just be rewritten as:

interface Foo { };

interface mixin Bar { };
Foo includes Bar;

Please feel free to reach out if you have any questions.

Thanks!

This is tracked in: https://github.com/heycam/webidl/issues/472
The original pull-request: https://github.com/heycam/webidl/pull/433

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Status to “Fixed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in