[Bug 26101] New: say what to do with event initializer dictionaries that have members without a default value
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]/Bugs/Public/> |
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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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.