mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #7228 - nox:urlutils-setters, r=jdm
Implement setters in URLUtils This fixes #6145 and takes care of most of #4250. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7228) <!-- Reviewable:end -->
This commit is contained in:
commit
347e9b6ef4
5 changed files with 220 additions and 81 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue