widget/nsIGfxInfoDebug.idl
author Daniel Varga <dvarga@mozilla.com>
Wed, 03 Apr 2019 09:04:17 +0300
changeset 467667 eb21297f31590fc47581036327df9779a534875c
parent 464774 8962b8d9b7a673288218ed9087102032d7cf015b
child 475212 020c8c871c0d3b3920fe95935cfef06501976c0f
permissions -rw-r--r--
Backed out 2 changesets (bug 1535362) for causing merge conflicts. a=backout Backed out changeset 52636fd2ce17 (bug 1535362) Backed out changeset d363668ebdaa (bug 1535362)

/* -*- 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 AString aVendorID);
  void spoofDeviceID(in AString aDeviceID);
  
  void spoofDriverVersion(in AString aDriverVersion);

  void spoofOSVersion(in unsigned long aVersion);

  /* 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();
};