Index: test/webkit/fast/js/toString-overrides-expected.txt |
diff --git a/test/webkit/add-recovery-expected.txt b/test/webkit/fast/js/toString-overrides-expected.txt |
similarity index 73% |
copy from test/webkit/add-recovery-expected.txt |
copy to test/webkit/fast/js/toString-overrides-expected.txt |
index 1d961b551aa9ef467543ddbb91dc528869e52611..6bf5ae57ba1c1cf57a31153ffaf72c1bb03c62ea 100644 |
--- a/test/webkit/add-recovery-expected.txt |
+++ b/test/webkit/fast/js/toString-overrides-expected.txt |
@@ -21,16 +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. |
-This tests that speculation recovery of destructive additions on unboxed integers works. |
+This test checks for regression against 4147: Array.toString() and toLocaleString() improvements from KDE KJS. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS destructiveAddForBoxedInteger({x:1}, 2, 4) is 9 |
-PASS destructiveAddForBoxedInteger({x:2147483647}, 2, 4) is 2147483655 |
-PASS destructiveAddForBoxedInteger({x:2}, 2147483647, 4) is 4294967300 |
-PASS destructiveAddForBoxedInteger({x:2147483647}, 2147483647, 4) is 6442450945 |
-PASS destructiveAddForBoxedInteger({x:1}, 2, 2147483647) is 2147483652 |
+PASS [1].toString() is '1' |
+PASS [1].toLocaleString() is 'toLocaleString' |
+FAIL [1].toLocaleString() should be 1. Threw exception TypeError: Property 'toLocaleString' of object [object Number] is not a function |
+PASS [/r/].toString() is 'toString2' |
+PASS [/r/].toLocaleString() is 'toLocaleString2' |
+FAIL [/r/].toLocaleString() should be toString2. Threw exception TypeError: Property 'toLocaleString' of object [object RegExp] is not a function |
+PASS caught is true |
PASS successfullyParsed is true |
TEST COMPLETE |