dom/interfaces/base/nsIDOMLocation.idl

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:88252faeea50
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/. */
5
6 #include "domstubs.idl"
7
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;
24
25 readonly attribute DOMString origin;
26
27 void reload([optional] in boolean forceget);
28 void replace(in DOMString url);
29 void assign(in DOMString url);
30
31 DOMString toString();
32 nsIDOMLocation valueOf();
33 };

mercurial