diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-15 10:53:06 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-30 19:47:33 +0200 |
commit | 9c4766bb0d50c9986719eac42a38137c2ec4576f (patch) | |
tree | 3046310eddce921f1c20aab77491ad81317497bb /components/script/dom/webidls | |
parent | 67cbda4be35a63222553ca806d475581030bea4e (diff) | |
download | servo-9c4766bb0d50c9986719eac42a38137c2ec4576f.tar.gz servo-9c4766bb0d50c9986719eac42a38137c2ec4576f.zip |
Implement setters in URLUtils
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r-- | components/script/dom/webidls/URLUtils.webidl | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/components/script/dom/webidls/URLUtils.webidl b/components/script/dom/webidls/URLUtils.webidl index 86e5140311b..1b8965f3d37 100644 --- a/components/script/dom/webidls/URLUtils.webidl +++ b/components/script/dom/webidls/URLUtils.webidl @@ -7,27 +7,19 @@ [NoInterfaceObject] interface URLUtils { //stringifier attribute USVString href; - readonly attribute USVString href; + [SetterThrows] + attribute USVString href; //readonly attribute USVString origin; - // attribute USVString protocol; - readonly attribute USVString protocol; - // attribute USVString username; - readonly attribute USVString username; - // attribute USVString password; - readonly attribute USVString password; - // attribute USVString host; - readonly attribute USVString host; - // attribute USVString hostname; - readonly attribute USVString hostname; - // attribute USVString port; - readonly attribute USVString port; - // attribute USVString pathname; - readonly attribute USVString pathname; - // attribute USVString search; - readonly attribute USVString search; + attribute USVString protocol; + attribute USVString username; + attribute USVString password; + attribute USVString host; + attribute USVString hostname; + attribute USVString port; + attribute USVString pathname; + attribute USVString search; // attribute URLSearchParams searchParams; - // attribute USVString hash; - readonly attribute USVString hash; + attribute USVString hash; // This is only doing as well as gecko right now, bug 824857 is on file for // adding attribute stringifier support. |