W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2013

[Bug 20653] Function object doesn't specify needing a "prototype" property

From: <bugzilla@jessica.w3.org>
Date: Sat, 12 Jan 2013 01:12:42 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20653-3890-fMpJueaOf4@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20653

--- Comment #4 from Boris Zbarsky <bzbarsky@mit.edu> ---
Indeed.  And there are certainly plenty of prototype-less Functions around
right now in WebIDL too:

[20:09:43.043] Object.getOwnPropertyDescriptor(Array.prototype.push,
"prototype")
[20:09:43.045] undefined
--
[20:09:52.795] Object.getOwnPropertyDescriptor(document.getElementById,
"prototype")
[20:09:52.797] undefined

compared to:

[20:11:44.744] Object.getOwnPropertyDescriptor(EventTarget, "prototype")
[20:11:44.747] ({configurable:false, enumerable:false,
value:{addEventListener:function addEventListener() {
    [native code]
}, removeEventListener:function removeEventListener() {
    [native code]
}, dispatchEvent:function dispatchEvent() {
    [native code]
}}, writable:false})

What we sorta want is a place defining interface objects that Web Components
can link to....

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 12 January 2013 01:12:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC