Title: [214633] trunk/JSTests
Revision
214633
Author
[email protected]
Date
2017-03-30 15:35:21 -0700 (Thu, 30 Mar 2017)

Log Message

Enable ChakraCore/Function/FuncBody.js test as it now works
https://bugs.webkit.org/show_bug.cgi?id=170301

Reviewed by Mark Lam.

This test no longer crashes, so enable it and create a JSC specific
expected file.

* ChakraCore.yaml:
* ChakraCore/test/Function/FuncBodyES5.baseline-jsc: Added.

Modified Paths

Added Paths

Diff

Added: trunk/JSTests/ChakraCore/test/Function/FuncBodyES5.baseline-jsc (0 => 214633)


--- trunk/JSTests/ChakraCore/test/Function/FuncBodyES5.baseline-jsc	                        (rev 0)
+++ trunk/JSTests/ChakraCore/test/Function/FuncBodyES5.baseline-jsc	2017-03-30 22:35:21 UTC (rev 214633)
@@ -0,0 +1,30 @@
+PASS: 1: new Function succeeded as expected
+PASS: 1: new Function succeeded as expected
+PASS: 2: new Function succeeded as expected
+PASS: 3: new Function succeeded as expected
+PASS: 4: new Function succeeded as expected
+PASS: 5: new Function succeeded as expected
+PASS: 6: new Function succeeded as expected
+PASS: 7: new Function succeeded as expected
+PASS: 8: new Function succeeded as expected
+PASS: 9: new Function succeeded as expected
+PASS: 10: new Function succeeded as expected
+PASS: 100: new Function failed as expected. SyntaxError: Parser error
+PASS: 100: new Function failed as expected. SyntaxError: Parser error
+PASS: 101: new Function failed as expected. SyntaxError: Parser error
+PASS: 102: new Function failed as expected. SyntaxError: Parser error
+PASS: 103: new Function failed as expected. SyntaxError: Parser error
+PASS: 104: new Function failed as expected. SyntaxError: Invalid character: '\0'
+PASS: 105: new Function failed as expected. SyntaxError: Parser error
+PASS: 200: new Function failed as expected. SyntaxError: Unexpected token ','. Expected a parameter pattern or a ')' in parameter list.
+PASS: 200: new Function failed as expected. SyntaxError: Unexpected token ','. Expected a parameter pattern or a ')' in parameter list.
+PASS: 201: new Function failed as expected. SyntaxError: Unexpected token ','. Expected a parameter pattern or a ')' in parameter list.
+PASS: 202: new Function failed as expected. SyntaxError: Unexpected token '.'. Expected a ')' or a ',' after a parameter declaration.
+PASS: 203: new Function failed as expected. SyntaxError: Unexpected number '23'. Expected a parameter pattern or a ')' in parameter list.
+PASS: 300: new Function succeeded as expected
+PASS: 301: new Function succeeded as expected
+PASS: 302: new Function succeeded as expected
+PASS: 303: new Function succeeded as expected
+PASS: 304: new Function succeeded as expected
+PASS: 305: new Function succeeded as expected
+PASS: 306: new Function succeeded as expected

Modified: trunk/JSTests/ChakraCore.yaml (214632 => 214633)


--- trunk/JSTests/ChakraCore.yaml	2017-03-30 22:26:15 UTC (rev 214632)
+++ trunk/JSTests/ChakraCore.yaml	2017-03-30 22:35:21 UTC (rev 214633)
@@ -634,8 +634,7 @@
   # Difference in Object.getOwnPropertyDescriptor(functiong.__proto__, 'caller').
   cmd: runChakra :skip, "NoException", "typeErrorAccessor.baseline", []
 - path: ChakraCore/test/Function/FuncBody.js
-  # This crashes in JSC.
-  cmd: runChakra :skip, "NoException", "FuncBodyES5.baseline", []
+  cmd: runChakra :baseline, "NoException", "FuncBodyES5.baseline-jsc", []
 - path: ChakraCore/test/Function/FuncBody.bug227901.js
   cmd: runChakra :baseline, "NoException", "FuncBody.bug227901.baseline-jsc", []
 - path: ChakraCore/test/Function/FuncBody.bug232281.js

Modified: trunk/JSTests/ChangeLog (214632 => 214633)


--- trunk/JSTests/ChangeLog	2017-03-30 22:26:15 UTC (rev 214632)
+++ trunk/JSTests/ChangeLog	2017-03-30 22:35:21 UTC (rev 214633)
@@ -1,3 +1,16 @@
+2017-03-30  Michael Saboff  <[email protected]>
+
+        Enable ChakraCore/Function/FuncBody.js test as it now works
+        https://bugs.webkit.org/show_bug.cgi?id=170301
+
+        Reviewed by Mark Lam.
+
+        This test no longer crashes, so enable it and create a JSC specific
+        expected file.
+
+        * ChakraCore.yaml:
+        * ChakraCore/test/Function/FuncBodyES5.baseline-jsc: Added.
+
 2017-03-30  JF Bastien  <[email protected]>
 
         WebAssembly: fix misc JS API implementation inconsistencies
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to