summaryrefslogtreecommitdiffstats
path: root/webkit/port/page/Location.idl
blob: 473522a134b4e1fcb3c00f2d9c7ad65eb83e9f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2008 The Chromium Authors. All rights reserved.  Use of this
// source code is governed by a BSD-style license that can be found in the
// LICENSE file.

module core {
  interface [CheckDomainSecurity] Location {
    attribute DOMString hash;
    attribute DOMString host;
    attribute DOMString hostname;
    attribute [DoNotCheckDomainSecurityOnSet] DOMString href;
    attribute DOMString pathname;
    attribute DOMString port;
    attribute DOMString protocol;
    attribute DOMString search;

    [DoNotCheckDomainSecurity] void reload(in boolean forceget);
    [DoNotCheckDomainSecurity] void replace(in DOMString url);
    [DoNotCheckDomainSecurity] void assign(in DOMString url);

    [DontEnum] DOMString toString();
  };
}