This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27822 - Define the [[Prototype]] of the interface object of an interface whose parent has NoInterfaceObject
Summary: Define the [[Prototype]] of the interface object of an interface whose parent...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 23133
  Show dependency treegraph
 
Reported: 2015-01-13 18:42 UTC by Ms2ger
Modified: 2016-06-02 21:05 UTC (History)
4 users (show)

See Also:


Attachments

Description Ms2ger 2015-01-13 18:42:34 UTC
interface EventTarget {};
[NoInterfaceObject] interface XMLHttpRequestEventTarget : EventTarget {};
interface XMLHttpRequest : XMLHttpRequestEventTarget {};

In Gecko:
>>> Object.getPrototypeOf(self.XMLHttpRequest)
function EventTarget() {
    [native code]
}
Comment 1 Boris Zbarsky 2015-01-13 20:00:32 UTC
https://github.com/heycam/webidl/pull/38