summaryrefslogtreecommitdiffstats
path: root/dom/console/ConsoleInstance.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/console/ConsoleInstance.h')
-rw-r--r--dom/console/ConsoleInstance.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/console/ConsoleInstance.h b/dom/console/ConsoleInstance.h
index 5d322a867b..3d0e4ddcde 100644
--- a/dom/console/ConsoleInstance.h
+++ b/dom/console/ConsoleInstance.h
@@ -16,6 +16,7 @@ class ConsoleInstance final : public nsISupports, public nsWrapperCache {
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
NS_DECL_CYCLE_COLLECTION_WRAPPERCACHE_CLASS(ConsoleInstance)
+ MOZ_CAN_RUN_SCRIPT
explicit ConsoleInstance(JSContext* aCx,
const ConsoleInstanceOptions& aOptions);