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

[Bug 13499] New: Introduce "assume-null-if-not-object" flag

From: <bugzilla@jessica.w3.org>
Date: Mon, 01 Aug 2011 11:35:57 +0000
To: public-script-coord@w3.org
Message-ID: <bug-13499-3890@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13499

           Summary: Introduce "assume-null-if-not-object" flag
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: annevk@opera.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


Event handler IDL attributes either take a Function object or null. However,
the behavior in user agents is such that whenever you assign a non-Function
null is assumed (e.g. "test", 2, []).

Maybe this can be combined with [AllowAny] somehow? Not sure if that is worth
it though.

-- 
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 Monday, 1 August 2011 11:36:02 UTC

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