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 23 matching lines...) Expand all Loading... |
34 GarbageCollected, | 34 GarbageCollected, |
35 ] interface URL { | 35 ] interface URL { |
36 // TODO(philipj): Implement domainToASCII() and domainToUnicode(). | 36 // TODO(philipj): Implement domainToASCII() and domainToUnicode(). |
37 // crbug.com/493908 | 37 // crbug.com/493908 |
38 // static USVString domainToASCII(USVString domain); | 38 // static USVString domainToASCII(USVString domain); |
39 // static USVString domainToUnicode(USVString domain); | 39 // static USVString domainToUnicode(USVString domain); |
40 | 40 |
41 // TODO(philipj): This should be in a partial interface definition: | 41 // TODO(philipj): This should be in a partial interface definition: |
42 // File API | 42 // File API |
43 // https://w3c.github.io/FileAPI/#creating-revoking | 43 // https://w3c.github.io/FileAPI/#creating-revoking |
44 // TODO(philipj): Neither the return value nor the argument should be nullab
le. | 44 // TODO(philipj): The return type should not be nullable. |
45 [RaisesException, CallWith=ExecutionContext, LegacyInterfaceTypeChecking] st
atic DOMString? createObjectURL(Blob? blob); | 45 [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectU
RL(Blob blob); |
46 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); | 46 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); |
47 }; | 47 }; |
48 | 48 |
49 URL implements URLUtils; | 49 URL implements URLUtils; |
OLD | NEW |