mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement setters in URLUtils
This commit is contained in:
parent
67cbda4be3
commit
9c4766bb0d
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