Making tests added in r156157 JS-only, given that other
[WebKit-https.git] / Source / WebCore / bindings / scripts / test / TestObj.idl
index 68c93eb058c4d039c35bd90e09e67748bcec3dc8..39e8ea5a5d10e3dd6703dc5ebfe0250a9694ab0f 100644 (file)
@@ -224,8 +224,11 @@ enum TestEnumType { "", "EnumValue1", "EnumValue2", "EnumValue3" };
 
     [StrictTypeChecking] attribute float strictFloat;
     [StrictTypeChecking, RaisesException] bool strictFunction(DOMString str, float a, long b);
+
+#if defined(TESTING_JS)
     [StrictTypeChecking, RaisesException] bool strictFunctionWithSequence(TestObj objArg, sequence<unsigned long> a);
     [StrictTypeChecking, RaisesException] bool strictFunctionWithArray(TestObj objArg, long[] array);
+#endif
 
     // ObjectiveC reserved words.
     readonly attribute long      description;