mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Support stringifier attributes
This commit is contained in:
parent
97c01fc479
commit
691af0e98b
14 changed files with 11 additions and 73 deletions
|
@ -8,7 +8,7 @@
|
|||
interface URL {
|
||||
[Throws] constructor(USVString url, optional USVString base);
|
||||
[SetterThrows]
|
||||
/*stringifier*/ attribute USVString href;
|
||||
stringifier attribute USVString href;
|
||||
readonly attribute USVString origin;
|
||||
attribute USVString protocol;
|
||||
attribute USVString username;
|
||||
|
@ -27,9 +27,4 @@ interface URL {
|
|||
static void revokeObjectURL(DOMString url);
|
||||
|
||||
USVString toJSON();
|
||||
|
||||
// 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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue