fune/servo/components/script/dom/webidls/URLUtils.webidl
Chris Manchester d6b0936869 servo: Merge #4882 - Stringifiers (from chmanchester:stringifiers); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 172db80703fc19ff078f2f46fb299cadd99a483b
2015-02-20 13:01:02 -07:00

28 lines
1.2 KiB
Text

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
// http://url.spec.whatwg.org/#urlutils
[NoInterfaceObject]
interface URLUtils {
//stringifier attribute ScalarValueString href;
readonly attribute DOMString href;
//readonly attribute ScalarValueString origin;
// attribute ScalarValueString protocol;
// attribute ScalarValueString username;
// attribute ScalarValueString password;
// attribute ScalarValueString host;
// attribute ScalarValueString hostname;
// attribute ScalarValueString port;
// attribute ScalarValueString pathname;
// attribute ScalarValueString search;
readonly attribute DOMString search;
// attribute URLSearchParams searchParams;
// attribute ScalarValueString hash;
readonly attribute DOMString hash;
// This is only doing as well as gecko right now, bug 824857 is on file for
// adding attribute stringifier support.
stringifier;
};