2 'This is a test case for <a href="https://bugs.webkit.org/show_bug.cgi?id=55346">bug 55346</a> and <a href="https://bugs.webkit.org/show_bug.cgi?id=70889">bug 70889</a>.'
5 shouldBe("({}).toString.call(Error.prototype)", '"[object Error]"');
6 shouldBe("({}).toString.call(RangeError.prototype)", '"[object Error]"');
8 var err = new Error("message");
10 shouldBe("err.toString()", '"message"');