Index: core/html/HTMLDialogElement.idl |
diff --git a/core/html/HTMLDialogElement.idl b/core/html/HTMLDialogElement.idl |
index 702653db8ce1dbdb07eec48f5a6f4e69c17cce2e..b6d871128754bcfc19a0243030ed6b58c73e951a 100644 |
--- a/core/html/HTMLDialogElement.idl |
+++ b/core/html/HTMLDialogElement.idl |
@@ -23,11 +23,14 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/#the-dialog-element |
+ |
interface HTMLDialogElement : HTMLElement { |
[Reflect] attribute boolean open; |
attribute DOMString returnValue; |
- [RaisesException] void close(optional DOMString returnValue = null); |
+ // FIXME: show() and showModal() should take an anchor argument. |
void show(); |
[RaisesException] void showModal(); |
+ // FIXME: The returnValue argument should have no default value. |
+ [RaisesException] void close(optional DOMString returnValue = null); |
}; |
- |