Home | History | Annotate | Download | only in webkit

Lines Matching full:create

29 PASS Object.create() threw exception TypeError: Object prototype may only be an Object or null.
30 PASS Object.create('a string') threw exception TypeError: Object prototype may only be an Object or null.
31 PASS Object.create({}, 'a string') threw exception TypeError: Property description must be an object: a.
32 PASS Object.create(null, 'a string') threw exception TypeError: Property description must be an object: a.
33 PASS JSON.stringify(Object.create(null,{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":"foo"}'
34 PASS JSON.stringify(Object.create({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":"foo"}'
35 PASS JSON.stringify(Object.create({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}})) is '{"property2":"foo"}'
36 PASS JSON.stringify(Object.create(null,{property:{value:'foo'}, property2:{value:'foo', enumerable:true}})) is '{"property2":"foo"}'
37 PASS Object.getPrototypeOf(Object.create(Array.prototype)) is Array.prototype
38 PASS Object.getPrototypeOf(Object.create(null)) is null
39 PASS Object.create(null, DescriptorWithValueGetter).foo is true
40 PASS Object.create(null, DescriptorWithEnumerableGetter).foo is true
41 PASS Object.create(null, DescriptorWithConfigurableGetter).foo is true
42 PASS Object.create(null, DescriptorWithWritableGetter).foo is true
43 PASS Object.create(null, DescriptorWithGetGetter).foo is true
44 PASS Object.create(null, DescriptorWithSetGetter).foo is true