Index: core/dom/URL.idl |
diff --git a/core/dom/URL.idl b/core/dom/URL.idl |
index 37b80510f3c69fb2c7035293b90d4cc9480ba140..64f14fbf6808bea9e27f79e752e8690e97a529d9 100644 |
--- a/core/dom/URL.idl |
+++ b/core/dom/URL.idl |
@@ -27,10 +27,10 @@ |
// http://url.spec.whatwg.org/#url |
[ |
- Constructor(DOMString url), |
- Constructor(DOMString url, DOMString base), |
- Constructor(DOMString url, URL base), |
- Exposed=Window&Worker, |
+ Constructor(ScalarValueString url), |
+ Constructor(ScalarValueString url, ScalarValueString base), |
+ Constructor(ScalarValueString url, URL base), |
+ Exposed=(Window,Worker), |
ImplementedAs=DOMURL, |
RaisesException=Constructor, |
WillBeGarbageCollected, |
@@ -38,7 +38,7 @@ |
// 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); |
+ [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectURL(Blob? blob); |
[CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); |
}; |