Bug 1526591 - Remove devtools.inspector.shapesHighlighter.enabled pref. r=rcaliman
[gecko.git] / dom / webidl / LegacyQueryInterface.webidl
blobca2b8b1c876d786a94221cc68f4a8735e5358165
1 /* -*- Mode: IDL; 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 file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 interface nsISupports;
9 [NoInterfaceObject,
10  // Need Exposed here, because this is a mixin onto things like Event
11  // that are exposed in workers.
12  Exposed=(Window,Worker)]
13 interface LegacyQueryInterface {
14   // Legacy QueryInterface, only exposed to chrome code on the main thread.
15   [Exposed=Window, ChromeOnly]
16   nsISupports QueryInterface(any iid);
19 DOMParser implements LegacyQueryInterface;
20 Document implements LegacyQueryInterface;
21 DocumentFragment implements LegacyQueryInterface;
22 Element implements LegacyQueryInterface;
23 Event implements LegacyQueryInterface;
24 Selection implements LegacyQueryInterface;
25 TreeColumns implements LegacyQueryInterface;
26 TreeContentView implements LegacyQueryInterface;
27 Window implements LegacyQueryInterface;
28 XMLHttpRequest implements LegacyQueryInterface;