blob: bab524ca7b6b77ea44ad93921354fd1d5d9f1302 [file] [log] [blame]
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 26.1.10
description: >
Return abrupt result.
info: |
26.1.10 Reflect.isExtensible (target)
...
2. Return target.[[IsExtensible]]().
features: [Proxy]
---*/
var o1 = {};
var p = new Proxy(o1, {
isExtensible: function() {
throw new Test262Error();
}
});
assert.throws(Test262Error, function() {
Reflect.isExtensible(p);
});