author | Christian Holler <choller@mozilla.com> |
Wed, 20 Mar 2013 03:58:09 +0100 | |
changeset 125563 | 893a57ee94bfb94b9b00f2d19886304056604f0f |
parent 125562 | 4bb793ac828d774696733ebd507a685d9a644500 |
child 125564 | 129ff7d529688df59b415ce4bbad8749350d64d7 |
push id | 24459 |
push user | emorley@mozilla.com |
push date | Wed, 20 Mar 2013 11:46:36 +0000 |
treeherder | mozilla-central@1d6fe70c79c5 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | needed-tests |
bugs | 720070 |
milestone | 22.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
new file mode 100644 --- /dev/null +++ b/js/src/jit-test/tests/basic/bug720070.js @@ -0,0 +1,6 @@ +var bytes = [0xff, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff]; // big-endian +bytes.reverse(); // if testing on little-endian +var result = new Float64Array(new Uint8Array(bytes).buffer)[0]; + +// Check that this doesn't crash +isNaN(result + 0);