author Dorel Luca <dluca@mozilla.com>
Tue, 23 Apr 2019 17:16:13 +0300
changeset 470493 e56e63264f65972f66905dd8893eb549984ffce9
parent 464774 8962b8d9b7a673288218ed9087102032d7cf015b
child 475212 020c8c871c0d3b3920fe95935cfef06501976c0f
permissions -rw-r--r--
Backed out changeset 7d3f2f4c53be (bug 1544863) for eslint failure

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