[Webkit-unassigned] [Bug 48579] HTML5 Conformance Test failure: approved/canvas/type.prototype.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 6 21:37:42 PDT 2011


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





--- Comment #3 from Priyanka <ahollyhock at gmail.com>  2011-10-06 21:37:42 PST ---
As mentioned in the latest W3C Web IDL specification
http://www.w3.org/TR/2011/WD-WebIDL-20110927/#interface-prototype-object

"There must exist an interface prototype object for every interface defined, regardless of whether the interface was declared with the [NoInterfaceObject] extended attribute. The interface prototype object for a particular interface has properties that correspond to the attributes and operations defined on that interface

4.5.6. Operations

For each unique identifier of an operation defined on the interface, there must be a corresponding property on the interface prototype object (if it is a regular operation) or the interface object (if it is a static operation).

The property has attributes { [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true }."

So in our case the interface : JSHTMLCanvasElement
interface prototype : JSHTMLCanvasElementPrototype
operation : getContext

Correct me if I am wrong, shouldn't getContext be [[Configurable]]: true and hence we should be able to delete the property ??

-- 
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