summaryrefslogtreecommitdiff
path: root/widget/nsIGfxInfoDebug.idl
diff options
context:
space:
mode:
Diffstat (limited to 'widget/nsIGfxInfoDebug.idl')
-rw-r--r--widget/nsIGfxInfoDebug.idl19
1 files changed, 19 insertions, 0 deletions
diff --git a/widget/nsIGfxInfoDebug.idl b/widget/nsIGfxInfoDebug.idl
new file mode 100644
index 0000000000..fab30c4e9e
--- /dev/null
+++ b/widget/nsIGfxInfoDebug.idl
@@ -0,0 +1,19 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* 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/. */
+
+#include "nsISupports.idl"
+
+/* NOTE: this interface is only implemented in debug builds */
+
+[scriptable, uuid(ca7b0bc7-c67c-4b79-8270-ed7ba002af08)]
+interface nsIGfxInfoDebug : nsISupports
+{
+ void spoofVendorID(in DOMString aVendorID);
+ void spoofDeviceID(in DOMString aDeviceID);
+
+ void spoofDriverVersion(in DOMString aDriverVersion);
+
+ void spoofOSVersion(in unsigned long aVersion);
+};