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

Side by Side Diff: LayoutTests/fast/js/Object-create-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 Object.defineProperties
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS Object.create() threw exception TypeError: Object prototype may only be an Object or null..
7 PASS Object.create('a string') threw exception TypeError: Object prototype may o nly be an Object or null..
8 PASS Object.create({}, 'a string') threw exception TypeError: Property descripto r list must be an Object..
9 PASS Object.create(null, 'a string') threw exception TypeError: Property descrip tor list must be an Object..
10 PASS JSON.stringify(Object.create(null,{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":" foo"}'
11 PASS JSON.stringify(Object.create({},{property:{value:'foo', enumerable:true}, p roperty2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":"fo o"}'
12 PASS JSON.stringify(Object.create({},{property:{value:'foo'}, property2:{value:' foo', enumerable:true}})) is '{"property2":"foo"}'
13 PASS JSON.stringify(Object.create(null,{property:{value:'foo'}, property2:{value :'foo', enumerable:true}})) is '{"property2":"foo"}'
14 PASS Object.getPrototypeOf(Object.create(Array.prototype)) is Array.prototype
15 PASS Object.getPrototypeOf(Object.create(null)) is null
16 PASS Object.create(null, DescriptorWithValueGetter).foo is true
17 PASS Object.create(null, DescriptorWithEnumerableGetter).foo is true
18 PASS Object.create(null, DescriptorWithConfigurableGetter).foo is true
19 PASS Object.create(null, DescriptorWithWritableGetter).foo is true
20 PASS Object.create(null, DescriptorWithGetGetter).foo is true
21 PASS Object.create(null, DescriptorWithSetGetter).foo is true
22 PASS successfullyParsed is true
23
24 TEST COMPLETE
25
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/JSON-stringify-replacer-expected.txt ('k') | LayoutTests/fast/js/Object-defineProperties-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698