Index: test/webkit/fast/js/kde/Object-expected.txt |
diff --git a/test/webkit/add-recovery-expected.txt b/test/webkit/fast/js/kde/Object-expected.txt |
similarity index 76% |
copy from test/webkit/add-recovery-expected.txt |
copy to test/webkit/fast/js/kde/Object-expected.txt |
index 1d961b551aa9ef467543ddbb91dc528869e52611..8c1372d11dd23e0392556963ce8b0e7384ad66cb 100644 |
--- a/test/webkit/add-recovery-expected.txt |
+++ b/test/webkit/fast/js/kde/Object-expected.txt |
@@ -21,16 +21,23 @@ |
# (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. |
+KDE JS Test |
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 typeof Object() is 'object' |
+PASS var o = Object(); o.x = 11; o.x; is 11 |
+PASS Object(1).valueOf() is 1 |
+PASS Object(true).valueOf() is true |
+PASS Object('s').valueOf() is 's' |
+PASS typeof (new Object()) is 'object' |
+PASS (new Object(1)).valueOf() is 1 |
+PASS (new Object(true)).valueOf() is true |
+PASS (new Object('s')).valueOf() is 's' |
+PASS String(Object()) is '[object Object]' |
+PASS Object().toString() is '[object Object]' |
+PASS String(Object().valueOf()) is '[object Object]' |
PASS successfullyParsed is true |
TEST COMPLETE |