| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Apple Inc. All rights reserved. | 3 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary formstrArg, with or without | 5 * Redistribution and use in source and binary formstrArg, 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 20 matching lines...) Expand all Loading... |
| 31 // changes in its ouput. | 31 // changes in its ouput. |
| 32 module test { | 32 module test { |
| 33 interface [ | 33 interface [ |
| 34 Constructor(in [Callback] TestCallback testCallback), | 34 Constructor(in [Callback] TestCallback testCallback), |
| 35 InterfaceName=TestObject | 35 InterfaceName=TestObject |
| 36 ] TestObj { | 36 ] TestObj { |
| 37 // Attributes | 37 // Attributes |
| 38 readonly attribute long readOnlyIntAttr; | 38 readonly attribute long readOnlyIntAttr; |
| 39 readonly attribute DOMString readOnlyStringAttr; | 39 readonly attribute DOMString readOnlyStringAttr; |
| 40 readonly attribute TestObj readOnlyTestObjAttr; | 40 readonly attribute TestObj readOnlyTestObjAttr; |
| 41 #if defined(TESTING_JS) |
| 42 static readonly attribute long staticReadOnlyIntAttr; |
| 43 static attribute DOMString staticStringAttr; |
| 44 #endif |
| 41 attribute short shortAttr; | 45 attribute short shortAttr; |
| 42 attribute unsigned short unsignedShortAttr; | 46 attribute unsigned short unsignedShortAttr; |
| 43 attribute long intAttr; | 47 attribute long intAttr; |
| 44 attribute long long longLongAttr; | 48 attribute long long longLongAttr; |
| 45 attribute unsigned long long unsignedLongLongAttr; | 49 attribute unsigned long long unsignedLongLongAttr; |
| 46 attribute DOMString stringAttr; | 50 attribute DOMString stringAttr; |
| 47 attribute TestObj testObjAttr; | 51 attribute TestObj testObjAttr; |
| 48 | 52 |
| 49 JS, V8 | 53 JS, V8 |
| 50 // WK_ucfirst, WK_lcfirst exceptional cases. | 54 // WK_ucfirst, WK_lcfirst exceptional cases. |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 const unsigned short CONST_VALUE_2 = 2; | 244 const unsigned short CONST_VALUE_2 = 2; |
| 241 const unsigned short CONST_VALUE_4 = 4; | 245 const unsigned short CONST_VALUE_4 = 4; |
| 242 const unsigned short CONST_VALUE_8 = 8; | 246 const unsigned short CONST_VALUE_8 = 8; |
| 243 const short CONST_VALUE_9 = -1; | 247 const short CONST_VALUE_9 = -1; |
| 244 const DOMString CONST_VALUE_10 = "my constant string"; | 248 const DOMString CONST_VALUE_10 = "my constant string"; |
| 245 const unsigned short CONST_VALUE_11 = 0xffffffff; | 249 const unsigned short CONST_VALUE_11 = 0xffffffff; |
| 246 const unsigned short CONST_VALUE_12 = 0x01; | 250 const unsigned short CONST_VALUE_12 = 0x01; |
| 247 const unsigned short CONST_VALUE_13 = 0X20; | 251 const unsigned short CONST_VALUE_13 = 0X20; |
| 248 const unsigned short CONST_VALUE_14 = 0x1abc; | 252 const unsigned short CONST_VALUE_14 = 0x1abc; |
| 249 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; | 253 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; |
| 254 |
| 255 attribute [Replaceable] long replaceableAttribute; |
| 250 }; | 256 }; |
| 251 } | 257 } |
| OLD | NEW |