Implement Blob URL's DOM interfaces

This commit is contained in:
Zhen Zhang 2016-06-11 00:26:26 +08:00
parent 5a0c98afb2
commit 4d3379392d
17 changed files with 146 additions and 97 deletions

View file

@ -23,6 +23,11 @@ interface URL {
readonly attribute URLSearchParams searchParams;
attribute USVString hash;
// https://w3c.github.io/FileAPI/#creating-revoking
static DOMString createObjectURL(Blob blob);
// static DOMString createFor(Blob blob);
static void revokeObjectURL(DOMString url);
// 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.