| Index: core/dom/URL.idl
|
| diff --git a/core/dom/URL.idl b/core/dom/URL.idl
|
| index 67dbb1ef432e845832f399995bd74b264aa9b803..37b80510f3c69fb2c7035293b90d4cc9480ba140 100644
|
| --- a/core/dom/URL.idl
|
| +++ b/core/dom/URL.idl
|
| @@ -24,15 +24,21 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| +// http://url.spec.whatwg.org/#url
|
| +
|
| [
|
| - GlobalContext=Window&WorkerGlobalScope,
|
| - RaisesException=Constructor,
|
| Constructor(DOMString url),
|
| - Constructor(DOMString url, URL base),
|
| Constructor(DOMString url, DOMString base),
|
| - ImplementedAs=DOMURL
|
| + Constructor(DOMString url, URL base),
|
| + Exposed=Window&Worker,
|
| + ImplementedAs=DOMURL,
|
| + RaisesException=Constructor,
|
| + WillBeGarbageCollected,
|
| ] interface URL {
|
| - [CallWith=ExecutionContext,TreatReturnedNullStringAs=Null] static DOMString createObjectURL(Blob? blob);
|
| + // FIXME: should be in separate URLBlob.idl partial interface definition
|
| + // http://dev.w3.org/2006/webapi/FileAPI/#URL-object
|
| + // FIXME: should not be nullable
|
| + [RaisesException, CallWith=ExecutionContext, TreatReturnedNullStringAs=Null] static DOMString createObjectURL(Blob? blob);
|
| [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url);
|
| };
|
|
|
|
|