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

Unified Diff: webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-custom-prototype-expected.txt

Issue 15096: Rebaselines the test... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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
Index: webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-custom-prototype-expected.txt
===================================================================
--- webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-custom-prototype-expected.txt (revision 0)
+++ webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-custom-prototype-expected.txt (revision 0)
@@ -0,0 +1,21 @@
+Test what happens when you set the window's prototype to various values.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+FAIL __proto__ = window; __proto should throw Error: cyclic __proto__ value. Threw exception Error: Cyclic __proto__ value.
+FAIL __proto__ = chainPointingBackToWindow; __proto__ should throw Error: cyclic __proto__ value. Threw exception Error: Cyclic __proto__ value.
+PASS __proto__ = 1; __proto__ is originalWindowPrototype
+PASS __proto__ = 'a string'; __proto__ is originalWindowPrototype
+PASS __proto__ = anotherObject; __proto__ is anotherObject
+FAIL anotherObject.__proto__ = window; __proto__ should throw Error: cyclic __proto__ value. Threw exception Error: Cyclic __proto__ value.
+PASS __proto__ = null; __proto__ is null
+PASS __proto__ = 1; __proto__ is null
+PASS __proto__ = 'a string'; __proto__ is null
+PASS __proto__ = anotherObject; __proto__ is anotherObject
+PASS __proto__ = originalWindowPrototype; __proto__ is originalWindowPrototype
+PASS anotherObject.__proto__ = window; anotherObject.__proto__ is window
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Property changes on: webkit\data\layout_tests\platform\chromium-win\LayoutTests\fast\dom\Window\window-custom-prototype-expected.txt
___________________________________________________________________
Added: svn:eol-style
+ native

Powered by Google App Engine
This is Rietveld 408576698