Bugzilla – Bug 16353
Use udpated WebIDL syntax
Last modified: 2012-05-04 17:08:46 UTC
[PORTING to bug]
Hi Doug, Jacob
The DOM 3 Events specification includes WebIDL code in non-normative
appendices, but the syntax used is obsolete. In particular, it uses
'[Supplemental] interface', which was replaced with 'partial interface'
and the 'in' and 'raises' keywords.
Also, it seems that the specification does not use the 'Foo?' syntax for
nullable types, and it has rather peculiar indentation.
Please update the draft accordingly.
The WebIDL syntax used in this spec was updated in the last revision of DOM3 Events. It should be congruent with the DOM4 syntax (except no event contstructors, of course).
Thank you, the spec looks good now.
Verified by opener. Thanks!
One last mistake to fix in order to match WebIDL:
readonly attribute any? detail;
any doesn't seem to accept "?".
(In reply to comment #4)
> One last mistake to fix in order to match WebIDL:
> readonly attribute any? detail;
> any doesn't seem to accept "?".
Fixed. Thanks for the catch.