From 6fafd2f05579392a78a58c27d780786456bd2340 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 13 Jul 2005 05:32:41 +0000 Subject: r8413: mark exprbug() as fixed, and add a new bug (This used to be commit c470c3ceac668635c83aa80730321ae7c41ad626) --- testprogs/ejs/bugs.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/testprogs/ejs/bugs.js b/testprogs/ejs/bugs.js index 3c8a4daab3..4d66a475df 100644 --- a/testprogs/ejs/bugs.js +++ b/testprogs/ejs/bugs.js @@ -73,7 +73,7 @@ function objbug() { /* demo a expression handling bug - status: SUBMITTED + status: FIXED */ function exprbug() { var a = new Array(10); @@ -118,10 +118,21 @@ function fnbug(c) assert(s == "testing"); } +/**************************************** +demo incorrect handling of reserved words in strings +status: SUBMITTED +*****************************************/ +function reservedbug() +{ + assert("funct" + "ion" == 'function'); +} + + /* run the tests */ arraybug(); argsbug("one", "two", "three"); recursebug(); exprbug(); fnbug(callback); +reservedbug(); objbug(); -- cgit