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

Side by Side Diff: Source/bindings/tests/idls/TestDictionary.idl

Issue 420763002: IDL: DOM impl class code generation for IDL dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 GarbageCollected, 5 GarbageCollected,
6 ] dictionary TestDictionary { 6 ] dictionary TestDictionary {
7 boolean booleanMember; 7 boolean booleanMember;
8 long longMember = 1; 8 long longMember = 1;
9 DOMString stringMember; 9 DOMString stringMember;
10 TestInterface testInterfaceMember; 10 TestInterface testInterfaceMember;
11 double? doubleOrNullMember = null; 11 double? doubleOrNullMember = null;
12 DOMString? stringOrNullMember = "default string value"; 12 DOMString? stringOrNullMember = "default string value";
13 TestInterface? testInterfaceOrNullMember; 13 TestInterface? testInterfaceOrNullMember;
haraken 2014/07/27 07:46:36 Would you add test cases for: TestInterfaceGarbag
bashi 2014/07/29 03:52:51 Done.
14 DOMString[] stringArrayMember;
15 sequence<DOMString> stringSequenceMember;
haraken 2014/07/27 07:46:36 Just help me understand: What's the difference bet
bashi 2014/07/29 03:52:51 In terms of the spec, sequence<T> is passed by val
14 }; 16 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698