Index: test/webkit/string-from-char-code.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/string-from-char-code.js |
similarity index 92% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/string-from-char-code.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..a07c075c21210c69efe81523a94165f85377d3c2 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/string-from-char-code.js |
@@ -21,6 +21,8 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description( |
+"This test ensures that String.fromCharCode doesn't crash." |
+); |
-finishJSTest(); |
+shouldBe('String.fromCharCode(88)', '"X"'); |