1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include
"nsISupports.idl"
8 /* NOTE: this interface is only implemented in debug builds */
10 [scriptable
, uuid(ca7b0bc7
-c67c
-4b79
-8270-ed7ba002af08
)]
11 interface nsIGfxInfoDebug
: nsISupports
13 void spoofVendorID
(in AString aVendorID
);
14 void spoofDeviceID
(in AString aDeviceID
);
16 void spoofDriverVersion
(in AString aDriverVersion
);
18 void spoofOSVersion
(in unsigned long aVersion
);
20 /* Manually invoke any test processes required to query for driver
21 information. This is used by XPC shell tests which do not run these queries
23 void fireTestProcess
();