Bug 1340027 - Part 2: Add HTML CEReactions annotation.

Tag UXP Issue #1344
This commit is contained in:
Gaming4JC 2020-01-04 21:41:41 -05:00 committed by Roy Tam
commit 8119a60e3d
68 changed files with 398 additions and 359 deletions

View file

@ -13,23 +13,23 @@
[OverrideBuiltins, LegacyUnenumerableNamedProperties, HTMLConstructor]
interface HTMLFormElement : HTMLElement {
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute DOMString acceptCharset;
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute DOMString action;
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute DOMString autocomplete;
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute DOMString enctype;
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute DOMString encoding;
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute DOMString method;
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute DOMString name;
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute boolean noValidate;
[Pure, SetterThrows]
[CEReactions, Pure, SetterThrows]
attribute DOMString target;
[Constant]
@ -43,6 +43,7 @@ interface HTMLFormElement : HTMLElement {
[Throws]
void submit();
[CEReactions]
void reset();
boolean checkValidity();
boolean reportValidity();