summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLDialogElement.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-07 09:10:56 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-07 18:33:23 -0500
commitb91b0c37eb6cab1e179252692ad7e7a60606efa3 (patch)
tree9d0f870d382acab08d48996d2e47d0c0db0fff21 /dom/html/HTMLDialogElement.h
parenta4011e72463bae700f212af9d2a530e38ea32ac1 (diff)
downloadUXP-b91b0c37eb6cab1e179252692ad7e7a60606efa3.tar
UXP-b91b0c37eb6cab1e179252692ad7e7a60606efa3.tar.gz
UXP-b91b0c37eb6cab1e179252692ad7e7a60606efa3.tar.lz
UXP-b91b0c37eb6cab1e179252692ad7e7a60606efa3.tar.xz
UXP-b91b0c37eb6cab1e179252692ad7e7a60606efa3.zip
Bug 1322938 - Put <dialog> element behind preference.
Tag #1343
Diffstat (limited to 'dom/html/HTMLDialogElement.h')
-rw-r--r--dom/html/HTMLDialogElement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/html/HTMLDialogElement.h b/dom/html/HTMLDialogElement.h
index 2222cd2f7..efa319f3c 100644
--- a/dom/html/HTMLDialogElement.h
+++ b/dom/html/HTMLDialogElement.h
@@ -26,6 +26,8 @@ public:
virtual nsresult Clone(mozilla::dom::NodeInfo* aNodeInfo, nsINode** aResult) const override;
+ static bool IsDialogEnabled();
+
bool Open() const { return GetBoolAttr(nsGkAtoms::open); }
void SetOpen(bool aOpen, ErrorResult& aError)
{