1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 description: Invoked with a source whose own property descriptor cannot be retrieved
8 5. For each element nextSource of sources, in ascending index order,
10 c. Repeat for each element nextKey of keys in List order,
11 i. Let desc be from.[[GetOwnProperty]](nextKey).
12 ii. ReturnIfAbrupt(desc).
16 var source = new Proxy({
19 getOwnPropertyDescriptor: function() {
20 throw new Test262Error();
24 assert.throws(Test262Error, function() {
25 Object.assign({}, source);