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

Side by Side Diff: LayoutTests/fast/js/JSON-stringify-replacer-expected.txt

Issue 14146002: Remove all generic expected results for which a generic Chromium expected result exists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Test to ensure correct behaviour of replacer functions in JSON.stringify
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS JSON.stringify(object, returnUndefined) is undefined.
7 PASS JSON.stringify(array, returnUndefined) is undefined.
8 PASS JSON.stringify(object, returnObjectFor1) is '{"0":0,"1":{},"2":2}'
9 PASS JSON.stringify(array, returnObjectFor1) is '[0,{},2,null]'
10 PASS JSON.stringify(object, returnArrayFor1) is '{"0":0,"1":[],"2":2}'
11 PASS JSON.stringify(array, returnArrayFor1) is '[0,[],2,null]'
12 PASS JSON.stringify(object, returnUndefinedFor1) is '{"0":0,"2":2}'
13 PASS JSON.stringify(array, returnUndefinedFor1) is '[0,null,2,null]'
14 PASS JSON.stringify(object, returnFunctionFor1) is '{"0":0,"2":2}'
15 PASS JSON.stringify(array, returnFunctionFor1) is '[0,null,2,null]'
16 PASS JSON.stringify(object, returnNullFor1) is '{"0":0,"1":null,"2":2}'
17 PASS JSON.stringify(array, returnNullFor1) is '[0,null,2,null]'
18 PASS JSON.stringify(object, returnStringForUndefined) is '{"0":0,"1":1,"2":2,"3" :"undefined value"}'
19 PASS JSON.stringify(array, returnStringForUndefined) is '[0,1,2,"undefined value "]'
20 PASS JSON.stringify(object, returnCycleObjectFor1) threw exception TypeError: JS ON.stringify cannot serialize cyclic structures..
21 PASS JSON.stringify(array, returnCycleObjectFor1) threw exception TypeError: JSO N.stringify cannot serialize cyclic structures..
22 PASS JSON.stringify(object, returnCycleArrayFor1) threw exception TypeError: JSO N.stringify cannot serialize cyclic structures..
23 PASS JSON.stringify(array, returnCycleArrayFor1) threw exception TypeError: JSON .stringify cannot serialize cyclic structures..
24 PASS successfullyParsed is true
25
26 TEST COMPLETE
27
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/JSON-parse-expected.txt ('k') | LayoutTests/fast/js/Object-create-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698