archives

« Bugzilla Issues Index

#15 — S11.8.2_A2.3_T1 asserting incorrect behavior


According to ES5 (11.8.2 steps 1 and 2), the following snippet:
var x = { valueOf: function () { throw "x"; } };
var y = { valueOf: function () { throw "y"; } };
try {
x > y;
}
catch(e) {
alert(e);
}

will emit 'x'. S11.8.2_A2.3_T1.js fails unless 'y' is emitted.

Disabling the test.


S11.8.3_A2.3_T1.js has the same problem, only with <= operator.


Fixed at http://hg.ecmascript.org/tests/test262/rev/942efccf52bc