[Webkit-unassigned] [Bug 76085] IETC audio-interface-inherit.129 claims NETWORK_NO_SOURCE should not be overrideable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 11 13:14:00 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76085





--- Comment #3 from Eric Seidel <eric at webkit.org>  2012-01-11 13:13:59 PST ---
I'm unclear from the WebIDL spec.  http://www.w3.org/TR/WebIDL/#es-constants

4.5.4. Constants

For each constant defined on an interface A, there must be a corresponding property on the interface object, if it exists. The property has the following characteristics:

The name of the property is the identifier of the constant.
The value of the property is that which is obtained by converting the constant’s IDL value to an ECMAScript value.
The property has attributes { [[Writable]]: false, [[Enumerable]]: true, [[Configurable]]: false }.
In addition, a property with the same characteristics must exist on the interface prototype object.


Does that mean that each instance of an HTMLAudioElement has to have NETWORK_NO_SOURCE defined readonly?  Currently it appears we just define this on the prototype.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list