OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Tests parsing the Properties interface. | |
6 namespace idl_properties { | |
7 interface Properties { | |
8 // Integer property. | |
9 [value=42] static long first(); | |
10 | |
11 // Double property. | |
12 [value=42.0] static double second(); | |
13 | |
14 // String property. | |
15 [value="hello world"] static DOMString third(); | |
16 | |
17 // Unvalued property. | |
Devlin
2015/04/01 22:46:20
Why do we want to allow this?
Devlin
2015/04/01 23:53:12
Nudge.
not at google - send to devlin
2015/04/02 00:10:33
You're still allowed properties without values (e.
| |
18 static long fourth(); | |
19 }; | |
20 }; | |
OLD | NEW |