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,21 +13,21 @@
[HTMLConstructor]
interface HTMLIFrameElement : HTMLElement {
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString src;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString srcdoc;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString name;
[PutForwards=value] readonly attribute DOMTokenList sandbox;
// attribute boolean seamless;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute boolean allowFullscreen;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString width;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString height;
[SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
[CEReactions, SetterThrows, Pure, Pref="network.http.enablePerElementReferrer"]
attribute DOMString referrerPolicy;
[NeedsSubjectPrincipal]
readonly attribute Document? contentDocument;
@ -36,17 +36,19 @@ interface HTMLIFrameElement : HTMLElement {
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLIFrameElement {
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString align;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString scrolling;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString frameBorder;
[SetterThrows, Pure]
[CEReactions, SetterThrows, Pure]
attribute DOMString longDesc;
[TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginHeight;
[TreatNullAs=EmptyString,SetterThrows,Pure] attribute DOMString marginWidth;
[CEReactions, TreatNullAs=EmptyString, SetterThrows, Pure]
attribute DOMString marginHeight;
[CEReactions, TreatNullAs=EmptyString, SetterThrows, Pure]
attribute DOMString marginWidth;
};
partial interface HTMLIFrameElement {