Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2001-01-21 11:51:04 +03:00
|
|
|
|
|
|
|
#include "domstubs.idl"
|
|
|
|
|
2013-01-09 20:37:25 +04:00
|
|
|
[scriptable, uuid(79de76e5-994e-4f6b-81aa-42d9adb6e67e)]
|
2001-02-09 14:20:07 +03:00
|
|
|
interface nsIDOMLocation : nsISupports
|
2001-01-21 11:51:04 +03:00
|
|
|
{
|
2005-02-05 21:12:50 +03:00
|
|
|
/**
|
|
|
|
* These properties refer to the current location of the document.
|
|
|
|
* This will correspond to the URI shown in the location bar, which
|
|
|
|
* can be different from the documentURI of the document.
|
|
|
|
*/
|
2001-01-22 07:01:04 +03:00
|
|
|
attribute DOMString hash;
|
|
|
|
attribute DOMString host;
|
|
|
|
attribute DOMString hostname;
|
|
|
|
attribute DOMString href;
|
|
|
|
attribute DOMString pathname;
|
|
|
|
attribute DOMString port;
|
|
|
|
attribute DOMString protocol;
|
|
|
|
attribute DOMString search;
|
2001-01-21 11:51:04 +03:00
|
|
|
|
2013-01-09 20:37:25 +04:00
|
|
|
readonly attribute DOMString origin;
|
|
|
|
|
2008-09-06 01:54:53 +04:00
|
|
|
void reload([optional] in boolean forceget);
|
2001-02-09 14:20:07 +03:00
|
|
|
void replace(in DOMString url);
|
2001-01-22 07:01:04 +03:00
|
|
|
void assign(in DOMString url);
|
2001-01-21 11:51:04 +03:00
|
|
|
|
2001-01-22 07:01:04 +03:00
|
|
|
DOMString toString();
|
2012-11-07 20:27:23 +04:00
|
|
|
nsIDOMLocation valueOf();
|
2001-01-21 11:51:04 +03:00
|
|
|
};
|