v8/test/mjsunit/asm
neis 837900ef24 [tests] Fix bogus uses of assertThrows.
Some tests passed a string as second argument to assertThrows, expecting it to
be matched against the exception.  However, assertThrows simply ignored these.
(Some other tests actually seem to use that argument as a comment ...)

This CL
- changes assertThrows to fail if the second argument is not a function,
- adds assertThrowsEquals which compares the exception to a given value using
  assertEquals
- fixes some bogus tests that got exposed by this.

R=jarin@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1544793002

Cr-Commit-Position: refs/heads/master@{#33159}
2016-01-07 14:49:21 +00:00
..
embenchen
poppler [mjsunit] Import asm.js test case for poppler. 2015-04-22 09:33:43 +00:00
sqlite3 [mjsunit] Add custom tests based on SQLite 3.8.9. 2015-04-22 07:44:50 +00:00
atomics-add.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
atomics-and.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
atomics-compareexchange.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
atomics-exchange.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
atomics-load.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
atomics-or.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
atomics-store.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
atomics-sub.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
atomics-xor.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
construct-double.js [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. 2015-03-05 09:22:38 +00:00
do-while-false.js
do-while.js
double-hi.js [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. 2015-03-05 09:22:38 +00:00
double-lo.js [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. 2015-03-05 09:22:38 +00:00
float32array-negative-offset.js
float32array-outofbounds.js
float32array-store-div.js
float64array-negative-offset.js
float64array-outofbounds.js
float64array-store-div.js
float64mul.js
if-cloning.js
if-folding.js
if-reduction.js
if-tonumber.js
infinite-loops-taken.js [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
infinite-loops.js
int8array-negative-offset.js
int16array-negative-offset.js
int16array-outofbounds.js
int32-div.js
int32-mod.js
int32-mul.js
int32-tmod.js
int32-udiv.js
int32-umod.js
int32array-constant-key.js
int32array-negative-offset.js
int32array-outofbounds.js
int32array-unaligned.js
int32div.js
int32mod-constant.js
int32mod.js
int32modb.js
math-abs.js
math-ceil.js
math-clz32.js [turbofan] Fix test of %_MathClz32 intrinsic. 2015-03-30 15:10:39 +00:00
math-floor.js
math-fround.js
pointer-masking.js [turbofan] Optimize silent hole checks on legacy const context slots. 2015-04-10 10:28:12 +00:00
redundancy1.js
redundancy2.js
sign-extend.js
switch.js
uint8array-outofbounds.js
uint32-less-than-shift.js
uint32div.js
uint32mod-constant.js
uint32mod.js
word32and.js
word32ror.js
zero-extend.js