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

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