Changeset 235540 in webkit
- Timestamp:
- Aug 31, 2018, 1:40:35 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
-
JSTests/ChangeLog (modified) (1 diff)
-
JSTests/stress/regress-189184.js (added)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/runtime/ArrayPrototype.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r235538 r235540 1 2018-08-31 Mark Lam <mark.lam@apple.com> 2 3 Add missing exception check in arrayProtoFuncLastIndexOf(). 4 https://bugs.webkit.org/show_bug.cgi?id=189184 5 <rdar://problem/39785959> 6 7 Reviewed by Yusuke Suzuki. 8 9 * stress/regress-189184.js: Added. 10 1 11 2018-08-31 Saam barati <sbarati@apple.com> 2 12 -
trunk/Source/JavaScriptCore/ChangeLog
r235538 r235540 1 2018-08-31 Mark Lam <mark.lam@apple.com> 2 3 Add missing exception check in arrayProtoFuncLastIndexOf(). 4 https://bugs.webkit.org/show_bug.cgi?id=189184 5 <rdar://problem/39785959> 6 7 Reviewed by Yusuke Suzuki. 8 9 * runtime/ArrayPrototype.cpp: 10 (JSC::arrayProtoFuncLastIndexOf): 11 1 12 2018-08-31 Saam barati <sbarati@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/ArrayPrototype.cpp
r235356 r235540 1216 1216 if (!e) 1217 1217 continue; 1218 if (JSValue::strictEqual(exec, searchElement, e)) 1218 bool isEqual = JSValue::strictEqual(exec, searchElement, e); 1219 RETURN_IF_EXCEPTION(scope, encodedJSValue()); 1220 if (isEqual) 1219 1221 return JSValue::encode(jsNumber(index)); 1220 RETURN_IF_EXCEPTION(scope, encodedJSValue());1221 1222 } while (index--); 1222 1223
Note:
See TracChangeset
for help on using the changeset viewer.