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

Unified Diff: test/webkit/prototypes-expected.txt

Issue 1051523003: [es6] Object.getPrototypeOf should work with values (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/prototypes.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/prototypes-expected.txt
diff --git a/test/webkit/prototypes-expected.txt b/test/webkit/prototypes-expected.txt
index c2c35b177c4b39442c11674fffec4aade581c77d..935cd6222bafd65ca2129bf0c899766ce9850a0d 100644
--- a/test/webkit/prototypes-expected.txt
+++ b/test/webkit/prototypes-expected.txt
@@ -43,8 +43,8 @@ PASS Array.__proto__ is Object.__proto__
PASS Date.__proto__ is Object.__proto__
PASS Number.__proto__ is Object.__proto__
PASS String.__proto__ is Object.__proto__
-PASS Object.getPrototypeOf('') threw exception TypeError: Object.getPrototypeOf called on non-object.
-PASS Object.getPrototypeOf(0) threw exception TypeError: Object.getPrototypeOf called on non-object.
+PASS Object.getPrototypeOf('') is String.prototype
+PASS Object.getPrototypeOf(0) is Number.prototype
PASS Object.getPrototypeOf([]) is Array.prototype
PASS Object.getPrototypeOf({}) is Object.prototype
PASS Object.getPrototypeOf(new Date) is Date.prototype
« no previous file with comments | « test/webkit/prototypes.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698