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

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