Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "domstubs.idl"
8 /**
9 * The nsIDOMDOMImplementation interface provides a number of methods for
10 * performing operations that are independent of any particular instance
11 * of the document object model.
12 *
13 * For more information on this interface please see
14 * http://www.w3.org/TR/DOM-Level-2-Core/
15 */
17 [uuid(03a6f574-99ec-42f8-9e6c-812a4a9bcbf7)]
18 interface nsIDOMDOMImplementation : nsISupports
19 {
20 boolean hasFeature(in DOMString feature,
21 in DOMString version);
23 nsIDOMDocumentType createDocumentType(in DOMString qualifiedName,
24 in DOMString publicId,
25 in DOMString systemId)
26 raises(DOMException);
28 nsIDOMDocument createDocument(in DOMString namespaceURI,
29 in DOMString qualifiedName,
30 in nsIDOMDocumentType doctype)
31 raises(DOMException);
33 /**
34 * Returns an HTML document with a basic DOM already constructed and with an
35 * appropriate title element.
36 *
37 * @param title the title of the Document
38 * @see <http://www.whatwg.org/html/#creating-documents>
39 */
40 nsIDOMDocument createHTMLDocument([Null(Stringify)]
41 in DOMString title);
42 };