aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/WorkerLocation.webidl
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-10-14 01:56:15 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-10-19 21:05:07 +0200
commit57c423a93142e072a992aa33c3ecca9446c477b0 (patch)
treeeefe41008e917df08620b98050c035cb776ad538 /components/script/dom/webidls/WorkerLocation.webidl
parente0c8a88410277843714a20d5fced73a392fad861 (diff)
downloadservo-57c423a93142e072a992aa33c3ecca9446c477b0.tar.gz
servo-57c423a93142e072a992aa33c3ecca9446c477b0.zip
Update URL-related interfaces and their tests up to spec
The URL spec recently changed and the variour "mixins" interfaces are gone, this commit updates our code and WPT accordingly. The new expected failures related to HTMLAnchorElement and HTMLAreaElement's attributes are due to their moving to the HTMLHyperLinkElementUtils interface, which is not anymore in a separate <script class=untested> element.
Diffstat (limited to 'components/script/dom/webidls/WorkerLocation.webidl')
-rw-r--r--components/script/dom/webidls/WorkerLocation.webidl18
1 files changed, 16 insertions, 2 deletions
diff --git a/components/script/dom/webidls/WorkerLocation.webidl b/components/script/dom/webidls/WorkerLocation.webidl
index 7d624118271..598e210de44 100644
--- a/components/script/dom/webidls/WorkerLocation.webidl
+++ b/components/script/dom/webidls/WorkerLocation.webidl
@@ -5,5 +5,19 @@
// https://html.spec.whatwg.org/multipage/#worker-locations
//[Exposed=Worker]
-interface WorkerLocation { };
-WorkerLocation implements URLUtilsReadOnly;
+interface WorkerLocation {
+ /*stringifier*/ readonly attribute USVString href;
+ // readonly attribute USVString origin;
+ readonly attribute USVString protocol;
+ readonly attribute USVString host;
+ readonly attribute USVString hostname;
+ readonly attribute USVString port;
+ readonly attribute USVString pathname;
+ readonly attribute USVString search;
+ readonly attribute USVString hash;
+
+ // This is only doing as well as gecko right now.
+ // https://github.com/servo/servo/issues/7590 is on file for
+ // adding attribute stringifier support.
+ stringifier;
+};