[Bug 13004] New: Inheritance for dictionaries

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13004

           Summary: Inheritance for dictionaries
           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: ian@hixie.ch, mike@w3.org, public-script-coord@w3.org


We plan to change initEvent() to also accept a single argument. This would be a
dictionary. However, each event interface comes with its own properties so each
would require its own dictionary. To avoid having to overload initEvent() for
each new event interface and to avoid respecifying how type/cancelable/bubbles
and other properties work each time it would be nice if inheritance was
supported.

That way you could have a base InitEvent dictionary and CustomEvent could have
a InitCustomEvent inherited dictionary specifying just detail. Etc.

-- 
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, 20 June 2011 23:14:20 UTC