Bug 1340027 - Part 4: Add DOM parsing CEReactions annotation.

Tag UXP Issue #1344
This commit is contained in:
Gaming4JC 2020-01-04 21:49:57 -05:00 committed by Roy Tam
commit 350dc9e678
2 changed files with 4 additions and 4 deletions

View file

@ -212,11 +212,11 @@ partial interface Element {
// http://domparsing.spec.whatwg.org/#extensions-to-the-element-interface
partial interface Element {
[Pure,SetterThrows,TreatNullAs=EmptyString]
[CEReactions, Pure,SetterThrows,TreatNullAs=EmptyString]
attribute DOMString innerHTML;
[Pure,SetterThrows,TreatNullAs=EmptyString]
[CEReactions, Pure,SetterThrows,TreatNullAs=EmptyString]
attribute DOMString outerHTML;
[Throws]
[CEReactions, Throws]
void insertAdjacentHTML(DOMString position, DOMString text);
};

View file

@ -77,7 +77,7 @@ interface Range {
// http://domparsing.spec.whatwg.org/#dom-range-createcontextualfragment
partial interface Range {
[Throws]
[CEReactions, Throws]
DocumentFragment createContextualFragment(DOMString fragment);
};