Generate tests

This commit is contained in:
Rick Waldron 2020-08-20 12:30:51 -04:00
parent 0fde7c47fc
commit 629b6d0917
110 changed files with 0 additions and 316 deletions

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
const f = (p = eval("var arguments = 'param'"), q = () => arguments, arguments) => {}
assert.throws(SyntaxError, f);
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
const f = (p = eval("var arguments = 'param'"), arguments) => {}
assert.throws(SyntaxError, f);
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
const f = (arguments, p = eval("var arguments = 'param'"), q = () => arguments) => {}
assert.throws(SyntaxError, f);
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
const f = (arguments, p = eval("var arguments = 'param'")) => {}
assert.throws(SyntaxError, f);
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
function arguments() {}

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'")) => {
function arguments() {}

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
function arguments() {}

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'")) => {
function arguments() {}

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
let arguments = "local";

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'")) => {
let arguments = "local";

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
var arguments = "local";

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'")) => {
var arguments = "local";

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
assert.sameValue(arguments, "param");

View File

@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = eval("var arguments = 'param'")) => {
assert.sameValue(arguments, "param");

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments = 'param'"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(arguments, p = eval("var arguments = 'param'")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(arguments, p = eval("var arguments")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments = 'param'")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments = 'param'")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments = 'param'")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments = 'param'")) {}
f().then($DONE, error => {
assert(error instanceof SyntaxError);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function f(p = eval("var arguments")) {}
f().then($DONE, error => {
assert(error instanceof SyntaxError);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments = 'param'"), arguments) {
};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments"), arguments) {
};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(arguments, p = eval("var arguments = 'param'")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(arguments, p = eval("var arguments")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments = 'param'")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments = 'param'")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments = 'param'")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments = 'param'")) {}
f().then($DONE, error => {
assert(error instanceof SyntaxError);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = eval("var arguments")) {}
f().then($DONE, error => {
assert(error instanceof SyntaxError);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments = 'param'"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(arguments, p = eval("var arguments = 'param'")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(arguments, p = eval("var arguments")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments = 'param'")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments = 'param'")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments = 'param'")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments = 'param'")) {}
f().then($DONE, error => {
assert(error instanceof SyntaxError);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = eval("var arguments")) {}
f().then($DONE, error => {
assert(error instanceof SyntaxError);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments = 'param'"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(arguments, p = eval("var arguments = 'param'")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(arguments, p = eval("var arguments")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments = 'param'")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments = 'param'")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments = 'param'")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments = 'param'")) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = eval("var arguments")) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments = 'param'"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (arguments, p = eval("var arguments = 'param'")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (arguments, p = eval("var arguments")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments = 'param'")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments = 'param'")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments = 'param'")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments = 'param'")) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = eval("var arguments")) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments = 'param'"), arguments) {
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments"), arguments) {
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(arguments, p = eval("var arguments = 'param'")) {
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(arguments, p = eval("var arguments")) {
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments = 'param'")) {
function arguments() {}
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments")) {
function arguments() {}
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments = 'param'")) {
let arguments;
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments")) {
let arguments;
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments = 'param'")) {
var arguments;
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments")) {
var arguments;
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments = 'param'")) {}};
assert.throws(SyntaxError, o.f);
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = eval("var arguments")) {}};
assert.throws(SyntaxError, o.f);
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments = 'param'"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments"), arguments) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(arguments, p = eval("var arguments = 'param'")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(arguments, p = eval("var arguments")) {
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments = 'param'")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments")) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments = 'param'")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments")) {
let arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments = 'param'")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments")) {
var arguments;
}

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments = 'param'")) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, noStrict]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = eval("var arguments")) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async f(p = eval("var arguments = 'param'"), arguments) {
}};

View File

@ -8,10 +8,7 @@ features: [globalThis]
flags: [generated, async, noStrict]
---*/
const oldArguments = globalThis.arguments;
let o = { async f(p = eval("var arguments"), arguments) {
}};

Some files were not shown because too many files have changed in this diff Show More