test262/test/language/expressions
Daniel Ehrenberg d5fc8b25af Test for change to cache templates by site, not contents (#972)
* Test for change to cache templates by site, not contents

These tests are against a specification change based on discussion in
https://github.com/tc39/ecma262/issues/840

The tests here passed on SpiderMonkey but failed on other
implementations, which implement the current specification.

* Add a test that caching is by source location, not function identity

* Update existing tests to reference the spec properly
2018-02-05 14:40:19 -05:00
..
addition remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
array Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
arrow-function Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
assignment Update remaining tests to use 'parse' instead of 'early' error phase 2018-01-25 13:59:37 -05:00
async-arrow-function Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
async-function Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
async-generator Fix: various lint fixes 2018-01-11 10:21:08 -05:00
await Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
bitwise-and remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
bitwise-not Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
bitwise-or remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
bitwise-xor remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
call Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
class Resolving conflicts in class-fields src templates 2018-01-05 15:31:17 -05:00
comma Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
compound-assignment Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
concatenation Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
conditional Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
delete Rename sec-delete-operator test, mark non-obvious syntax 2018-01-17 12:47:44 -05:00
division remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
does-not-equals Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
equals Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
exponentiation remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
function Refactor function literal tests for parsers 2018-02-03 23:25:41 -05:00
generators Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
greater-than Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
greater-than-or-equal Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
grouping Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
in Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
instanceof Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
left-shift remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
less-than Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
less-than-or-equal Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
logical-and Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
logical-not Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
logical-or Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
modulus remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
multiplication remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
new Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
new.target Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
object Refactor object initializer tests for parsers 2018-01-25 14:01:06 -05:00
postfix-decrement Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
postfix-increment Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
prefix-decrement Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
prefix-increment Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
property-accessors Update remaining tests to use 'parse' instead of 'early' error phase 2018-01-25 13:59:37 -05:00
relational Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
right-shift remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
strict-does-not-equals Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
strict-equals Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
subtraction remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
super Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
tagged-template Test for change to cache templates by site, not contents (#972) 2018-02-05 14:40:19 -05:00
template-literal Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
this Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
typeof Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
unary-minus Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
unary-plus Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
unsigned-right-shift remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
void Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
yield Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
tco-pos.js Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00