[Bug 26101] New: say what to do with event initializer dictionaries that have members without a default value

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26101

            Bug ID: 26101
           Summary: say what to do with event initializer dictionaries
                    that have members without a default value
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: annevk@annevk.nl
          Reporter: cam@mcc.id.au
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

If we have this:

  dictionary SomeEventInit : EventInit {
    sequence<DOMString> values;
  };

  [Constructor(optional SomeEventInit eventInitDict)]
  interface SomeEvent : Event {
    [Cached] readonly attribute sequence<DOMString> values;
  };

assuming that [Cached] is a thing, then
http://dom.spec.whatwg.org/#concept-event-constructor doesn't handle what to do
when the values dictionary member is not present, for example if you do:

  new SomeEvent({});

Maybe the http://dom.spec.whatwg.org/#concept-event-constructor algorithm allow
prose in other specs to describe how the Event object members get their values
in this case?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 16 June 2014 05:29:13 UTC