Support stringifier attributes

This commit is contained in:
Kagami Sascha Rosylight 2019-10-25 15:46:52 +09:00
parent 97c01fc479
commit 691af0e98b
14 changed files with 11 additions and 73 deletions

View file

@ -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;
};