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
sqlite3
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
do-while-false.js
do-while.js
double-hi.js
double-lo.js
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
math-floor.js
math-fround.js
pointer-masking.js
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