Remove whitespace per review

This commit is contained in:
Rick Waldron 2020-08-20 12:29:47 -04:00
parent ff08e2bd4f
commit 0fde7c47fc
55 changed files with 0 additions and 158 deletions

View File

@ -7,9 +7,7 @@ name: Declare |arguments| when a following parameter is named |arguments|.
esid: sec-evaldeclarationinstantiation
flags: [noStrict]
---*/
const oldArguments = globalThis.arguments;
const f = (p = /*{ parameter-code }*/, arguments) => {}
assert.throws(SyntaxError, f);
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");

View File

@ -7,9 +7,7 @@ name: Declare |arguments| when a preceding parameter is named |arguments|.
esid: sec-evaldeclarationinstantiation
flags: [noStrict]
---*/
const oldArguments = globalThis.arguments;
const f = (arguments, p = /*{ parameter-code }*/) => {}
assert.throws(SyntaxError, f);
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");

View File

@ -7,9 +7,7 @@ name: Declare |arguments| when the function body contains an |arguments| functio
esid: sec-evaldeclarationinstantiation
flags: [noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = /*{ parameter-code }*/) => {
function arguments() {}

View File

@ -7,9 +7,7 @@ name: Declare |arguments| when the function body contains an |arguments| functio
esid: sec-evaldeclarationinstantiation
flags: [noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = /*{ parameter-code }*/) => {
function arguments() {}

View File

@ -7,9 +7,7 @@ name: Declare |arguments| when the function body contains an |arguments| lexical
esid: sec-evaldeclarationinstantiation
flags: [noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = /*{ parameter-code }*/) => {
let arguments = "local";

View File

@ -7,9 +7,7 @@ name: Declare |arguments| when the function body contains an |arguments| var-bin
esid: sec-evaldeclarationinstantiation
flags: [noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = /*{ parameter-code }*/) => {
var arguments = "local";

View File

@ -7,9 +7,7 @@ name: Declare |arguments| when no pre-existing |arguments| bindings are present.
esid: sec-evaldeclarationinstantiation
flags: [noStrict]
---*/
const oldArguments = globalThis.arguments;
let count = 0;
const f = (p = /*{ parameter-code }*/) => {
assert.sameValue(arguments, "param");

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function f(p = /*{ parameter-code }*/, arguments) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function f(arguments, p = /*{ parameter-code }*/) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function f(p = /*{ parameter-code }*/) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function f(p = /*{ parameter-code }*/) {
let arguments;
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function f(p = /*{ parameter-code }*/) {
var arguments;
}

View File

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

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = /*{ parameter-code }*/, arguments) {
/*{ body }*/
};

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(arguments, p = /*{ parameter-code }*/) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = /*{ parameter-code }*/) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function f(p = /*{ parameter-code }*/) {
let arguments;
}

View File

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

View File

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

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = /*{ parameter-code }*/, arguments) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function(arguments, p = /*{ parameter-code }*/) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = /*{ parameter-code }*/) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function(p = /*{ parameter-code }*/) {
let arguments;
}

View File

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

View File

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

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = /*{ parameter-code }*/, arguments) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function * f(arguments, p = /*{ parameter-code }*/) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = /*{ parameter-code }*/) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = /*{ parameter-code }*/) {
let arguments;
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = /*{ parameter-code }*/) {
var arguments;
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
async function * f(p = /*{ parameter-code }*/) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = /*{ parameter-code }*/, arguments) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (arguments, p = /*{ parameter-code }*/) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = /*{ parameter-code }*/) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = /*{ parameter-code }*/) {
let arguments;
}

View File

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

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * (p = /*{ parameter-code }*/) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = /*{ parameter-code }*/, arguments) {
/*{ body }*/
}};

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(arguments, p = /*{ parameter-code }*/) {
/*{ body }*/
}};

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = /*{ parameter-code }*/) {
function arguments() {}
}};

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async *f(p = /*{ parameter-code }*/) {
let arguments;
}};

View File

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

View File

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

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = /*{ parameter-code }*/, arguments) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(arguments, p = /*{ parameter-code }*/) {
/*{ body }*/
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = /*{ parameter-code }*/) {
function arguments() {}
}

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = /*{ parameter-code }*/) {
let arguments;
}

View File

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

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let f = async function * f(p = /*{ parameter-code }*/) {}
assert.throws(SyntaxError, f);

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async f(p = /*{ parameter-code }*/, arguments) {
/*{ body }*/
}};

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async f(arguments, p = /*{ parameter-code }*/) {
/*{ body }*/
}};

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async f(p = /*{ parameter-code }*/) {
function arguments() {}
}};

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async f(p = /*{ parameter-code }*/) {
let arguments;
}};

View File

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

View File

@ -8,10 +8,7 @@ esid: sec-evaldeclarationinstantiation
flags: [async,noStrict]
features: [globalThis]
---*/
const oldArguments = globalThis.arguments;
let o = { async f(p = /*{ parameter-code }*/) {}};
o.f().then($DONE, error => {
assert(error instanceof SyntaxError);