Index: test/webkit/fast/js/function-toString-semicolon-insertion-expected.txt |
diff --git a/test/webkit/arguments-bad-index-expected.txt b/test/webkit/fast/js/function-toString-semicolon-insertion-expected.txt |
similarity index 73% |
copy from test/webkit/arguments-bad-index-expected.txt |
copy to test/webkit/fast/js/function-toString-semicolon-insertion-expected.txt |
index 929537823ba09f0a0dc53891aea0bf23fe9014e8..edb651fbea3cfed5ddcabdcfc0267ea33317792d 100644 |
--- a/test/webkit/arguments-bad-index-expected.txt |
+++ b/test/webkit/fast/js/function-toString-semicolon-insertion-expected.txt |
@@ -21,15 +21,19 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-This test checks whether arguments crashes when passed a bad index. |
+This test checks that functions re-string-ify in a way that is syntactically compatible with concatenation. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS indexArguments(1, "a") is "a" |
-PASS indexArguments("1 ", "a") is undefined |
-PASS indexArguments(0xDEADBEEF) is undefined |
-PASS indexArguments(0xFFFFFFFF) is undefined |
+FAIL (function(){return}).toString() should be function () {return;}. Was function (){return}. |
+FAIL (function(){return }).toString() should be function () {return; }. Was function (){return }. |
+FAIL (function(){return |
+}).toString() should be function () {return; |
+}. Was function (){return |
+}. |
+FAIL (function(){}).toString() should be function () {}. Was function (){}. |
+FAIL (function(){ }).toString() should be function () { }. Was function (){ }. |
PASS successfullyParsed is true |
TEST COMPLETE |