[Webkit-unassigned] [Bug 114465] New: [DOM] non-callable interface objects without [NoInterfaceObject] be instanceof Function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 11 14:23:29 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=114465
Summary: [DOM] non-callable interface objects without
[NoInterfaceObject] be instanceof Function
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: glenn at skynav.com
CC: ggaren at apple.com, oliver at apple.com, arv at chromium.org,
apavlov at chromium.org
WebIDL 4.4 [1] specifies that non-callback interfaces that are not declared with [NoInterfaceObject] should satisfy:
(1) a corresponding property must exist on the ECMAScript global object;
(2) the name of the property is the identifier of the interface;
(3) its value is an object called the interface object; and
(4) the interface object for a given non-callback interface is a function object.
In some W3C CSSOM incoming tests [2], one can see how CSSStyleDeclaration is not instanceof Function on Safari, but works on FF and Opera.
This extends to other HTML, etc interface types as well.
[1] http://www.w3.org/TR/WebIDL/#es-interfaces
[2] http://hg.csswg.org/test/raw-file/default/contributors/gadams/incoming/cssom/cssstyledeclaration-interface.xht
See also comments in bug 114457.
--
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