1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/bug720070.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,6 @@ 1.4 +var bytes = [0xff, 0xf7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff]; // big-endian 1.5 +bytes.reverse(); // if testing on little-endian 1.6 +var result = new Float64Array(new Uint8Array(bytes).buffer)[0]; 1.7 + 1.8 +// Check that this doesn't crash 1.9 +isNaN(result + 0);