2011-01-20 04:39:33 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2011-01-20 04:39:33 +03:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
/* NOTE: this interface is only implemented in debug builds */
|
|
|
|
|
2011-12-15 09:04:35 +04:00
|
|
|
[scriptable, uuid(ca7b0bc7-c67c-4b79-8270-ed7ba002af08)]
|
2011-01-20 04:39:33 +03:00
|
|
|
interface nsIGfxInfoDebug : nsISupports
|
|
|
|
{
|
2018-09-06 11:02:43 +03:00
|
|
|
void spoofVendorID(in AString aVendorID);
|
|
|
|
void spoofDeviceID(in AString aDeviceID);
|
2019-05-23 01:37:14 +03:00
|
|
|
|
2018-09-06 11:02:43 +03:00
|
|
|
void spoofDriverVersion(in AString aDriverVersion);
|
2011-01-20 04:39:33 +03:00
|
|
|
|
|
|
|
void spoofOSVersion(in unsigned long aVersion);
|
2019-02-08 22:36:08 +03:00
|
|
|
|
|
|
|
/* Manually invoke any test processes required to query for driver
|
|
|
|
information. This is used by XPC shell tests which do not run these queries
|
|
|
|
by default. */
|
|
|
|
void fireTestProcess();
|
2011-01-20 04:39:33 +03:00
|
|
|
};
|