haikuwebkit/LayoutTests/js/dom/exception-thrown-from-equal...

8 lines
361 B
Plaintext

This page tests whether primitive conversions during equality tests properly throw exceptions. If the test passes, you'll see a series of PASS messages below.
PASS: o == 'a' should throw a type error, and did.
PASS: o != 'a' should throw a type error, and did.
PASS: o == 0 should throw a type error, and did.
PASS: o != 0 should throw a type error, and did.