Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: third_party/WebKit/Source/core/dom/URL.idl

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 13 matching lines...) Expand all
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 // https://url.spec.whatwg.org/#url 27 // https://url.spec.whatwg.org/#url
28 28
29 [ 29 [
30 Constructor(USVString url, optional USVString base), 30 Constructor(USVString url, optional USVString base),
31 Exposed=(Window,Worker), 31 Exposed=(Window,Worker),
32 ImplementedAs=DOMURL, 32 ImplementedAs=DOMURL,
33 RaisesException=Constructor, 33 RaisesException=Constructor,
34 GarbageCollected,
35 ] interface URL { 34 ] interface URL {
36 // TODO(philipj): Implement domainToASCII() and domainToUnicode(). 35 // TODO(philipj): Implement domainToASCII() and domainToUnicode().
37 // crbug.com/493908 36 // crbug.com/493908
38 // static USVString domainToASCII(USVString domain); 37 // static USVString domainToASCII(USVString domain);
39 // static USVString domainToUnicode(USVString domain); 38 // static USVString domainToUnicode(USVString domain);
40 39
41 // TODO(philipj): This should be in a partial interface definition: 40 // TODO(philipj): This should be in a partial interface definition:
42 // File API 41 // File API
43 // https://w3c.github.io/FileAPI/#creating-revoking 42 // https://w3c.github.io/FileAPI/#creating-revoking
44 // TODO(philipj): The return type should not be nullable. 43 // TODO(philipj): The return type should not be nullable.
45 [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectU RL(Blob blob); 44 [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectU RL(Blob blob);
46 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); 45 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url);
47 readonly attribute URLSearchParams searchParams; 46 readonly attribute URLSearchParams searchParams;
48 }; 47 };
49 48
50 URL implements URLUtils; 49 URL implements URLUtils;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeWalker.idl ('k') | third_party/WebKit/Source/core/dom/URLSearchParams.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698