diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/basic/bug720070.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/basic/bug720070.js Wed Dec 31 06:09:35 2014 +0100 @@ -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);