OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Motorola Mobility Inc. | 3 * Copyright (C) 2012 Motorola Mobility Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 12 matching lines...) Expand all Loading... |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 [ | 27 [ |
28 GlobalContext=Window&WorkerGlobalScope, | 28 GlobalContext=Window&WorkerGlobalScope, |
29 RaisesException=Constructor, | 29 RaisesException=Constructor, |
30 Constructor(DOMString url), | 30 Constructor(DOMString url), |
31 Constructor(DOMString url, URL base), | 31 Constructor(DOMString url, URL base), |
32 Constructor(DOMString url, DOMString base), | 32 Constructor(DOMString url, DOMString base), |
33 ImplementedAs=DOMURL | 33 ImplementedAs=DOMURL, |
| 34 WillBeGarbageCollected |
34 ] interface URL { | 35 ] interface URL { |
35 [CallWith=ExecutionContext,TreatReturnedNullStringAs=Null] static DOMString
createObjectURL(Blob? blob); | 36 [CallWith=ExecutionContext,TreatReturnedNullStringAs=Null] static DOMString
createObjectURL(Blob? blob); |
36 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); | 37 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); |
37 }; | 38 }; |
38 | 39 |
39 URL implements URLUtils; | 40 URL implements URLUtils; |
OLD | NEW |