- From: Tobie Langel <notifications@github.com>
- Date: Mon, 15 May 2017 17:22:34 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 May 2017 00:23:07 UTC
tobie commented on this pull request.
> + E implements I;
+ </pre>
+
+ Calling the <code>toJSON</code> method of an object
+ implementing interface `A` defined above
+ would return the following JSON object:
+
+ <pre highlight=json>
+ {
+ "w": "...",
+ "z": "...",
+ "u": "...",
+ "s": "...",
+ "x": "...",
+ "y": "..."
+ }
So we mostly agree, except you consider mixins happen after interface definition rather than before.
```webidl
interface A {
attribute DOMString a;
};
interface B {
attribute DOMString b;
};
A implements B;
```
Do we get `{a,b}` or `{b,a}`?
I don't think the spec is clear about that, tbh.
--
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/323#discussion_r116630706
Received on Tuesday, 16 May 2017 00:23:07 UTC