test262/test/built-ins/Function
jugglinmike 71e573f7da Add tests for realm interactions (#688)
* 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
2016-10-24 10:43:17 -07:00
..
internals Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
length Replace runTestCase with assert helpers [test/built-ins/Function] 2015-08-06 18:24:43 +02:00
prototype Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
15.3.2.1-10-6gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
15.3.2.1-11-1-s.js Replace runTestCase with assert.throws [test/built-ins] 2015-08-11 17:44:37 +02:00
15.3.2.1-11-1.js Replace runTestCase with assert helpers [test/built-ins/Function] 2015-08-06 18:24:43 +02:00
15.3.2.1-11-2-s.js Replace runTestCase with assert helpers, rest [test/built-ins] 2015-08-13 17:57:23 +02:00
15.3.2.1-11-3-s.js Replace runTestCase with assert.throws [test/built-ins] 2015-08-11 17:44:37 +02:00
15.3.2.1-11-3.js Replace runTestCase with assert helpers [test/built-ins/Function] 2015-08-06 18:24:43 +02:00
15.3.2.1-11-4-s.js Replace runTestCase with assert helpers, rest [test/built-ins] 2015-08-13 17:57:23 +02:00
15.3.2.1-11-5-s.js Replace runTestCase with assert.throws [test/built-ins] 2015-08-11 17:44:37 +02:00
15.3.2.1-11-5.js Replace runTestCase with assert helpers [test/built-ins/Function] 2015-08-06 18:24:43 +02:00
15.3.2.1-11-6-s.js Replace runTestCase with assert helpers, rest [test/built-ins] 2015-08-13 17:57:23 +02:00
15.3.2.1-11-7-s.js Replace runTestCase with assert helpers, rest [test/built-ins] 2015-08-13 17:57:23 +02:00
15.3.2.1-11-8-s.js Replace runTestCase with assert helpers [test/built-ins/Function] 2015-08-06 18:24:43 +02:00
15.3.2.1-11-9-s.js Replace runTestCase with assert helpers [test/built-ins/Function] 2015-08-06 18:24:43 +02:00
15.3.5-1gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
15.3.5-2gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
15.3.5.4_2-1gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-2gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-3gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-4gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-5gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-6gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-7gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
15.3.5.4_2-8gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-9gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
15.3.5.4_2-10gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-11gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
15.3.5.4_2-12gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-13gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
15.3.5.4_2-14gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-15gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-16gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-17gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-18gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-19gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-20gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-21gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-22gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-23gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-24gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-25gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-26gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-27gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-28gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-29gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-30gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-31gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-32gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-33gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-34gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-35gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-36gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-37gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-38gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-39gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-40gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-41gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-42gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-43gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-44gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-45gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-46gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-47gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-48gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-49gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-50gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-51gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-52gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-53gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-54gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-55gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-56gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-57gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-58gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-59gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-60gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-61gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-62gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-63gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-64gs.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
15.3.5.4_2-65gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-66gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-67gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-68gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-69gs.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
15.3.5.4_2-70gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-71gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-72gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-73gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-74gs.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
15.3.5.4_2-75gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-76gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-77gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-78gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-79gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-80gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-81gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-82gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-83gs.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
15.3.5.4_2-84gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-85gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-86gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-87gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-88gs.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
15.3.5.4_2-89gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-90gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-91gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-92gs.js Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
15.3.5.4_2-93gs.js Reduce reliance on `fnGlobalObject.js` 2016-04-25 11:09:21 -07:00
15.3.5.4_2-94gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-95gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
15.3.5.4_2-96gs.js Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
15.3.5.4_2-97gs.js Merge pull request #386 from anba/issue-383/test-failures 2015-07-17 13:06:38 -07:00
S10.1.1_A1_T3.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.1_A1_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.2.1_A1_T1.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T2.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T3.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T4.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T5.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T6.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T7.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T8.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T9.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.2.1_A1_T10.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T11.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T12.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A1_T13.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A2_T1.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A2_T2.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A2_T3.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A2_T4.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A2_T5.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A2_T6.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T1.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T2.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T3.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T4.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T5.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T6.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T7.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T8.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T9.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T10.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T11.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T12.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T13.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T14.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2.1_A3_T15.js Remove `$FAIL` function 2015-06-09 19:44:25 -04:00
S15.3.2_A1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.3_A1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.3_A2_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.3_A2_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.3_A3.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.5_A1_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.5_A1_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.5_A2_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.5_A2_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3.5_A3_T1.js Fix strict mode errors in built-ins/Function 2015-04-29 17:39:10 +02:00
S15.3.5_A3_T2.js Fix strict mode errors in built-ins/Function 2015-04-29 17:39:10 +02:00
S15.3_A1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3_A2_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3_A2_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3_A3_T1.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3_A3_T2.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3_A3_T3.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3_A3_T4.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3_A3_T5.js Reorganize ./test 2014-12-07 15:33:09 -08:00
S15.3_A3_T6.js Reorganize ./test 2014-12-07 15:33:09 -08:00
StrictFunction_restricted-properties.js Relax test for forbidden extension 2016-06-14 15:26:12 -04:00
call-bind-this-realm-undef.js Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
call-bind-this-realm-value.js Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
instance-name.js Add tests for function `name` attribute 2015-07-21 20:05:34 -04:00
proto-from-ctor-realm.js Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00