W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

[Bug 14813] Prototype of interface objects is Object.prototype in implementations, not Function.prototype

From: <bugzilla@jessica.w3.org>
Date: Mon, 21 Nov 2011 19:45:22 +0000
To: public-script-coord@w3.org
Message-Id: <E1RSZnu-0002JF-FP@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14813

--- Comment #7 from Aryeh Gregor <ayg@aryeh.name> 2011-11-21 19:45:21 UTC ---
I'm fine with browsers changing here, I just want the spec to match browsers. 
I came across this discrepancy while writing WebIDL test-cases.  If browsers
have agreed they intend to change, then this bug should be closed WONTFIX and
I'll make my test-cases match the spec (so all browsers fail).

I think it would be helpful to note in the spec that that requirement is a
proposed change and implementers should be on the lookout for compat issues,
though, until we have one major browser shipping the change with no compat
issues.

FWIW, Function definitely does make sense here, AFAICT.  Object doesn't match
the usual ES pattern for how "classes"/prototypes work.  So I'm all behind
browsers changing here instead of the spec, if they're willing to try.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 21 November 2011 19:45:30 UTC

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