summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLDocument.webidl
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-04 21:41:41 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:19 -0500
commit3fd2f619496d7c3a2d0a45ed3d44aead22d64c99 (patch)
treeec4bf4c6c92cad41a0d702053f005e9ed6f80399 /dom/webidl/HTMLDocument.webidl
parent1674f8f750b650e6d5fe2245f2c9bcfb5de48230 (diff)
downloadUXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar
UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.gz
UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.lz
UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.xz
UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.zip
Bug 1340027 - Part 2: Add HTML CEReactions annotation.
Tag UXP Issue #1344
Diffstat (limited to 'dom/webidl/HTMLDocument.webidl')
-rw-r--r--dom/webidl/HTMLDocument.webidl26
1 files changed, 13 insertions, 13 deletions
diff --git a/dom/webidl/HTMLDocument.webidl b/dom/webidl/HTMLDocument.webidl
index ffb61ccdd..ffa38d97d 100644
--- a/dom/webidl/HTMLDocument.webidl
+++ b/dom/webidl/HTMLDocument.webidl
@@ -13,7 +13,7 @@ interface HTMLDocument : Document {
// DOM tree accessors
[Throws]
getter object (DOMString name);
- [Pure, SetterThrows]
+ [CEReactions, Pure, SetterThrows]
attribute HTMLElement? body;
[Pure]
readonly attribute HTMLHeadElement? head;
@@ -32,20 +32,20 @@ interface HTMLDocument : Document {
NodeList getElementsByName(DOMString elementName);
// dynamic markup insertion
- [Throws]
+ [CEReactions, Throws]
Document open(optional DOMString type = "text/html", optional DOMString replace = "");
- [Throws]
+ [CEReactions, Throws]
WindowProxy? open(DOMString url, DOMString name, DOMString features, optional boolean replace = false);
- [Throws]
+ [CEReactions, Throws]
void close();
- [Throws]
+ [CEReactions, Throws]
void write(DOMString... text);
- [Throws]
+ [CEReactions, Throws]
void writeln(DOMString... text);
- [SetterThrows, NeedsSubjectPrincipal]
+ [CEReactions, SetterThrows, NeedsSubjectPrincipal]
attribute DOMString designMode;
- [Throws]
+ [CEReactions, Throws]
boolean execCommand(DOMString commandId, optional boolean showUI = false,
optional DOMString value = "");
[Throws]
@@ -58,11 +58,11 @@ interface HTMLDocument : Document {
[Throws]
DOMString queryCommandValue(DOMString commandId);
- [TreatNullAs=EmptyString] attribute DOMString fgColor;
- [TreatNullAs=EmptyString] attribute DOMString linkColor;
- [TreatNullAs=EmptyString] attribute DOMString vlinkColor;
- [TreatNullAs=EmptyString] attribute DOMString alinkColor;
- [TreatNullAs=EmptyString] attribute DOMString bgColor;
+ [CEReactions, TreatNullAs=EmptyString] attribute DOMString fgColor;
+ [CEReactions, TreatNullAs=EmptyString] attribute DOMString linkColor;
+ [CEReactions, TreatNullAs=EmptyString] attribute DOMString vlinkColor;
+ [CEReactions, TreatNullAs=EmptyString] attribute DOMString alinkColor;
+ [CEReactions, TreatNullAs=EmptyString] attribute DOMString bgColor;
[Pure]
readonly attribute HTMLCollection anchors;