diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-04 21:41:41 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:19 -0500 |
commit | 3fd2f619496d7c3a2d0a45ed3d44aead22d64c99 (patch) | |
tree | ec4bf4c6c92cad41a0d702053f005e9ed6f80399 /dom/webidl/HTMLDialogElement.webidl | |
parent | 1674f8f750b650e6d5fe2245f2c9bcfb5de48230 (diff) | |
download | UXP-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/HTMLDialogElement.webidl')
-rw-r--r-- | dom/webidl/HTMLDialogElement.webidl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dom/webidl/HTMLDialogElement.webidl b/dom/webidl/HTMLDialogElement.webidl index b6cdbacf6..563740c87 100644 --- a/dom/webidl/HTMLDialogElement.webidl +++ b/dom/webidl/HTMLDialogElement.webidl @@ -13,11 +13,13 @@ [Pref="dom.dialog_element.enabled"] interface HTMLDialogElement : HTMLElement { - [SetterThrows] attribute boolean open; + [CEReactions, SetterThrows] + attribute boolean open; attribute DOMString returnValue; - + [CEReactions] void show(); - [Throws] void showModal(); - + [CEReactions, Throws] + void showModal(); + [CEReactions] void close(optional DOMString returnValue); }; |