Changeset 41924 in webkit for trunk/JavaScriptCore/API
- Timestamp:
- Mar 23, 2009, 5:18:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/tests/testapi.c
r41905 r41924 27 27 #include "JSBasePrivate.h" 28 28 #include <math.h> 29 #define ASSERT_DISABLED 0 29 30 #include <wtf/Assertions.h> 30 31 #include <wtf/UnusedParam.h> … … 343 344 JSValueRef hasInstance = JSObjectGetProperty(context, constructor, hasInstanceName, exception); 344 345 JSStringRelease(hasInstanceName); 345 346 if (!hasInstance) 347 return false; 346 348 JSObjectRef function = JSValueToObject(context, hasInstance, exception); 347 349 JSValueRef result = JSObjectCallAsFunction(context, function, constructor, 1, &possibleValue, exception);
Note:
See TracChangeset
for help on using the changeset viewer.