Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(992)

Unified Diff: test/webkit/fast/js/kde/Object-expected.txt

Issue 21070002: Migrate more tests from blink repository. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/fast/js/kde/Object.js ('k') | test/webkit/fast/js/kde/Prototype.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/js/kde/Object-expected.txt
diff --git a/test/webkit/arguments-bad-index-expected.txt b/test/webkit/fast/js/kde/Object-expected.txt
similarity index 76%
copy from test/webkit/arguments-bad-index-expected.txt
copy to test/webkit/fast/js/kde/Object-expected.txt
index 929537823ba09f0a0dc53891aea0bf23fe9014e8..8c1372d11dd23e0392556963ce8b0e7384ad66cb 100644
--- a/test/webkit/arguments-bad-index-expected.txt
+++ b/test/webkit/fast/js/kde/Object-expected.txt
@@ -21,15 +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 test checks whether arguments crashes when passed a bad index.
+KDE JS Test
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS indexArguments(1, "a") is "a"
-PASS indexArguments("1 ", "a") is undefined
-PASS indexArguments(0xDEADBEEF) is undefined
-PASS indexArguments(0xFFFFFFFF) is undefined
+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
« no previous file with comments | « test/webkit/fast/js/kde/Object.js ('k') | test/webkit/fast/js/kde/Prototype.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698