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

Side by Side Diff: third_party/WebKit/Source/core/testing/UnionTypesTest.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 GarbageCollected
7 ] interface UnionTypesTest { 6 ] interface UnionTypesTest {
8 attribute (double or DOMString or DOMString[]) doubleOrStringOrStringArrayAt tribute; 7 attribute (double or DOMString or DOMString[]) doubleOrStringOrStringArrayAt tribute;
9 8
10 DOMString doubleOrStringArg((double or DOMString) arg); 9 DOMString doubleOrStringArg((double or DOMString) arg);
11 DOMString doubleOrInternalEnumArg((double or InternalEnum) arg); 10 DOMString doubleOrInternalEnumArg((double or InternalEnum) arg);
12 11
13 [ImplementedAs=doubleOrStringArg] DOMString doubleOrStringDefaultDoubleArg(o ptional (double or DOMString) arg = 3.14); 12 [ImplementedAs=doubleOrStringArg] DOMString doubleOrStringDefaultDoubleArg(o ptional (double or DOMString) arg = 3.14);
14 [ImplementedAs=doubleOrStringArg] DOMString doubleOrStringDefaultStringArg(o ptional (double or DOMString) arg = "foo"); 13 [ImplementedAs=doubleOrStringArg] DOMString doubleOrStringDefaultStringArg(o ptional (double or DOMString) arg = "foo");
15 [ImplementedAs=doubleOrStringArg] DOMString doubleOrStringDefaultNullArg(opt ional (double or DOMString)? arg = null); 14 [ImplementedAs=doubleOrStringArg] DOMString doubleOrStringDefaultNullArg(opt ional (double or DOMString)? arg = null);
16 15
17 DOMString doubleOrStringArrayArg((double or DOMString)[] arg); 16 DOMString doubleOrStringArrayArg((double or DOMString)[] arg);
18 DOMString doubleOrStringSequenceArg(sequence<(double or DOMString)> arg); 17 DOMString doubleOrStringSequenceArg(sequence<(double or DOMString)> arg);
19 18
20 DOMString nodeListOrElementArg((NodeList or Element) arg); 19 DOMString nodeListOrElementArg((NodeList or Element) arg);
21 DOMString nodeListOrElementOrNullArg((NodeList or Element)? arg); 20 DOMString nodeListOrElementOrNullArg((NodeList or Element)? arg);
22 21
23 DOMString doubleOrStringOrStringArrayArg((double or DOMString or DOMString[] ) arg); 22 DOMString doubleOrStringOrStringArrayArg((double or DOMString or DOMString[] ) arg);
24 DOMString doubleOrStringOrStringSequenceArg((double or DOMString or sequence <DOMString>) arg); 23 DOMString doubleOrStringOrStringSequenceArg((double or DOMString or sequence <DOMString>) arg);
25 [ImplementedAs=doubleOrStringOrStringArrayArg] DOMString doubleOrStringOrStr ingArrayNullableArg((double or DOMString or DOMString[])? arg); 24 [ImplementedAs=doubleOrStringOrStringArrayArg] DOMString doubleOrStringOrStr ingArrayNullableArg((double or DOMString or DOMString[])? arg);
26 [ImplementedAs=doubleOrStringOrStringSequenceArg] DOMString doubleOrStringOr StringSequenceNullableArg((double or DOMString or sequence<DOMString>)? arg); 25 [ImplementedAs=doubleOrStringOrStringSequenceArg] DOMString doubleOrStringOr StringSequenceNullableArg((double or DOMString or sequence<DOMString>)? arg);
27 }; 26 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/TypeConversions.idl ('k') | third_party/WebKit/Source/core/timing/MemoryInfo.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698