widget/nsIGfxInfoDebug.idl
author Alex Gaynor <agaynor@mozilla.com>
Thu, 05 Apr 2018 15:48:11 -0400
changeset 421816 1f3916c7d4a2dbd402c7e81a941873a6e8edf360
parent 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 439131 31941d904a7c3df53ed5b4c9ecdc40025d865dfb
permissions -rw-r--r--
Bug 1451859 - Part 2: Add sanitizer coverage to a handful of places relevant to IPC. r=posidron

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