| 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 28 matching lines...) Expand all Loading... |
| 39 readonly attribute DOMString readOnlyStringAttr; | 39 readonly attribute DOMString readOnlyStringAttr; |
| 40 readonly attribute TestObj readOnlyTestObjAttr; | 40 readonly attribute TestObj readOnlyTestObjAttr; |
| 41 attribute short shortAttr; | 41 attribute short shortAttr; |
| 42 attribute unsigned short unsignedShortAttr; | 42 attribute unsigned short unsignedShortAttr; |
| 43 attribute long intAttr; | 43 attribute long intAttr; |
| 44 attribute long long longLongAttr; | 44 attribute long long longLongAttr; |
| 45 attribute unsigned long long unsignedLongLongAttr; | 45 attribute unsigned long long unsignedLongLongAttr; |
| 46 attribute DOMString stringAttr; | 46 attribute DOMString stringAttr; |
| 47 attribute TestObj testObjAttr; | 47 attribute TestObj testObjAttr; |
| 48 | 48 |
| 49 // Sequence Attributes | |
| 50 attribute sequence<ScriptProfile> sequenceAttr; | |
| 51 attribute sequence<int> intSequenceAttr; | |
| 52 attribute sequence<short> shortSequenceAttr; | |
| 53 attribute sequence<long> longSequenceAttr; | |
| 54 attribute sequence<long long> longLongSequenceAttr; | |
| 55 attribute sequence<unsigned int> unsignedIntSequenceAttr; | |
| 56 attribute sequence<unsigned short> unsignedShortSequenceAttr; | |
| 57 attribute sequence<unsigned long> unsignedLongSequenceAttr; | |
| 58 attribute sequence<unsigned long long> unsignedLongLongSequenceAttr; | |
| 59 attribute sequence<float> floatSequenceAttr; | |
| 60 attribute sequence<double> doubleSequenceAttr; | |
| 61 attribute sequence<boolean> booleanSequenceAttr; | |
| 62 attribute sequence<void> voidSequenceAttr; | |
| 63 attribute sequence<Date> dateSequenceAttr; | |
| 64 | |
| 65 JS, V8 | 49 JS, V8 |
| 66 // WK_ucfirst, WK_lcfirst exceptional cases. | 50 // WK_ucfirst, WK_lcfirst exceptional cases. |
| 67 attribute TestObj XMLObjAttr; | 51 attribute TestObj XMLObjAttr; |
| 68 attribute boolean create; | 52 attribute boolean create; |
| 69 | 53 |
| 70 // Reflected DOM attributes | 54 // Reflected DOM attributes |
| 71 attribute [Reflect] DOMString reflectedStringAttr; | 55 attribute [Reflect] DOMString reflectedStringAttr; |
| 72 attribute [Reflect] long reflectedIntegralAttr; | 56 attribute [Reflect] long reflectedIntegralAttr; |
| 73 attribute [Reflect] unsigned long reflectedUnsignedIntegralAttr; | 57 attribute [Reflect] unsigned long reflectedUnsignedIntegralAttr; |
| 74 attribute [Reflect] boolean reflectedBooleanAttr; | 58 attribute [Reflect] boolean reflectedBooleanAttr; |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 194 |
| 211 | 195 |
| 212 #if defined(TESTING_V8) | 196 #if defined(TESTING_V8) |
| 213 attribute float[] floatArray; | 197 attribute float[] floatArray; |
| 214 attribute double[] doubleArray; | 198 attribute double[] doubleArray; |
| 215 #endif | 199 #endif |
| 216 | 200 |
| 217 #if defined(TESTING_JS) | 201 #if defined(TESTING_JS) |
| 218 void methodWithUnsignedLongArray(in unsigned long[] unsignedLongArray); | 202 void methodWithUnsignedLongArray(in unsigned long[] unsignedLongArray); |
| 219 #endif | 203 #endif |
| 204 #if defined(TESTING_V8) || defined(TESTING_JS) |
| 205 DOMString[] stringArrayFunction(in DOMString[] values) raises(DOMExcepti
on); |
| 206 #endif |
| 220 | 207 |
| 221 readonly attribute [CheckSecurityForNode] Document contentDocument; | 208 readonly attribute [CheckSecurityForNode] Document contentDocument; |
| 222 [CheckSecurityForNode] SVGDocument getSVGDocument() | 209 [CheckSecurityForNode] SVGDocument getSVGDocument() |
| 223 raises(DOMException); | 210 raises(DOMException); |
| 224 | 211 |
| 225 void convert1(in [TreatReturnedNullStringAs=Null] a); | 212 void convert1(in [TreatReturnedNullStringAs=Null] a); |
| 226 void convert2(in [TreatReturnedNullStringAs=Undefined] b); | 213 void convert2(in [TreatReturnedNullStringAs=Undefined] b); |
| 227 void convert3(in [TreatReturnedNullStringAs=False] c); | 214 void convert3(in [TreatReturnedNullStringAs=False] c); |
| 228 void convert4(in [TreatNullAs=NullString] d); | 215 void convert4(in [TreatNullAs=NullString] d); |
| 229 void convert5(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] e
); | 216 void convert5(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] e
); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 253 const unsigned short CONST_VALUE_8 = 8; | 240 const unsigned short CONST_VALUE_8 = 8; |
| 254 const short CONST_VALUE_9 = -1; | 241 const short CONST_VALUE_9 = -1; |
| 255 const DOMString CONST_VALUE_10 = "my constant string"; | 242 const DOMString CONST_VALUE_10 = "my constant string"; |
| 256 const unsigned short CONST_VALUE_11 = 0xffffffff; | 243 const unsigned short CONST_VALUE_11 = 0xffffffff; |
| 257 const unsigned short CONST_VALUE_12 = 0x01; | 244 const unsigned short CONST_VALUE_12 = 0x01; |
| 258 const unsigned short CONST_VALUE_13 = 0X20; | 245 const unsigned short CONST_VALUE_13 = 0X20; |
| 259 const unsigned short CONST_VALUE_14 = 0x1abc; | 246 const unsigned short CONST_VALUE_14 = 0x1abc; |
| 260 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; | 247 [Reflect=CONST_IMPL] const unsigned short CONST_JAVASCRIPT = 15; |
| 261 }; | 248 }; |
| 262 } | 249 } |
| OLD | NEW |