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

[Bug 12635] New: calling Functions corresponding to IDL operations/attributes on expected objects should throw

From: <bugzilla@jessica.w3.org>
Date: Sun, 08 May 2011 23:56:11 +0000
To: public-script-coord@w3.org
Message-ID: <bug-12635-3890@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12635

           Summary: calling Functions corresponding to IDL
                    operations/attributes on expected objects should throw
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: cam@mcc.id.au
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


Bug 11857 comment 6 brings up the cases like `window.alert.call(document, 'Do
you see this alert?')`.  We should make this throw a TypeError.

Another case is getters/setters for IDL attributes, like
`Object.getOwnPropertyDescriptor(document, "nodeType").get.call(window)`.

-- 
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 Sunday, 8 May 2011 23:56:13 UTC

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