| 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 15 matching lines...) Expand all Loading... |
| 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 WillBeGarbageCollected |
| 35 ] interface URL { | 35 ] interface URL { |
| 36 [CallWith=ExecutionContext,TreatReturnedNullStringAs=Null] static DOMString
createObjectURL(Blob? blob); | 36 [RaisesException, CallWith=ExecutionContext,TreatReturnedNullStringAs=Null]
static DOMString createObjectURL(Blob? blob); |
| 37 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); | 37 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 URL implements URLUtils; | 40 URL implements URLUtils; |
| OLD | NEW |