mirror of
https://github.com/tc39/test262.git
synced 2025-07-28 16:34:27 +02:00
Generate tests
This commit is contained in:
parent
0fde7c47fc
commit
629b6d0917
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
const f = (p = eval("var arguments = 'param'"), q = () => arguments, arguments) => {}
|
const f = (p = eval("var arguments = 'param'"), q = () => arguments, arguments) => {}
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
const f = (p = eval("var arguments = 'param'"), arguments) => {}
|
const f = (p = eval("var arguments = 'param'"), arguments) => {}
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
const f = (arguments, p = eval("var arguments = 'param'"), q = () => arguments) => {}
|
const f = (arguments, p = eval("var arguments = 'param'"), q = () => arguments) => {}
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
const f = (arguments, p = eval("var arguments = 'param'")) => {}
|
const f = (arguments, p = eval("var arguments = 'param'")) => {}
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'")) => {
|
const f = (p = eval("var arguments = 'param'")) => {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'")) => {
|
const f = (p = eval("var arguments = 'param'")) => {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
||||||
let arguments = "local";
|
let arguments = "local";
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'")) => {
|
const f = (p = eval("var arguments = 'param'")) => {
|
||||||
let arguments = "local";
|
let arguments = "local";
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
||||||
var arguments = "local";
|
var arguments = "local";
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'")) => {
|
const f = (p = eval("var arguments = 'param'")) => {
|
||||||
var arguments = "local";
|
var arguments = "local";
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
const f = (p = eval("var arguments = 'param'"), q = () => arguments) => {
|
||||||
assert.sameValue(arguments, "param");
|
assert.sameValue(arguments, "param");
|
||||||
|
@ -7,9 +7,7 @@ esid: sec-evaldeclarationinstantiation
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
const f = (p = eval("var arguments = 'param'")) => {
|
const f = (p = eval("var arguments = 'param'")) => {
|
||||||
assert.sameValue(arguments, "param");
|
assert.sameValue(arguments, "param");
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments = 'param'"), arguments) {
|
async function f(p = eval("var arguments = 'param'"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments"), arguments) {
|
async function f(p = eval("var arguments"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(arguments, p = eval("var arguments = 'param'")) {
|
async function f(arguments, p = eval("var arguments = 'param'")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(arguments, p = eval("var arguments")) {
|
async function f(arguments, p = eval("var arguments")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments = 'param'")) {
|
async function f(p = eval("var arguments = 'param'")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments")) {
|
async function f(p = eval("var arguments")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments = 'param'")) {
|
async function f(p = eval("var arguments = 'param'")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments")) {
|
async function f(p = eval("var arguments")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments = 'param'")) {
|
async function f(p = eval("var arguments = 'param'")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments")) {
|
async function f(p = eval("var arguments")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments = 'param'")) {}
|
async function f(p = eval("var arguments = 'param'")) {}
|
||||||
f().then($DONE, error => {
|
f().then($DONE, error => {
|
||||||
assert(error instanceof SyntaxError);
|
assert(error instanceof SyntaxError);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function f(p = eval("var arguments")) {}
|
async function f(p = eval("var arguments")) {}
|
||||||
f().then($DONE, error => {
|
f().then($DONE, error => {
|
||||||
assert(error instanceof SyntaxError);
|
assert(error instanceof SyntaxError);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments = 'param'"), arguments) {
|
let f = async function f(p = eval("var arguments = 'param'"), arguments) {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments"), arguments) {
|
let f = async function f(p = eval("var arguments"), arguments) {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(arguments, p = eval("var arguments = 'param'")) {
|
let f = async function f(arguments, p = eval("var arguments = 'param'")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(arguments, p = eval("var arguments")) {
|
let f = async function f(arguments, p = eval("var arguments")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments = 'param'")) {
|
let f = async function f(p = eval("var arguments = 'param'")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments")) {
|
let f = async function f(p = eval("var arguments")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments = 'param'")) {
|
let f = async function f(p = eval("var arguments = 'param'")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments")) {
|
let f = async function f(p = eval("var arguments")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments = 'param'")) {
|
let f = async function f(p = eval("var arguments = 'param'")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments")) {
|
let f = async function f(p = eval("var arguments")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments = 'param'")) {}
|
let f = async function f(p = eval("var arguments = 'param'")) {}
|
||||||
f().then($DONE, error => {
|
f().then($DONE, error => {
|
||||||
assert(error instanceof SyntaxError);
|
assert(error instanceof SyntaxError);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function f(p = eval("var arguments")) {}
|
let f = async function f(p = eval("var arguments")) {}
|
||||||
f().then($DONE, error => {
|
f().then($DONE, error => {
|
||||||
assert(error instanceof SyntaxError);
|
assert(error instanceof SyntaxError);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments = 'param'"), arguments) {
|
let f = async function(p = eval("var arguments = 'param'"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments"), arguments) {
|
let f = async function(p = eval("var arguments"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(arguments, p = eval("var arguments = 'param'")) {
|
let f = async function(arguments, p = eval("var arguments = 'param'")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(arguments, p = eval("var arguments")) {
|
let f = async function(arguments, p = eval("var arguments")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments = 'param'")) {
|
let f = async function(p = eval("var arguments = 'param'")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments")) {
|
let f = async function(p = eval("var arguments")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments = 'param'")) {
|
let f = async function(p = eval("var arguments = 'param'")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments")) {
|
let f = async function(p = eval("var arguments")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments = 'param'")) {
|
let f = async function(p = eval("var arguments = 'param'")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments")) {
|
let f = async function(p = eval("var arguments")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments = 'param'")) {}
|
let f = async function(p = eval("var arguments = 'param'")) {}
|
||||||
f().then($DONE, error => {
|
f().then($DONE, error => {
|
||||||
assert(error instanceof SyntaxError);
|
assert(error instanceof SyntaxError);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function(p = eval("var arguments")) {}
|
let f = async function(p = eval("var arguments")) {}
|
||||||
f().then($DONE, error => {
|
f().then($DONE, error => {
|
||||||
assert(error instanceof SyntaxError);
|
assert(error instanceof SyntaxError);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments = 'param'"), arguments) {
|
async function * f(p = eval("var arguments = 'param'"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments"), arguments) {
|
async function * f(p = eval("var arguments"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(arguments, p = eval("var arguments = 'param'")) {
|
async function * f(arguments, p = eval("var arguments = 'param'")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(arguments, p = eval("var arguments")) {
|
async function * f(arguments, p = eval("var arguments")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments = 'param'")) {
|
async function * f(p = eval("var arguments = 'param'")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments")) {
|
async function * f(p = eval("var arguments")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments = 'param'")) {
|
async function * f(p = eval("var arguments = 'param'")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments")) {
|
async function * f(p = eval("var arguments")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments = 'param'")) {
|
async function * f(p = eval("var arguments = 'param'")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments")) {
|
async function * f(p = eval("var arguments")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments = 'param'")) {}
|
async function * f(p = eval("var arguments = 'param'")) {}
|
||||||
|
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
async function * f(p = eval("var arguments")) {}
|
async function * f(p = eval("var arguments")) {}
|
||||||
|
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments = 'param'"), arguments) {
|
let f = async function * (p = eval("var arguments = 'param'"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments"), arguments) {
|
let f = async function * (p = eval("var arguments"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (arguments, p = eval("var arguments = 'param'")) {
|
let f = async function * (arguments, p = eval("var arguments = 'param'")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (arguments, p = eval("var arguments")) {
|
let f = async function * (arguments, p = eval("var arguments")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments = 'param'")) {
|
let f = async function * (p = eval("var arguments = 'param'")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments")) {
|
let f = async function * (p = eval("var arguments")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments = 'param'")) {
|
let f = async function * (p = eval("var arguments = 'param'")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments")) {
|
let f = async function * (p = eval("var arguments")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments = 'param'")) {
|
let f = async function * (p = eval("var arguments = 'param'")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments")) {
|
let f = async function * (p = eval("var arguments")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments = 'param'")) {}
|
let f = async function * (p = eval("var arguments = 'param'")) {}
|
||||||
|
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * (p = eval("var arguments")) {}
|
let f = async function * (p = eval("var arguments")) {}
|
||||||
|
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments = 'param'"), arguments) {
|
let o = { async *f(p = eval("var arguments = 'param'"), arguments) {
|
||||||
|
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments"), arguments) {
|
let o = { async *f(p = eval("var arguments"), arguments) {
|
||||||
|
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(arguments, p = eval("var arguments = 'param'")) {
|
let o = { async *f(arguments, p = eval("var arguments = 'param'")) {
|
||||||
|
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(arguments, p = eval("var arguments")) {
|
let o = { async *f(arguments, p = eval("var arguments")) {
|
||||||
|
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments = 'param'")) {
|
let o = { async *f(p = eval("var arguments = 'param'")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments")) {
|
let o = { async *f(p = eval("var arguments")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments = 'param'")) {
|
let o = { async *f(p = eval("var arguments = 'param'")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments")) {
|
let o = { async *f(p = eval("var arguments")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments = 'param'")) {
|
let o = { async *f(p = eval("var arguments = 'param'")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments")) {
|
let o = { async *f(p = eval("var arguments")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments = 'param'")) {}};
|
let o = { async *f(p = eval("var arguments = 'param'")) {}};
|
||||||
assert.throws(SyntaxError, o.f);
|
assert.throws(SyntaxError, o.f);
|
||||||
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async *f(p = eval("var arguments")) {}};
|
let o = { async *f(p = eval("var arguments")) {}};
|
||||||
assert.throws(SyntaxError, o.f);
|
assert.throws(SyntaxError, o.f);
|
||||||
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
assert.sameValue(globalThis.arguments, oldArguments, "globalThis.arguments unchanged");
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments = 'param'"), arguments) {
|
let f = async function * f(p = eval("var arguments = 'param'"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments"), arguments) {
|
let f = async function * f(p = eval("var arguments"), arguments) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(arguments, p = eval("var arguments = 'param'")) {
|
let f = async function * f(arguments, p = eval("var arguments = 'param'")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(arguments, p = eval("var arguments")) {
|
let f = async function * f(arguments, p = eval("var arguments")) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments = 'param'")) {
|
let f = async function * f(p = eval("var arguments = 'param'")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments")) {
|
let f = async function * f(p = eval("var arguments")) {
|
||||||
function arguments() {}
|
function arguments() {}
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments = 'param'")) {
|
let f = async function * f(p = eval("var arguments = 'param'")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments")) {
|
let f = async function * f(p = eval("var arguments")) {
|
||||||
let arguments;
|
let arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments = 'param'")) {
|
let f = async function * f(p = eval("var arguments = 'param'")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments")) {
|
let f = async function * f(p = eval("var arguments")) {
|
||||||
var arguments;
|
var arguments;
|
||||||
}
|
}
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments = 'param'")) {}
|
let f = async function * f(p = eval("var arguments = 'param'")) {}
|
||||||
|
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let f = async function * f(p = eval("var arguments")) {}
|
let f = async function * f(p = eval("var arguments")) {}
|
||||||
|
|
||||||
assert.throws(SyntaxError, f);
|
assert.throws(SyntaxError, f);
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async f(p = eval("var arguments = 'param'"), arguments) {
|
let o = { async f(p = eval("var arguments = 'param'"), arguments) {
|
||||||
|
|
||||||
}};
|
}};
|
||||||
|
@ -8,10 +8,7 @@ features: [globalThis]
|
|||||||
flags: [generated, async, noStrict]
|
flags: [generated, async, noStrict]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
const oldArguments = globalThis.arguments;
|
const oldArguments = globalThis.arguments;
|
||||||
|
|
||||||
|
|
||||||
let o = { async f(p = eval("var arguments"), 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
Loading…
x
Reference in New Issue
Block a user