Implement URL's toJSON()

This commit is contained in:
CYBAI 2018-12-24 15:06:30 +08:00
parent 6840c18389
commit 66e3d545eb
5 changed files with 7 additions and 32 deletions

View file

@ -24,6 +24,8 @@ interface URL {
// static DOMString createFor(Blob blob);
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.