blob: 5ac5580129769fee3e4348d805389cb31f293ba0 [file] [log] [blame]
PASS: setTimeout("STRING", 0) works.
PASS: setInterval("STRING", 0) works.
PASS: setTimeout(String("STRING"), 0) works.
PASS: setInterval(String("STRING"), 0) works.
PASS: setTimeout({toString:function(){}}, 0) works.
PASS: setInterval({toString:function(){}}, 0) works.
PASS: setTimeout({ toString : function() { throw "Exception"; } }, 0) correctly threw an exception.
PASS: setInterval({ toString : function() { throw "Exception"; } }, 0) correctly threw an exception.
PASS: All tests passed.