- From: Philip Jägenstedt <notifications@github.com>
- Date: Tue, 08 Mar 2016 02:38:56 -0800
- To: heycam/webidl <webidl@noreply.github.com>
Received on Tuesday, 8 March 2016 10:39:24 UTC
http://heycam.github.io/webidl/#interface-object > The internal [[Prototype]] property of an interface object for a callback interface must be the Object.prototype object. This doesn't match Edge and Gecko, where `Object.getPrototypeOf(NodeFilter) === Function.prototype` holds true. It looks like this could be fixed by using the same language as for non-callback interfaces that don't inherit from any other interface: > If the interface doesn't inherit from any other interface, the value of [[Prototype]] is %FunctionPrototype% This was discussed in https://github.com/heycam/webidl/issues/83 and I just noticed it in https://github.com/whatwg/dom/issues/186#issuecomment-193709823 https://github.com/heycam/webidl/issues/78 is also more general issue about the interface objects of callback interface objects. --- Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/96
Received on Tuesday, 8 March 2016 10:39:24 UTC