Index: test/webkit/fast/js/kde/literals.js |
diff --git a/test/webkit/array-reset-large-index.js b/test/webkit/fast/js/kde/literals.js |
similarity index 82% |
copy from test/webkit/array-reset-large-index.js |
copy to test/webkit/fast/js/kde/literals.js |
index 532d9f0a8e5cea6f866627f11262ac415a07faac..57cf8cd9198c2b327e5e72faa6fd189d629d81fb 100644 |
--- a/test/webkit/array-reset-large-index.js |
+++ b/test/webkit/fast/js/kde/literals.js |
@@ -21,15 +21,18 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-description( |
-"This test puts an item in a big index and then tries to change it. It shoudl change successfully." |
-); |
+description("KDE JS Test"); |
+var x = 0; |
+eval("\u0009 \u000B \u000C \u00A0x = 1;"); |
+shouldBe("x", "1"); |
-var array = []; |
-array[10001] = 0; |
-array[10001] = 5; |
-array[10002] = "a"; |
-array[10002] = "b"; |
+// hex (non-normative) |
+shouldBe("0x0", "0"); |
+shouldBe("0xF", "15"); |
+shouldBe("0xFF", "255"); |
-shouldBe('array[10001]', '5'); |
-shouldBe('array[10002]', '"b"'); |
+// octal (non-normative) |
+shouldBe("01", "1"); |
+shouldBe("010", "8"); |
+shouldBe("09", "9"); |
+shouldBe("019", "19"); |