From eab6854faa1cacda168e6ace88e365522f4d450e Mon Sep 17 00:00:00 2001 From: "verwaest@chromium.org" Date: Fri, 31 Jan 2014 17:39:59 +0000 Subject: [PATCH] Adjust test expectations to new error on method not found BUG= R=machenbach@chromium.org Review URL: https://codereview.chromium.org/151483004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19005 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- .../webkit/dfg-check-structure-elimination-for-non-cell-expected.txt | 2 +- test/webkit/fast/js/array-prototype-properties-expected.txt | 2 +- test/webkit/fast/js/date-toisostring-expected.txt | 4 ++-- test/webkit/fast/js/toString-overrides-expected.txt | 5 +++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/webkit/dfg-check-structure-elimination-for-non-cell-expected.txt b/test/webkit/dfg-check-structure-elimination-for-non-cell-expected.txt index 63b6ba2..5a0941d 100644 --- a/test/webkit/dfg-check-structure-elimination-for-non-cell-expected.txt +++ b/test/webkit/dfg-check-structure-elimination-for-non-cell-expected.txt @@ -216,7 +216,7 @@ PASS baz(i) is 66 PASS baz(i) is 66 PASS baz(i) is 66 PASS baz(i) is 66 -Caught exception: TypeError: Cannot call method 'g' of null +Caught exception: TypeError: Cannot read property 'g' of null PASS baz(i) is "ERROR" PASS baz(i) is 66 PASS baz(i) is 66 diff --git a/test/webkit/fast/js/array-prototype-properties-expected.txt b/test/webkit/fast/js/array-prototype-properties-expected.txt index 6ab72a4..9e98e26 100644 --- a/test/webkit/fast/js/array-prototype-properties-expected.txt +++ b/test/webkit/fast/js/array-prototype-properties-expected.txt @@ -42,7 +42,7 @@ PASS Array.prototype.every.call(undefined, toString) threw exception TypeError: PASS Array.prototype.forEach.call(undefined, toString) threw exception TypeError: Array.prototype.forEach called on null or undefined. PASS Array.prototype.some.call(undefined, toString) threw exception TypeError: Array.prototype.some called on null or undefined. PASS Array.prototype.indexOf.call(undefined, 0) threw exception TypeError: Array.prototype.indexOf called on null or undefined. -PASS Array.prototype.indlastIndexOfexOf.call(undefined, 0) threw exception TypeError: Cannot call method 'call' of undefined. +PASS Array.prototype.indlastIndexOfexOf.call(undefined, 0) threw exception TypeError: Cannot read property 'call' of undefined. PASS Array.prototype.filter.call(undefined, toString) threw exception TypeError: Array.prototype.filter called on null or undefined. PASS Array.prototype.reduce.call(undefined, toString) threw exception TypeError: Array.prototype.reduce called on null or undefined. PASS Array.prototype.reduceRight.call(undefined, toString) threw exception TypeError: Array.prototype.reduceRight called on null or undefined. diff --git a/test/webkit/fast/js/date-toisostring-expected.txt b/test/webkit/fast/js/date-toisostring-expected.txt index 865090a..2651726 100644 --- a/test/webkit/fast/js/date-toisostring-expected.txt +++ b/test/webkit/fast/js/date-toisostring-expected.txt @@ -26,8 +26,8 @@ Tests for Date.toISOString On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS Date.toISOString.call({}) threw exception TypeError: Cannot call method 'call' of undefined. -PASS Date.toISOString.call(0) threw exception TypeError: Cannot call method 'call' of undefined. +PASS Date.toISOString.call({}) threw exception TypeError: Cannot read property 'call' of undefined. +PASS Date.toISOString.call(0) threw exception TypeError: Cannot read property 'call' of undefined. PASS new Date(-400).toISOString() is '1969-12-31T23:59:59.600Z' PASS new Date(0).toISOString() is '1970-01-01T00:00:00.000Z' PASS new Date('1 January 1500 UTC').toISOString() is '1500-01-01T00:00:00.000Z' diff --git a/test/webkit/fast/js/toString-overrides-expected.txt b/test/webkit/fast/js/toString-overrides-expected.txt index 6bf5ae5..3e36c70 100644 --- a/test/webkit/fast/js/toString-overrides-expected.txt +++ b/test/webkit/fast/js/toString-overrides-expected.txt @@ -28,12 +28,13 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE 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 +FAIL [1].toLocaleString() should be 1. Threw exception TypeError: string 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 +FAIL [/r/].toLocaleString() should be toString2. Threw exception TypeError: string is not a function PASS caught is true PASS successfullyParsed is true + TEST COMPLETE -- 2.7.4