Index: test/webkit/fast/js/primitive-property-access-edge-cases-expected.txt |
diff --git a/test/webkit/fast/js/primitive-property-access-edge-cases-expected.txt b/test/webkit/fast/js/primitive-property-access-edge-cases-expected.txt |
index e86d26a83c6ac27595ce11f51161245c5e337bd5..180e34b2c1b068573d9eebfe88565a018058deb8 100644 |
--- a/test/webkit/fast/js/primitive-property-access-edge-cases-expected.txt |
+++ b/test/webkit/fast/js/primitive-property-access-edge-cases-expected.txt |
@@ -47,9 +47,9 @@ PASS checkWrite(true, Boolean) is true |
PASS checkReadStrict(1, Number) is true |
PASS checkReadStrict('hello', String) is true |
PASS checkReadStrict(true, Boolean) is true |
-PASS checkWriteStrict(1, Number) threw exception TypeError: Cannot assign to read only property 'foo' of 1. |
-PASS checkWriteStrict('hello', String) threw exception TypeError: Cannot assign to read only property 'foo' of hello. |
-PASS checkWriteStrict(true, Boolean) threw exception TypeError: Cannot assign to read only property 'foo' of true. |
+PASS checkWriteStrict(1, Number) threw exception TypeError: Cannot create property 'foo' on number '1'. |
+PASS checkWriteStrict('hello', String) threw exception TypeError: Cannot create property 'foo' on string 'hello'. |
+PASS checkWriteStrict(true, Boolean) threw exception TypeError: Cannot create property 'foo' on boolean 'true'. |
PASS checkNumericGet(1, Number) is true |
PASS checkNumericGet('hello', String) is true |
PASS checkNumericGet(true, Boolean) is true |
@@ -71,9 +71,9 @@ PASS checkNumericWrite(true, Boolean) is true |
PASS checkNumericReadStrict(1, Number) is true |
PASS checkNumericReadStrict('hello', String) is true |
PASS checkNumericReadStrict(true, Boolean) is true |
-PASS checkNumericWriteStrict(1, Number) threw exception TypeError: Cannot assign to read only property '42' of 1. |
-PASS checkNumericWriteStrict('hello', String) threw exception TypeError: Cannot assign to read only property '42' of hello. |
-PASS checkNumericWriteStrict(true, Boolean) threw exception TypeError: Cannot assign to read only property '42' of true. |
+PASS checkNumericWriteStrict(1, Number) threw exception TypeError: Cannot create property '42' on number '1'. |
+PASS checkNumericWriteStrict('hello', String) threw exception TypeError: Cannot create property '42' on string 'hello'. |
+PASS checkNumericWriteStrict(true, Boolean) threw exception TypeError: Cannot create property '42' on boolean 'true'. |
PASS didNotCrash is true |
PASS successfullyParsed is true |