| 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 // http://url.spec.whatwg.org/#url | 27 // http://url.spec.whatwg.org/#url |
| 28 | 28 |
| 29 [ | 29 [ |
| 30 Constructor(USVString url), | 30 Constructor(USVString url), |
| 31 Constructor(USVString url, USVString base), | 31 Constructor(USVString url, USVString base), |
| 32 Constructor(USVString url, URL base), | 32 Constructor(USVString url, URL base), |
| 33 Exposed=(Window,Worker), | 33 Exposed=(Window,Worker), |
| 34 ImplementedAs=DOMURL, | 34 ImplementedAs=DOMURL, |
| 35 RaisesException=Constructor, | 35 RaisesException=Constructor, |
| 36 WillBeGarbageCollected, | 36 GarbageCollected, |
| 37 ] interface URL { | 37 ] interface URL { |
| 38 // FIXME: should be in separate URLBlob.idl partial interface definition | 38 // FIXME: should be in separate URLBlob.idl partial interface definition |
| 39 // http://dev.w3.org/2006/webapi/FileAPI/#URL-object | 39 // http://dev.w3.org/2006/webapi/FileAPI/#URL-object |
| 40 // FIXME: should not be nullable | 40 // FIXME: should not be nullable |
| 41 [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectU
RL(Blob? blob); | 41 [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectU
RL(Blob? blob); |
| 42 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); | 42 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 URL implements URLUtils; | 45 URL implements URLUtils; |
| OLD | NEW |