summaryrefslogtreecommitdiffstats
path: root/dom/base/nsDocumentWarningList.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsDocumentWarningList.h')
-rw-r--r--dom/base/nsDocumentWarningList.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/base/nsDocumentWarningList.h b/dom/base/nsDocumentWarningList.h
new file mode 100644
index 000000000..6572e6238
--- /dev/null
+++ b/dom/base/nsDocumentWarningList.h
@@ -0,0 +1,14 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+// IWYU pragma: private, include "nsIDocument.h"
+
+/*
+ * This file contains the list of document DOM operations warnings. It is
+ * designed to be used as input to the C preprocessor *only*.
+ */
+
+DOCUMENT_WARNING(IgnoringWillChangeOverBudget)
+DOCUMENT_WARNING(PreventDefaultFromPassiveListener)