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

Side by Side Diff: LayoutTests/fast/dom/Window/window-custom-prototype-expected.txt

Issue 1200523003: Remove TestExpectations for crbug.com/502427 + fix tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 Test what happens when you set the window's prototype to various values. 1 Test what happens when you set the window's prototype to various values.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 FAIL __proto__ = window; __proto should throw Error: cyclic __proto__ value. Thr ew exception Error: Cyclic __proto__ value. 6 PASS __proto__ = window; __proto threw exception TypeError: Cyclic __proto__ val ue.
7 FAIL __proto__ = chainPointingBackToWindow; __proto__ should throw Error: cyclic __proto__ value. Threw exception Error: Cyclic __proto__ value. 7 PASS __proto__ = chainPointingBackToWindow; __proto__ threw exception TypeError: Cyclic __proto__ value.
8 PASS __proto__ = 1; __proto__ is originalWindowPrototype 8 PASS __proto__ = 1; __proto__ is originalWindowPrototype
9 PASS __proto__ = 'a string'; __proto__ is originalWindowPrototype 9 PASS __proto__ = 'a string'; __proto__ is originalWindowPrototype
10 PASS __proto__ = anotherObject; __proto__ is anotherObject 10 PASS __proto__ = anotherObject; __proto__ is anotherObject
11 FAIL anotherObject.__proto__ = window; __proto__ should throw Error: cyclic __pr oto__ value. Threw exception Error: Cyclic __proto__ value. 11 PASS anotherObject.__proto__ = window; __proto__ threw exception TypeError: Cycl ic __proto__ value.
12 PASS __proto__ = 1; __proto__ is anotherObject 12 PASS __proto__ = 1; __proto__ is anotherObject
13 PASS __proto__ = 'a string'; __proto__ is anotherObject 13 PASS __proto__ = 'a string'; __proto__ is anotherObject
14 PASS __proto__ = anotherObject; __proto__ is anotherObject 14 PASS __proto__ = anotherObject; __proto__ is anotherObject
15 PASS __proto__ = originalWindowPrototype; __proto__ is originalWindowPrototype 15 PASS __proto__ = originalWindowPrototype; __proto__ is originalWindowPrototype
16 PASS anotherObject.__proto__ = window; anotherObject.__proto__ is window 16 PASS anotherObject.__proto__ = window; anotherObject.__proto__ is window
17 FAIL __proto__ = null; __proto__ should be null. Threw exception ReferenceError: __proto__ is not defined 17 PASS __proto__ = null; window.__proto__ is undefined
18 PASS successfullyParsed is true 18 PASS successfullyParsed is true
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Window/script-tests/window-custom-prototype.js ('k') | LayoutTests/fast/js/cyclic-proto-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698