Changeset 243391 in webkit
- Timestamp:
- Mar 22, 2019, 10:59:07 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r243386 r243391 1 2019-03-22 Mark Lam <mark.lam@apple.com> 2 3 Placate exception check validation in genericTypedArrayViewProtoFuncLastIndexOf(). 4 https://bugs.webkit.org/show_bug.cgi?id=196154 5 <rdar://problem/49145307> 6 7 Reviewed by Filip Pizlo. 8 9 Also added //@ runDefault constraint to web-assembly-link-error-exception-check.js. 10 There's no need to run this test on more than 1 test configuration. 11 12 * stress/typed-array-lastIndexOf-exception-check.js: Added. 13 * stress/web-assembly-link-error-exception-check.js: 14 1 15 2019-03-22 Mark Lam <mark.lam@apple.com> 2 16 -
trunk/JSTests/stress/web-assembly-link-error-exception-check.js
r243386 r243391 1 //@ runDefault 2 1 3 new WebAssembly.LinkError([]); -
trunk/Source/JavaScriptCore/ChangeLog
r243386 r243391 1 2019-03-22 Mark Lam <mark.lam@apple.com> 2 3 Placate exception check validation in genericTypedArrayViewProtoFuncLastIndexOf(). 4 https://bugs.webkit.org/show_bug.cgi?id=196154 5 <rdar://problem/49145307> 6 7 Reviewed by Filip Pizlo. 8 9 * runtime/JSGenericTypedArrayViewPrototypeFunctions.h: 10 (JSC::genericTypedArrayViewProtoFuncLastIndexOf): 11 1 12 2019-03-22 Mark Lam <mark.lam@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototypeFunctions.h
r236697 r243391 1 1 /* 2 * Copyright (C) 2015-201 7Apple Inc. All rights reserved.2 * Copyright (C) 2015-2019 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 318 318 JSValue fromValue = exec->uncheckedArgument(1); 319 319 double fromDouble = fromValue.toInteger(exec); 320 RETURN_IF_EXCEPTION(scope, encodedJSValue()); 320 321 if (fromDouble < 0) { 321 322 fromDouble += length; … … 326 327 index = static_cast<unsigned>(fromDouble); 327 328 } 328 329 RETURN_IF_EXCEPTION(scope, encodedJSValue());330 329 331 330 if (thisObject->isNeutered())
Note:
See TracChangeset
for help on using the changeset viewer.