From 27d000624f7502a1bbe0fc4aab9709f6c71f1c02 Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Thu, 29 Mar 2018 01:03:46 -0400 Subject: [PATCH 1/3] Relocate tests for BindingIdentifier of strict fns The modified test material was introduced via commit 73c001c on 2017-04-26. According to this project's `licenses.md` file, it originated from the Acorn project. At that that date, the tests containing the relevant productions were labeled as negative syntax tests. However, the tests were introduced to this project as positive syntax tests. Although the new interpretation was technically correct in terms of the ECMA262 specificatoin at that time, TC39 reached consensus in March 2018 to classify these productions as syntax errors. Re-locate the relevant tests to align with the decision. Note that due to the discrepency described above, no change to the source project is necessary. --- {pass => early}/050a006ae573e260.js | 0 {pass => early}/2c0f785914da9d0b.js | 0 {pass => early}/574ea84fc61bdc31.js | 0 {pass => early}/6c4fe38464c16309.js | 0 {pass => early}/8643da76fe7e95c7.js | 0 {pass => early}/e0c3d30b6fe96812.js | 0 pass-explicit/050a006ae573e260.js | 3 --- pass-explicit/2c0f785914da9d0b.js | 3 --- pass-explicit/574ea84fc61bdc31.js | 3 --- pass-explicit/6c4fe38464c16309.js | 3 --- pass-explicit/8643da76fe7e95c7.js | 3 --- pass-explicit/e0c3d30b6fe96812.js | 3 --- 12 files changed, 18 deletions(-) rename {pass => early}/050a006ae573e260.js (100%) rename {pass => early}/2c0f785914da9d0b.js (100%) rename {pass => early}/574ea84fc61bdc31.js (100%) rename {pass => early}/6c4fe38464c16309.js (100%) rename {pass => early}/8643da76fe7e95c7.js (100%) rename {pass => early}/e0c3d30b6fe96812.js (100%) delete mode 100644 pass-explicit/050a006ae573e260.js delete mode 100644 pass-explicit/2c0f785914da9d0b.js delete mode 100644 pass-explicit/574ea84fc61bdc31.js delete mode 100644 pass-explicit/6c4fe38464c16309.js delete mode 100644 pass-explicit/8643da76fe7e95c7.js delete mode 100644 pass-explicit/e0c3d30b6fe96812.js diff --git a/pass/050a006ae573e260.js b/early/050a006ae573e260.js similarity index 100% rename from pass/050a006ae573e260.js rename to early/050a006ae573e260.js diff --git a/pass/2c0f785914da9d0b.js b/early/2c0f785914da9d0b.js similarity index 100% rename from pass/2c0f785914da9d0b.js rename to early/2c0f785914da9d0b.js diff --git a/pass/574ea84fc61bdc31.js b/early/574ea84fc61bdc31.js similarity index 100% rename from pass/574ea84fc61bdc31.js rename to early/574ea84fc61bdc31.js diff --git a/pass/6c4fe38464c16309.js b/early/6c4fe38464c16309.js similarity index 100% rename from pass/6c4fe38464c16309.js rename to early/6c4fe38464c16309.js diff --git a/pass/8643da76fe7e95c7.js b/early/8643da76fe7e95c7.js similarity index 100% rename from pass/8643da76fe7e95c7.js rename to early/8643da76fe7e95c7.js diff --git a/pass/e0c3d30b6fe96812.js b/early/e0c3d30b6fe96812.js similarity index 100% rename from pass/e0c3d30b6fe96812.js rename to early/e0c3d30b6fe96812.js diff --git a/pass-explicit/050a006ae573e260.js b/pass-explicit/050a006ae573e260.js deleted file mode 100644 index 34debed..0000000 --- a/pass-explicit/050a006ae573e260.js +++ /dev/null @@ -1,3 +0,0 @@ -function eval() { - "use strict"; -} diff --git a/pass-explicit/2c0f785914da9d0b.js b/pass-explicit/2c0f785914da9d0b.js deleted file mode 100644 index 5f96726..0000000 --- a/pass-explicit/2c0f785914da9d0b.js +++ /dev/null @@ -1,3 +0,0 @@ -((function package() { - "use strict"; -})()); diff --git a/pass-explicit/574ea84fc61bdc31.js b/pass-explicit/574ea84fc61bdc31.js deleted file mode 100644 index 4051f3a..0000000 --- a/pass-explicit/574ea84fc61bdc31.js +++ /dev/null @@ -1,3 +0,0 @@ -function arguments() { - "use strict"; -} diff --git a/pass-explicit/6c4fe38464c16309.js b/pass-explicit/6c4fe38464c16309.js deleted file mode 100644 index 538d046..0000000 --- a/pass-explicit/6c4fe38464c16309.js +++ /dev/null @@ -1,3 +0,0 @@ -((function arguments() { - "use strict"; -})()); diff --git a/pass-explicit/8643da76fe7e95c7.js b/pass-explicit/8643da76fe7e95c7.js deleted file mode 100644 index f243d85..0000000 --- a/pass-explicit/8643da76fe7e95c7.js +++ /dev/null @@ -1,3 +0,0 @@ -((function eval() { - "use strict"; -})()); diff --git a/pass-explicit/e0c3d30b6fe96812.js b/pass-explicit/e0c3d30b6fe96812.js deleted file mode 100644 index a1db046..0000000 --- a/pass-explicit/e0c3d30b6fe96812.js +++ /dev/null @@ -1,3 +0,0 @@ -function static() { - "use strict"; -} From 18c5f9a7505333f6f3702e9dfbc03607792093cd Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Thu, 29 Mar 2018 01:37:07 -0400 Subject: [PATCH 2/3] Increase coverage for function name restrictions These tests reflect the consensus reached by TC39 in March 2018. --- early/2dae582489877ee5.js | 1 + early/34aa7f65abf79bc9.js | 1 + early/4286a88aed2001ee.js | 1 + early/84ef3bbaa772075f.js | 1 + early/987442878ab414e7.js | 1 + early/f1de9fc3ec4637cc.js | 1 + 6 files changed, 6 insertions(+) create mode 100644 early/2dae582489877ee5.js create mode 100644 early/34aa7f65abf79bc9.js create mode 100644 early/4286a88aed2001ee.js create mode 100644 early/84ef3bbaa772075f.js create mode 100644 early/987442878ab414e7.js create mode 100644 early/f1de9fc3ec4637cc.js diff --git a/early/2dae582489877ee5.js b/early/2dae582489877ee5.js new file mode 100644 index 0000000..719fbcb --- /dev/null +++ b/early/2dae582489877ee5.js @@ -0,0 +1 @@ +class static {} diff --git a/early/34aa7f65abf79bc9.js b/early/34aa7f65abf79bc9.js new file mode 100644 index 0000000..5201ce6 --- /dev/null +++ b/early/34aa7f65abf79bc9.js @@ -0,0 +1 @@ +(class static {}) diff --git a/early/4286a88aed2001ee.js b/early/4286a88aed2001ee.js new file mode 100644 index 0000000..57fd98f --- /dev/null +++ b/early/4286a88aed2001ee.js @@ -0,0 +1 @@ +class eval {} diff --git a/early/84ef3bbaa772075f.js b/early/84ef3bbaa772075f.js new file mode 100644 index 0000000..29149eb --- /dev/null +++ b/early/84ef3bbaa772075f.js @@ -0,0 +1 @@ +(class eval {}) diff --git a/early/987442878ab414e7.js b/early/987442878ab414e7.js new file mode 100644 index 0000000..b49ace4 --- /dev/null +++ b/early/987442878ab414e7.js @@ -0,0 +1 @@ +(class arguments {}) diff --git a/early/f1de9fc3ec4637cc.js b/early/f1de9fc3ec4637cc.js new file mode 100644 index 0000000..4f98db0 --- /dev/null +++ b/early/f1de9fc3ec4637cc.js @@ -0,0 +1 @@ +class arguments {} From 18acb70927e6463c882d951c1180b5bd1f63804a Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Thu, 29 Mar 2018 17:25:40 -0700 Subject: [PATCH 3/3] Update licenses --- licenses.md | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/licenses.md b/licenses.md index 74f5af1..04e3e82 100644 --- a/licenses.md +++ b/licenses.md @@ -1,3 +1,28 @@ +## Direct contributions + +The following tests were directly contributed to this project, and are licensed under the Apache license, as follows: + +"Copyright 2018 by various contributors (see AUTHORS) + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License." + +* early/2dae582489877ee5.js +* early/34aa7f65abf79bc9.js +* early/4286a88aed2001ee.js +* early/84ef3bbaa772075f.js +* early/987442878ab414e7.js +* early/f1de9fc3ec4637cc.js + ## Acorn The following tests are from the [Acorn](https://github.com/ternjs/acorn/) project, and are licensed under the MIT license, as follows: @@ -24,6 +49,7 @@ THE SOFTWARE." * early/00b5935e92cb70cf.js * early/0448fa12dcf82187.js +* early/050a006ae573e260.js * early/0525ca9f66f3a790.js * early/08b527a4146318e1.js * early/0b83079b62219d30.js @@ -41,6 +67,7 @@ THE SOFTWARE." * early/277ec371718b3aa0.js * early/2851e5fd6b1faaa2.js * early/2a53f86603b801fc.js +* early/2c0f785914da9d0b.js * early/2d085d7876806d98.js * early/3190762e2e329b66.js * early/33aec60ac4f4c6b9.js @@ -55,11 +82,13 @@ THE SOFTWARE." * early/53a86ad112cc6c26.js * early/540fe548c19b2197.js * early/5490739ebf844cf8.js +* early/574ea84fc61bdc31.js * early/57ddf6956d63bc7e.js * early/57f4e4685e795dd4.js * early/6473f07239ed08ef.js * early/69c74d0785375c3c.js * early/6b278752ecdf8586.js +* early/6c4fe38464c16309.js * early/6dd17972eccf6550.js * early/6df27f99d312758c.js * early/7134fe6667b4b228.js @@ -73,6 +102,7 @@ THE SOFTWARE." * early/82c93f9933c9710a.js * early/845e933d626fb6d0.js * early/84a6ea824cac8e3b.js +* early/8643da76fe7e95c7.js * early/87946387ad39dde7.js * early/8d2870226258eaea.js * early/8d7627d8f8cc16c8.js @@ -107,6 +137,7 @@ THE SOFTWARE." * early/de9d9a6cd61407f5.js * early/df5916fa5c0c159e.js * early/e0bcfb63cbe11c82.js +* early/e0c3d30b6fe96812.js * early/e251aff584fd427f.js * early/e256ee8e7aff6957.js * early/e25b19185b3988dc.js @@ -327,7 +358,6 @@ THE SOFTWARE." * pass/02cf1a37af2403fe.js * pass/040001f3b0eb3bde.js * pass/0453974dd98e662d.js -* pass/050a006ae573e260.js * pass/051696d4c46ad99b.js * pass/053480e541f54faf.js * pass/05b9c5f007cbaa56.js @@ -413,7 +443,6 @@ THE SOFTWARE." * pass/2b83dea123ed2e2e.js * pass/2b9d4a632590814a.js * pass/2bdb271c1ff34f35.js -* pass/2c0f785914da9d0b.js * pass/2c16af589c5c8535.js * pass/2cdf798a24c241e3.js * pass/2d3273e0386e9cb8.js @@ -519,7 +548,6 @@ THE SOFTWARE." * pass/56debc26cbc2e077.js * pass/56ec311ffc030121.module.js * pass/5727b1080ddcd68e.js -* pass/574ea84fc61bdc31.js * pass/578ebe526f02ab34.js * pass/57971b49e239c0ff.js * pass/587400d1c019785a.js @@ -558,7 +586,6 @@ THE SOFTWARE." * pass/6b68aefbfbf0beb9.js * pass/6b86b273ff34fce1.js * pass/6c42024bfadac21f.js -* pass/6c4fe38464c16309.js * pass/6d1bf4c3db76b489.js * pass/6d707802519c7158.js * pass/6d981ff8b6a3faec.js @@ -622,7 +649,6 @@ THE SOFTWARE." * pass/84b2a5d834daee2f.js * pass/8543b43f3c48c975.module.js * pass/858d6a756ff641f3.js -* pass/8643da76fe7e95c7.js * pass/8664d1a4e7a73078.js * pass/86a25a2a0e393ed6.js * pass/86f68610fcefaeae.js @@ -842,7 +868,6 @@ THE SOFTWARE." * pass/dfa22e3eac3cd26e.js * pass/e0204155218e1d42.js * pass/e0b98eaceaaeaf9b.js -* pass/e0c3d30b6fe96812.js * pass/e1237566c1f89d8e.js * pass/e1387fe892984e2b.js * pass/e1d373aa5d926fde.module.js