summaryrefslogtreecommitdiff
path: root/test/built-ins/Proxy
Commit message (Collapse)AuthorAgeFilesLines
* built-ins/Proxy/*: make all indentation consistent (depth & character) (#1434)Rick Waldron2018-02-15184-763/+849
|
* Revert "js-beautify: make all indentation consistent (depth & character) ↵André Bargull2018-02-09184-849/+763
| | | | | (#1409)" (#1412) This reverts commit a01de4a722d088055a7d84d8c691ddd7109edb34.
* js-beautify: make all indentation consistent (depth & character) (#1409)Rick Waldron2018-02-09184-763/+849
|
* Frontmatter: fixup "info: >" to "info: |"Rick Waldron2018-01-05119-119/+119
|
* Add cross-realm featureLeo Balter2017-09-2226-2/+26
|
* Add missing Symbol features flagsLeo Balter2017-09-071-0/+1
|
* Fix cross realm tests in Proxy.constructLeo Balter2017-09-061-2/+1
|
* Address feedback reviewLeo Balter2017-09-068-30/+145
|
* improve & join undefined apply testsAleksey Shvayka2017-09-069-67/+127
|
* Proxy ownKeys should throw a TypeError if returned keys are not String or ↵Rick Waldron2017-08-116-0/+204
| | | | Symbol. Fixes gh-1169 (#1173)
* Proxy, [[OwnPropertyKeys]]: If trapResult contains any duplicate entries, ↵Rick Waldron2017-08-042-0/+45
| | | | | | throw a TypeError Ref: https://github.com/tc39/ecma262/pull/833
* Updates to Proxy trap: ownKeysRick Waldron2017-08-0416-40/+44
|
* Remove execute bit from files (#976)André Bargull2017-04-137-0/+0
|
* Rename $ => $262. Fixes gh-802 (#823)Rick Waldron2017-03-0126-26/+26
| | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Replaced tabs with spaces in YAML.Dmitry Panov2016-11-192-2/+2
|
* Ensure Proxy [[Get]] and [[Set]] pass correct receiver (#792)Aleksey Shvayka2016-11-172-0/+53
| | | | | | | | | | | | | | | | | | * Ensure Proxy [[Get]] passes correct receiver * add [[Get]] test for proxy in prototype * diversify how traps are missing * ensure [[Set]] passes correct receiver * rename to match other tests * remove extra tests * add esid * add description
* Add tests for realm interactions (#688)jugglinmike2016-10-2426-0/+743
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add tests for prototype realm inference * Add tests for miscellaneous realm concerns * Add tests for realm of spec-created Errors In some cases, Error objects produced by the specification are observable from ECMAScript code. Among these cases, some are further differentiated in that they occur outside of any built-in function and may be triggered through syntactic production directly. The current realm record is commonly interpreted incorrectly under these circumstances. Add tests asserting that the expected realm record is used when constructing such Error objects. * Add tests for realm use in ArraySpeciesCreate * Add tests for function realm retrieval * Add tests for cross-realm behaviors of Symbols * Add tests for GetValue and PutValue * Add tests for realm of spec-created Arrays In some cases, Arrays produced by CreateArrayFromList are observable from ECMAScript code. Among these cases, two occur outside of any built-in function and may be triggered through syntactic production directly. The current realm record is commonly interpreted incorrectly under these circumstances. Add tests asserting that the expected realm record is used when constructing arrays. * Add test for spec-created object * fixup! Add tests for realm of spec-created Errors * fixup! Add tests for realm of spec-created Errors * fixup! Add tests for prototype realm inference * fixup! Add tests for miscellaneous realm concerns
* setPrototypeOf returns 'true' if called with the target's prototype (#768)Henrique Ferreiro2016-10-051-1/+1
|
* Update tests for Proxy.[[SetPrototypeOf]] (#716)Leo Balter2016-07-1914-79/+371
| | | | | | | | | | * 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
* s/id/esidLeonardo Balter2016-02-221-1/+1
| | | | Fixes #477
* Add test to assert Proxy enumerate trap is not triggered anymoreLeonardo Balter2016-02-181-0/+47
| | | | Ref #495
* Remove tests for Proxy enumerateLeonardo Balter2016-02-1812-295/+0
| | | | Ref #495
* Remove unused harness fileMike Pennisi2016-02-1215-15/+0
| | | | | | | | | | | 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
* Add missing tests for "length" and "name" properties of built-in functionsAndré Bargull2016-01-152-0/+55
| | | | Note: Already uses the updated DataView function lengths from tc39/ecma262#266 (ES2016 Draft 2015-12-20)
* Test built-in function requirements of Promise and Proxy helper functionsAndré Bargull2015-11-245-0/+90
|
* Small fixes on Proxy constructor testsLeonardo Balter2015-07-312-5/+2
|
* Proxy: constructLeonardo Balter2015-06-1512-0/+279
|
* Proxy: applyLeonardo Balter2015-06-157-0/+149
|
* Proxy: ownKeysLeonardo Balter2015-06-1514-0/+407
|
* Proxy: enumerateLeonardo Balter2015-06-1512-0/+296
|
* Proxy: deletePropertyLeonardo Balter2015-06-1512-0/+289
|
* Proxy: setLeonardo Balter2015-06-1517-0/+433
|
* Proxy: getLeonardo Balter2015-06-1514-0/+386
|
* Proxy: hasLeonardo Balter2015-06-1520-0/+559
|
* Proxy: definePropertyLeonardo Balter2015-06-1512-0/+400
|
* Proxy: getOwnPropertyDescriptorLeonardo Balter2015-06-1515-0/+475
|
* Proxy: preventExtensionsLeonardo Balter2015-06-158-0/+180
|
* Proxy: isExtensibleLeonardo Balter2015-06-158-0/+193
|
* Proxy: setPrototypeOfLeonardo Balter2015-06-159-0/+225
|
* Proxy: getPrototypeOfLeonardo Balter2015-06-1513-0/+289
|
* Proxy.revocableLeonardo Balter2015-06-154-0/+73
|
* Proxy: CoreLeonardo Balter2015-06-1524-0/+397