| Index: test/mjsunit/mjsunit.js
|
| diff --git a/test/mjsunit/mjsunit.js b/test/mjsunit/mjsunit.js
|
| index 370d491f8f9c66f6e39747b690673bd8511716ac..320e8d15d360e23daa3e88ff257b35b628c49080 100644
|
| --- a/test/mjsunit/mjsunit.js
|
| +++ b/test/mjsunit/mjsunit.js
|
| @@ -53,6 +53,9 @@ function fail(expected, found, name_opt) {
|
|
|
| function deepEquals(a, b) {
|
| if (a == b) return true;
|
| + if (typeof a == "number" && typeof b == "number" && isNaN(a) && isNaN(b)) {
|
| + return true;
|
| + }
|
| if ((typeof a) !== 'object' || (typeof b) !== 'object' ||
|
| (a === null) || (b === null))
|
| return false;
|
|
|