Changeset 33979 in webkit for trunk/JavaScriptCore/API/JSValueRef.cpp
- Timestamp:
- May 21, 2008, 6:20:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSValueRef.cpp
r33038 r33979 135 135 bool JSValueIsStrictEqual(JSContextRef ctx, JSValueRef a, JSValueRef b) 136 136 { 137 JSLock lock; 138 ExecState* exec = toJS(ctx); 137 UNUSED_PARAM(ctx); 138 139 JSLock lock; 139 140 JSValue* jsA = toJS(a); 140 141 JSValue* jsB = toJS(b); 141 142 142 bool result = strictEqual(exec, jsA, jsB); // can't throw because it doesn't perform value conversion 143 ASSERT(!exec->hadException()); 143 bool result = strictEqual(jsA, jsB); 144 144 return result; 145 145 }
Note:
See TracChangeset
for help on using the changeset viewer.