Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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 [scriptable, uuid(79de76e5-994e-4f6b-81aa-42d9adb6e67e)]
9 interface nsIDOMLocation : nsISupports
10 {
11 /**
12 * These properties refer to the current location of the document.
13 * This will correspond to the URI shown in the location bar, which
14 * can be different from the documentURI of the document.
15 */
16 attribute DOMString hash;
17 attribute DOMString host;
18 attribute DOMString hostname;
19 attribute DOMString href;
20 attribute DOMString pathname;
21 attribute DOMString port;
22 attribute DOMString protocol;
23 attribute DOMString search;
25 readonly attribute DOMString origin;
27 void reload([optional] in boolean forceget);
28 void replace(in DOMString url);
29 void assign(in DOMString url);
31 DOMString toString();
32 nsIDOMLocation valueOf();
33 };