25 Commits

Author SHA1 Message Date
Henrique Ferreiro
0651a7fad1 setPrototypeOf returns 'true' if called with the target's prototype (#768) 2016-10-05 13:25:35 -04:00
Leo Balter
e8e0fb9d34 Update tests for Proxy.[[SetPrototypeOf]] (#716)
* Update tests for Proxy.[[SetPrototypeOf]]

Expand coverage for proxies' [[SetPrototypeOf]] and update tests to
verify that target's [[IsExtensible]] is not called anymore if trap
returns a falsy value.

Ref tc39/ecma262#331
2016-07-19 14:51:02 -07:00
Leonardo Balter
bf782c8421 s/id/esid
Fixes #477
2016-02-22 09:47:42 -05:00
Leonardo Balter
65241f1e93 Add test to assert Proxy enumerate trap is not triggered anymore
Ref #495
2016-02-18 16:39:41 -05:00
Leonardo Balter
e223738369 Remove tests for Proxy enumerate
Ref #495
2016-02-18 15:57:14 -05:00
Mike Pennisi
071b5f03c6 Remove unused harness file
The harness file `Test262Error.js` has not contained executable code since it
was introduced in this project [1]. The definition of the `Test262Error`
function has consistently been located in the `sta.js` harness file which test
runners are expected to inject into the test environment.

Remove the file and all references to it.

[1] See commit c33bf0e0439e6f6bf084c1524d7df8d2b41c515d
2016-02-12 13:44:18 -05:00
André Bargull
ca61d9b876 Add missing tests for "length" and "name" properties of built-in functions
Note: Already uses the updated DataView function lengths from tc39/ecma262#266 (ES2016 Draft 2015-12-20)
2016-01-15 18:12:05 +01:00
André Bargull
38c6700cbb Test built-in function requirements of Promise and Proxy helper functions 2015-11-24 20:12:55 +01:00
Leonardo Balter
fbf3b89870 Small fixes on Proxy constructor tests 2015-07-31 17:03:02 -04:00
Leonardo Balter
2c4077c17a Proxy: construct 2015-06-15 22:37:59 -04:00
Leonardo Balter
450b830026 Proxy: apply 2015-06-15 22:37:59 -04:00
Leonardo Balter
3f214e715f Proxy: ownKeys 2015-06-15 22:37:58 -04:00
Leonardo Balter
28f9d8dbd2 Proxy: enumerate 2015-06-15 22:37:58 -04:00
Leonardo Balter
d9edb3593a Proxy: deleteProperty 2015-06-15 22:37:58 -04:00
Leonardo Balter
99ca320b01 Proxy: set 2015-06-15 22:37:57 -04:00
Leonardo Balter
21a1fbe68e Proxy: get 2015-06-15 22:37:57 -04:00
Leonardo Balter
54e82687d7 Proxy: has 2015-06-15 22:37:57 -04:00
Leonardo Balter
b2d4bcfd0e Proxy: defineProperty 2015-06-15 22:37:57 -04:00
Leonardo Balter
a2f0f2888d Proxy: getOwnPropertyDescriptor 2015-06-15 22:37:57 -04:00
Leonardo Balter
79a256cd5a Proxy: preventExtensions 2015-06-15 22:37:56 -04:00
Leonardo Balter
15a9a15815 Proxy: isExtensible 2015-06-15 22:37:56 -04:00
Leonardo Balter
54f3f23f72 Proxy: setPrototypeOf 2015-06-15 22:37:56 -04:00
Leonardo Balter
d012f5c680 Proxy: getPrototypeOf 2015-06-15 22:37:56 -04:00
Leonardo Balter
c3e71dcb0b Proxy.revocable 2015-06-15 22:37:56 -04:00
Leonardo Balter
9bbe7c6272 Proxy: Core 2015-06-15 22:37:55 -04:00