OLD | NEW |
---|---|
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 }; |
OLD | NEW |