test262/test/language/expressions
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
..
addition Add tests for additional uses of @@toPrimitive (#666) 2016-06-10 15:08:59 -04:00
array Generate tests 2016-06-11 17:44:14 -04:00
arrow-function Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
assignment Re-generate tests 2016-10-19 15:24:20 -04:00
async-arrow-function Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
async-function Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
await Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
bitwise-and Reorganize ./test 2014-12-07 15:33:09 -08:00
bitwise-not Reorganize ./test 2014-12-07 15:33:09 -08:00
bitwise-or Reorganize ./test 2014-12-07 15:33:09 -08:00
bitwise-xor Reorganize ./test 2014-12-07 15:33:09 -08:00
call Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
class Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
comma s/id/esid 2016-02-22 09:47:42 -05:00
compound-assignment Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
concatenation Reorganize ./test 2014-12-07 15:33:09 -08:00
conditional Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
delete Remove "NotEarlyError" object 2016-10-19 15:24:22 -04:00
division Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
does-not-equals Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
equals Add tests for well-known Symbol: @@toPrimitive 2015-08-16 18:37:22 -04:00
exponentiation Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
function Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
generators Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
greater-than Replace runTestCase with assert helpers [test/language/expressions/] 2015-08-06 18:32:15 +02:00
greater-than-or-equal Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
grouping Add tests for assignment target validation of new ES2015 forms (#693) 2016-07-05 15:20:56 -07:00
in Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
instanceof Add tests for instanceof operator when prototype property is primitive or getter 2015-12-22 19:05:53 +01:00
left-shift Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
less-than Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
less-than-or-equal Replace runTestCase with assert helpers [test/language/expressions/] 2015-08-06 18:32:15 +02:00
logical-and s/id/esid 2016-02-22 09:47:42 -05:00
logical-not - Remove inline license 2015-07-17 19:55:00 +02:00
logical-or s/id/esid 2016-02-22 09:47:42 -05:00
modulus Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
multiplication Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
new Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
new.target Improve coverage for section 12, "Expression" (#695) 2016-07-01 11:23:43 -07:00
object Remove "NotEarlyError" object 2016-10-19 15:24:22 -04:00
postfix-decrement Reformat negative ReferenceError tests 2016-10-19 15:24:18 -04:00
postfix-increment Remove "NotEarlyError" object 2016-10-19 15:24:22 -04:00
prefix-decrement Remove "NotEarlyError" object 2016-10-19 15:24:22 -04:00
prefix-increment Reformat negative ReferenceError tests 2016-10-19 15:24:18 -04:00
property-accessors Revert primitive wrapper prototypes and String#split to ES5 2015-11-06 18:50:44 +01:00
relational Reorganize ./test 2014-12-07 15:33:09 -08:00
right-shift Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
strict-does-not-equals Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
strict-equals Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
subtraction Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
super Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
tagged-template Add tests for realm interactions (#688) 2016-10-24 10:43:17 -07:00
template-literal Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
this Remove "NotEarlyError" object 2016-10-19 15:24:22 -04:00
typeof Use global values on typeof tests for Number values (#713) 2016-07-06 14:41:22 -07:00
unary-minus Replace runTestCase with assert helpers [test/built-ins] 2015-08-13 17:50:58 +02:00
unary-plus Replace runTestCase with assert helpers [test/built-ins] 2015-08-13 17:50:58 +02:00
unsigned-right-shift Fix strict mode errors in language/expressions 2014-12-11 19:07:04 +01:00
void Prefer explicit error checking where possible 2015-07-10 14:12:57 -04:00
yield Re-format tests for SyntaxErrors 2016-10-19 15:24:21 -04:00
tco-pos.js s/id/esid 2016-02-22 09:47:42 -05:00