Skip to content

The toString() of 'class' and 'function' return SourceText #823

The toString() of 'class' and 'function' return SourceText

The toString() of 'class' and 'function' return SourceText #823

Re-run triggered November 19, 2023 06:35
Status Failure
Total duration 4m 4s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Expressions_class_elements("language/expressions/class/elements/class-name-static-initializer-default-export.js"
language/expressions/class/elements/class-name-static-initializer-default-export.js Jint.Runtime.JavaScriptException: Expected SameValue(«», «default») to be true ---> Error: Expected SameValue(«», «default») to be true at assert.sameValue (actual, expected, message) harness/assert.js:49:9 at ./class-name-static-initializer-default-export.js:28:1 --- End of inner exception stack trace --- at Jint.Runtime.ExceptionHelper.ThrowJavaScriptException(Engine engine, JsValue value, Location& location) in /home/runner/work/jint/jint/Jint/Runtime/ExceptionHelper.cs:line 149 at Jint.Engine.EvaluateModule(String specifier, ModuleRecord module) in /home/runner/work/jint/jint/Jint/Engine.Modules.cs:line 177 at Jint.Engine.<>c__DisplayClass151_0.<ImportModule>b__0() in /home/runner/work/jint/jint/Jint/Engine.Modules.cs:line 129 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.ImportModule(String specifier, String referencingModuleLocation) in /home/runner/work/jint/jint/Jint/Engine.Modules.cs:line 129 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2019 André Bargull. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-runtime-semantics-classdefinitionevaluation 07: description: > 08: The class-name is present when executing static field initializers of default-exported classes. 09: info: | 10: 14.6.13 Runtime Semantics: ClassDefinitionEvaluation 11: 12: [...] 13: 17. Perform MakeClassConstructor(F). 14: 18. If className is not undefined, then 15: a. Perform SetFunctionName(F, className). 16: [...] 17: 18: flags: [module] 19: features: [class-static-fields-public] 20: ---*/ 21: 22: var className; 23: 24: export default class { 25: static f = (className = this.name); 26: } 27: 28: assert.sameValue(className, "default"); 29:
Function_prototype_toString("built-ins/Function/prototype/toString/arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "(a, b) => {\n ;\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) ---> Error: Conforms to NativeFunction Syntax: "(a, b) => {\n ;\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/arrow-function.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright (C) 2016 Michael Ficarra. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-arrow-function-definitions-runtime-semantics-evaluation 07: description: Function.prototype.toString on an arrow function 08: includes: [nativeFunctionMatcher.js] 09: ---*/ 10: 11: let f = /* before */( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }/* after */; 12: let g = /* before */( /* a */ ) /* b */ => /* c */ 0/* after */; 13: let h = /* before */a /* a */ => /* b */ 0/* after */; 14: 15: assertToStringOrNativeFunction(f, "( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }"); 16: assertToStringOrNativeFunction(g, "( /* a */ ) /* b */ => /* c */ 0"); 17: assertToStringOrNativeFunction(h, "a /* a */ => /* b */ 0"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "(a, b) => {\n ;\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) ---> Error: Conforms to NativeFunction Syntax: "(a, b) => {\n ;\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/arrow-function.js:14:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright (C) 2016 Michael Ficarra. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: esid: sec-arrow-function-definitions-runtime-semantics-evaluation 06: description: Function.prototype.toString on an arrow function 07: includes: [nativeFunctionMatcher.js] 08: ---*/ 09: 10: let f = /* before */( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }/* after */; 11: let g = /* before */( /* a */ ) /* b */ => /* c */ 0/* after */; 12: let h = /* before */a /* a */ => /* b */ 0/* after */; 13: 14: assertToStringOrNativeFunction(f, "( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }"); 15: assertToStringOrNativeFunction(g, "( /* a */ ) /* b */ => /* c */ 0"); 16: assertToStringOrNativeFunction(h, "a /* a */ => /* b */ 0"); 17:
Function_prototype_toString("built-ins/Function/prototype/toString/async-arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async (a, b) => {\n ;\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) ---> Error: Conforms to NativeFunction Syntax: "async (a, b) => {\n ;\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-arrow-function.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2017 André Bargull. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: esid: sec-async-arrow-function-definitions-runtime-semantics-evaluation 06: description: Function.prototype.toString on an async arrow function 07: features: [async-functions] 08: includes: [nativeFunctionMatcher.js] 09: ---*/ 10: 11: let f = /* before */async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }/* after */; 12: let g = /* before */async /* a */ ( /* b */ ) /* c */ => /* d */ 0/* after */; 13: let h = /* before */async /* a */ a /* b */ => /* c */ 0/* after */; 14: 15: assertToStringOrNativeFunction(f, "async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }"); 16: assertToStringOrNativeFunction(g, "async /* a */ ( /* b */ ) /* c */ => /* d */ 0"); 17: assertToStringOrNativeFunction(h, "async /* a */ a /* b */ => /* c */ 0"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/async-arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async (a, b) => {\n ;\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) ---> Error: Conforms to NativeFunction Syntax: "async (a, b) => {\n ;\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-arrow-function.js:16:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2017 André Bargull. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-async-arrow-function-definitions-runtime-semantics-evaluation 07: description: Function.prototype.toString on an async arrow function 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: let f = /* before */async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }/* after */; 13: let g = /* before */async /* a */ ( /* b */ ) /* c */ => /* d */ 0/* after */; 14: let h = /* before */async /* a */ a /* b */ => /* c */ 0/* after */; 15: 16: assertToStringOrNativeFunction(f, "async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }"); 17: assertToStringOrNativeFunction(g, "async /* a */ ( /* b */ ) /* c */ => /* d */ 0"); 18: assertToStringOrNativeFunction(h, "async /* a */ a /* b */ => /* c */ 0"); 19:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-declaration.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-declaration.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function f(x, y) {\n ;\n ;\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function f(x, y) {\n ;\n ;\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-declaration.js:14:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2016 Microsoft, Inc. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: author: Brian Terlson <[email protected]> 06: esid: sec-function.prototype.tostring 07: description: Function.prototype.toString on an async function declaration 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: /* before */async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */ 13: 14: assertToStringOrNativeFunction(f, "async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 15:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-declaration.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-declaration.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function f(x, y) {\n ;\n ;\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function f(x, y) {\n ;\n ;\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-declaration.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2016 Microsoft, Inc. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: author: Brian Terlson <[email protected]> 07: esid: sec-function.prototype.tostring 08: description: Function.prototype.toString on an async function declaration 09: features: [async-functions] 10: includes: [nativeFunctionMatcher.js] 11: ---*/ 12: 13: /* before */async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */ 14: 15: assertToStringOrNativeFunction(f, "async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 16:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-expression.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-expression.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function F(x, y) {\n ;\n ;\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function F(x, y) {\n ;\n ;\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-expression.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2016 Microsoft, Inc. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: author: Brian Terlson <[email protected]> 06: esid: sec-function.prototype.tostring 07: description: Function.prototype.toString on an async function expression 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: let f = /* before */async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */; 13: let g = /* before */async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }/* after */; 14: 15: assertToStringOrNativeFunction(f, "async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 16: assertToStringOrNativeFunction(g, "async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }"); 17:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-expression.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-expression.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function F(x, y) {\n ;\n ;\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function F(x, y) {\n ;\n ;\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-expression.js:16:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2016 Microsoft, Inc. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: author: Brian Terlson <[email protected]> 07: esid: sec-function.prototype.tostring 08: description: Function.prototype.toString on an async function expression 09: features: [async-functions] 10: includes: [nativeFunctionMatcher.js] 11: ---*/ 12: 13: let f = /* before */async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */; 14: let g = /* before */async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }/* after */; 15: 16: assertToStringOrNativeFunction(f, "async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 17: assertToStringOrNativeFunction(g, "async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/async-method-class-expression-static.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-method-class-expression-static.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function() { }" (async f /* a */ ( /* b */ ) /* c */ { /* d */ }) ---> Error: Conforms to NativeFunction Syntax: "async function() { }" (async f /* a */ ( /* b */ ) /* c */ { /* d */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-method-class-expression-static.js:16:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /home/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /home/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /home/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /home/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /home/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2017 André Bargull. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: esid: sec-function.prototype.tostring 06: description: Function.prototype.toString on an async method 07: features: [async-functions] 08: includes: [nativeFunctionMatcher.js] 09: ---*/ 10: 11: let x = "h"; 12: let f = class { static /* before */async f /* a */ ( /* b */ ) /* c */ { /* d */ }/* after */ }.f; 13: let g = class { static /* before */async /* a */ [ /* b */ "g" /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }/* after */ }.g; 14: let h = class { static /* before */async /* a */ [ /* b */ x /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }/* after */ }.h; 15: 16: assertToStringOrNativeFunction(f, "async f /* a */ ( /* b */ ) /* c */ { /* d */ }"); 17: assertToStringOrNativeFunction(g, "async /* a */ [ /* b */ \"g\" /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }"); 18: assertToStringOrNativeFunction(h, "async /* a */ [ /* b */ x /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }"); 19:
Expressions_class_elements("language/expressions/class/elements/class-name-static-initializer-default-export.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.language.generated.cs#L11495
language/expressions/class/elements/class-name-static-initializer-default-export.js Jint.Runtime.JavaScriptException: Expected SameValue(«», «default») to be true ---> Error: Expected SameValue(«», «default») to be true at assert.sameValue (actual, expected, message) harness/assert.js:49:9 at ./class-name-static-initializer-default-export.js:28:1 --- End of inner exception stack trace --- at Jint.Runtime.ExceptionHelper.ThrowJavaScriptException(Engine engine, JsValue value, Location& location) in /Users/runner/work/jint/jint/Jint/Runtime/ExceptionHelper.cs:line 149 at Jint.Engine.EvaluateModule(String specifier, ModuleRecord module) in /Users/runner/work/jint/jint/Jint/Engine.Modules.cs:line 177 at Jint.Engine.<>c__DisplayClass151_0.<ImportModule>b__0() in /Users/runner/work/jint/jint/Jint/Engine.Modules.cs:line 129 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 789 at Jint.Engine.ImportModule(String specifier, String referencingModuleLocation) in /Users/runner/work/jint/jint/Jint/Engine.Modules.cs:line 129 at Jint.Engine.ImportModule(String specifier) in /Users/runner/work/jint/jint/Jint/Engine.Modules.cs:line 106 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 93 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 78 01: "use strict"; 02: // Copyright 2019 André Bargull. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-runtime-semantics-classdefinitionevaluation 07: description: > 08: The class-name is present when executing static field initializers of default-exported classes. 09: info: | 10: 14.6.13 Runtime Semantics: ClassDefinitionEvaluation 11: 12: [...] 13: 17. Perform MakeClassConstructor(F). 14: 18. If className is not undefined, then 15: a. Perform SetFunctionName(F, className). 16: [...] 17: 18: flags: [module] 19: features: [class-static-fields-public] 20: ---*/ 21: 22: var className; 23: 24: export default class { 25: static f = (className = this.name); 26: } 27: 28: assert.sameValue(className, "default"); 29:
Function_prototype_toString("built-ins/Function/prototype/toString/async-arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async (a, b) => {\n ;\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) ---> Error: Conforms to NativeFunction Syntax: "async (a, b) => {\n ;\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-arrow-function.js:16:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2017 André Bargull. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-async-arrow-function-definitions-runtime-semantics-evaluation 07: description: Function.prototype.toString on an async arrow function 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: let f = /* before */async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }/* after */; 13: let g = /* before */async /* a */ ( /* b */ ) /* c */ => /* d */ 0/* after */; 14: let h = /* before */async /* a */ a /* b */ => /* c */ 0/* after */; 15: 16: assertToStringOrNativeFunction(f, "async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }"); 17: assertToStringOrNativeFunction(g, "async /* a */ ( /* b */ ) /* c */ => /* d */ 0"); 18: assertToStringOrNativeFunction(h, "async /* a */ a /* b */ => /* c */ 0"); 19:
Function_prototype_toString("built-ins/Function/prototype/toString/async-arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async (a, b) => {\n ;\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) ---> Error: Conforms to NativeFunction Syntax: "async (a, b) => {\n ;\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-arrow-function.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2017 André Bargull. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: esid: sec-async-arrow-function-definitions-runtime-semantics-evaluation 06: description: Function.prototype.toString on an async arrow function 07: features: [async-functions] 08: includes: [nativeFunctionMatcher.js] 09: ---*/ 10: 11: let f = /* before */async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }/* after */; 12: let g = /* before */async /* a */ ( /* b */ ) /* c */ => /* d */ 0/* after */; 13: let h = /* before */async /* a */ a /* b */ => /* c */ 0/* after */; 14: 15: assertToStringOrNativeFunction(f, "async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }"); 16: assertToStringOrNativeFunction(g, "async /* a */ ( /* b */ ) /* c */ => /* d */ 0"); 17: assertToStringOrNativeFunction(h, "async /* a */ a /* b */ => /* c */ 0"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "(a, b) => {\n ;\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) ---> Error: Conforms to NativeFunction Syntax: "(a, b) => {\n ;\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/arrow-function.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright (C) 2016 Michael Ficarra. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-arrow-function-definitions-runtime-semantics-evaluation 07: description: Function.prototype.toString on an arrow function 08: includes: [nativeFunctionMatcher.js] 09: ---*/ 10: 11: let f = /* before */( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }/* after */; 12: let g = /* before */( /* a */ ) /* b */ => /* c */ 0/* after */; 13: let h = /* before */a /* a */ => /* b */ 0/* after */; 14: 15: assertToStringOrNativeFunction(f, "( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }"); 16: assertToStringOrNativeFunction(g, "( /* a */ ) /* b */ => /* c */ 0"); 17: assertToStringOrNativeFunction(h, "a /* a */ => /* b */ 0"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "(a, b) => {\n ;\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) ---> Error: Conforms to NativeFunction Syntax: "(a, b) => {\n ;\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/arrow-function.js:14:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright (C) 2016 Michael Ficarra. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: esid: sec-arrow-function-definitions-runtime-semantics-evaluation 06: description: Function.prototype.toString on an arrow function 07: includes: [nativeFunctionMatcher.js] 08: ---*/ 09: 10: let f = /* before */( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }/* after */; 11: let g = /* before */( /* a */ ) /* b */ => /* c */ 0/* after */; 12: let h = /* before */a /* a */ => /* b */ 0/* after */; 13: 14: assertToStringOrNativeFunction(f, "( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }"); 15: assertToStringOrNativeFunction(g, "( /* a */ ) /* b */ => /* c */ 0"); 16: assertToStringOrNativeFunction(h, "a /* a */ => /* b */ 0"); 17:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-declaration.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-declaration.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function f(x, y) {\n ;\n ;\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function f(x, y) {\n ;\n ;\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-declaration.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2016 Microsoft, Inc. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: author: Brian Terlson <[email protected]> 07: esid: sec-function.prototype.tostring 08: description: Function.prototype.toString on an async function declaration 09: features: [async-functions] 10: includes: [nativeFunctionMatcher.js] 11: ---*/ 12: 13: /* before */async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */ 14: 15: assertToStringOrNativeFunction(f, "async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 16:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-declaration.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-declaration.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function f(x, y) {\n ;\n ;\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function f(x, y) {\n ;\n ;\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-declaration.js:14:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2016 Microsoft, Inc. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: author: Brian Terlson <[email protected]> 06: esid: sec-function.prototype.tostring 07: description: Function.prototype.toString on an async function declaration 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: /* before */async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */ 13: 14: assertToStringOrNativeFunction(f, "async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 15:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-expression.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-expression.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function F(x, y) {\n ;\n ;\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function F(x, y) {\n ;\n ;\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-expression.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2016 Microsoft, Inc. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: author: Brian Terlson <[email protected]> 06: esid: sec-function.prototype.tostring 07: description: Function.prototype.toString on an async function expression 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: let f = /* before */async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */; 13: let g = /* before */async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }/* after */; 14: 15: assertToStringOrNativeFunction(f, "async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 16: assertToStringOrNativeFunction(g, "async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }"); 17:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-expression.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-expression.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function F(x, y) {\n ;\n ;\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function F(x, y) {\n ;\n ;\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-expression.js:16:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2016 Microsoft, Inc. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: author: Brian Terlson <[email protected]> 07: esid: sec-function.prototype.tostring 08: description: Function.prototype.toString on an async function expression 09: features: [async-functions] 10: includes: [nativeFunctionMatcher.js] 11: ---*/ 12: 13: let f = /* before */async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */; 14: let g = /* before */async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }/* after */; 15: 16: assertToStringOrNativeFunction(f, "async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 17: assertToStringOrNativeFunction(g, "async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/async-method-class-expression-static.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-method-class-expression-static.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function() { }" (async f /* a */ ( /* b */ ) /* c */ { /* d */ }) ---> Error: Conforms to NativeFunction Syntax: "async function() { }" (async f /* a */ ( /* b */ ) /* c */ { /* d */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-method-class-expression-static.js:17:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 801 at Jint.Engine.Execute(Script script) in /Users/runner/work/jint/jint/Jint/Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in /Users/runner/work/jint/jint/Jint.Tests.Test262/Generated/Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2017 André Bargull. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-function.prototype.tostring 07: description: Function.prototype.toString on an async method 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: let x = "h"; 13: let f = class { static /* before */async f /* a */ ( /* b */ ) /* c */ { /* d */ }/* after */ }.f; 14: let g = class { static /* before */async /* a */ [ /* b */ "g" /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }/* after */ }.g; 15: let h = class { static /* before */async /* a */ [ /* b */ x /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }/* after */ }.h; 16: 17: assertToStringOrNativeFunction(f, "async f /* a */ ( /* b */ ) /* c */ { /* d */ }"); 18: assertToStringOrNativeFunction(g, "async /* a */ [ /* b */ \"g\" /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }"); 19: assertToStringOrNativeFunction(h, "async /* a */ [ /* b */ x /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }"); 20:
Expressions_class_elements("language/expressions/class/elements/class-name-static-initializer-default-export.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.language.generated.cs#L11495
language/expressions/class/elements/class-name-static-initializer-default-export.js Jint.Runtime.JavaScriptException: Expected SameValue(«», «default») to be true ---> Error: Expected SameValue(«», «default») to be true at assert.sameValue (actual, expected, message) harness/assert.js:49:9 at ./class-name-static-initializer-default-export.js:28:1 --- End of inner exception stack trace --- at Jint.Runtime.ExceptionHelper.ThrowJavaScriptException(Engine engine, JsValue value, Location& location) in D:\a\jint\jint\Jint\Runtime\ExceptionHelper.cs:line 149 at Jint.Engine.EvaluateModule(String specifier, ModuleRecord module) in D:\a\jint\jint\Jint\Engine.Modules.cs:line 177 at Jint.Engine.<>c__DisplayClass151_0.<ImportModule>b__0() in D:\a\jint\jint\Jint\Engine.Modules.cs:line 129 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 789 at Jint.Engine.ImportModule(String specifier, String referencingModuleLocation) in D:\a\jint\jint\Jint\Engine.Modules.cs:line 129 at Jint.Engine.ImportModule(String specifier) in D:\a\jint\jint\Jint\Engine.Modules.cs:line 106 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 93 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 78 01: "use strict"; 02: // Copyright 2019 André Bargull. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-runtime-semantics-classdefinitionevaluation 07: description: > 08: The class-name is present when executing static field initializers of default-exported classes. 09: info: | 10: 14.6.13 Runtime Semantics: ClassDefinitionEvaluation 11: 12: [...] 13: 17. Perform MakeClassConstructor(F). 14: 18. If className is not undefined, then 15: a. Perform SetFunctionName(F, className). 16: [...] 17: 18: flags: [module] 19: features: [class-static-fields-public] 20: ---*/ 21: 22: var className; 23: 24: export default class { 25: static f = (className = this.name); 26: } 27: 28: assert.sameValue(className, "default"); 29:
Function_prototype_toString("built-ins/Function/prototype/toString/arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "(a, b) => {\r\n ;\r\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) ---> Error: Conforms to NativeFunction Syntax: "(a, b) => {\r\n ;\r\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/arrow-function.js:14:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright (C) 2016 Michael Ficarra. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: esid: sec-arrow-function-definitions-runtime-semantics-evaluation 06: description: Function.prototype.toString on an arrow function 07: includes: [nativeFunctionMatcher.js] 08: ---*/ 09: 10: let f = /* before */( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }/* after */; 11: let g = /* before */( /* a */ ) /* b */ => /* c */ 0/* after */; 12: let h = /* before */a /* a */ => /* b */ 0/* after */; 13: 14: assertToStringOrNativeFunction(f, "( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }"); 15: assertToStringOrNativeFunction(g, "( /* a */ ) /* b */ => /* c */ 0"); 16: assertToStringOrNativeFunction(h, "a /* a */ => /* b */ 0"); 17:
Function_prototype_toString("built-ins/Function/prototype/toString/async-arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async (a, b) => {\r\n ;\r\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) ---> Error: Conforms to NativeFunction Syntax: "async (a, b) => {\r\n ;\r\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-arrow-function.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2017 André Bargull. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: esid: sec-async-arrow-function-definitions-runtime-semantics-evaluation 06: description: Function.prototype.toString on an async arrow function 07: features: [async-functions] 08: includes: [nativeFunctionMatcher.js] 09: ---*/ 10: 11: let f = /* before */async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }/* after */; 12: let g = /* before */async /* a */ ( /* b */ ) /* c */ => /* d */ 0/* after */; 13: let h = /* before */async /* a */ a /* b */ => /* c */ 0/* after */; 14: 15: assertToStringOrNativeFunction(f, "async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }"); 16: assertToStringOrNativeFunction(g, "async /* a */ ( /* b */ ) /* c */ => /* d */ 0"); 17: assertToStringOrNativeFunction(h, "async /* a */ a /* b */ => /* c */ 0"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "(a, b) => {\r\n ;\r\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) ---> Error: Conforms to NativeFunction Syntax: "(a, b) => {\r\n ;\r\n}" (( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/arrow-function.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright (C) 2016 Michael Ficarra. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-arrow-function-definitions-runtime-semantics-evaluation 07: description: Function.prototype.toString on an arrow function 08: includes: [nativeFunctionMatcher.js] 09: ---*/ 10: 11: let f = /* before */( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }/* after */; 12: let g = /* before */( /* a */ ) /* b */ => /* c */ 0/* after */; 13: let h = /* before */a /* a */ => /* b */ 0/* after */; 14: 15: assertToStringOrNativeFunction(f, "( /* a */ a /* b */ , /* c */ b /* d */ ) /* e */ => /* f */ { /* g */ ; /* h */ }"); 16: assertToStringOrNativeFunction(g, "( /* a */ ) /* b */ => /* c */ 0"); 17: assertToStringOrNativeFunction(h, "a /* a */ => /* b */ 0"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/async-arrow-function.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-arrow-function.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async (a, b) => {\r\n ;\r\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) ---> Error: Conforms to NativeFunction Syntax: "async (a, b) => {\r\n ;\r\n}" (async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-arrow-function.js:16:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2017 André Bargull. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: esid: sec-async-arrow-function-definitions-runtime-semantics-evaluation 07: description: Function.prototype.toString on an async arrow function 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: let f = /* before */async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }/* after */; 13: let g = /* before */async /* a */ ( /* b */ ) /* c */ => /* d */ 0/* after */; 14: let h = /* before */async /* a */ a /* b */ => /* c */ 0/* after */; 15: 16: assertToStringOrNativeFunction(f, "async /* a */ ( /* b */ a /* c */ , /* d */ b /* e */ ) /* f */ => /* g */ { /* h */ ; /* i */ }"); 17: assertToStringOrNativeFunction(g, "async /* a */ ( /* b */ ) /* c */ => /* d */ 0"); 18: assertToStringOrNativeFunction(h, "async /* a */ a /* b */ => /* c */ 0"); 19:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-declaration.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-declaration.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function f(x, y) {\r\n ;\r\n ;\r\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function f(x, y) {\r\n ;\r\n ;\r\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-declaration.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2016 Microsoft, Inc. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: author: Brian Terlson <[email protected]> 07: esid: sec-function.prototype.tostring 08: description: Function.prototype.toString on an async function declaration 09: features: [async-functions] 10: includes: [nativeFunctionMatcher.js] 11: ---*/ 12: 13: /* before */async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */ 14: 15: assertToStringOrNativeFunction(f, "async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 16:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-declaration.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-declaration.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function f(x, y) {\r\n ;\r\n ;\r\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function f(x, y) {\r\n ;\r\n ;\r\n}" (async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-declaration.js:14:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2016 Microsoft, Inc. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: author: Brian Terlson <[email protected]> 06: esid: sec-function.prototype.tostring 07: description: Function.prototype.toString on an async function declaration 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: /* before */async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */ 13: 14: assertToStringOrNativeFunction(f, "async function /* a */ f /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 15:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-expression.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-expression.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function F(x, y) {\r\n ;\r\n ;\r\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function F(x, y) {\r\n ;\r\n ;\r\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-expression.js:15:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2016 Microsoft, Inc. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: author: Brian Terlson <[email protected]> 06: esid: sec-function.prototype.tostring 07: description: Function.prototype.toString on an async function expression 08: features: [async-functions] 09: includes: [nativeFunctionMatcher.js] 10: ---*/ 11: 12: let f = /* before */async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */; 13: let g = /* before */async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }/* after */; 14: 15: assertToStringOrNativeFunction(f, "async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 16: assertToStringOrNativeFunction(g, "async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }"); 17:
Function_prototype_toString("built-ins/Function/prototype/toString/async-function-expression.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-function-expression.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function F(x, y) {\r\n ;\r\n ;\r\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) ---> Error: Conforms to NativeFunction Syntax: "async function F(x, y) {\r\n ;\r\n ;\r\n}" (async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-function-expression.js:16:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: "use strict"; 02: // Copyright 2016 Microsoft, Inc. All rights reserved. 03: // This code is governed by the BSD license found in the LICENSE file. 04: 05: /*--- 06: author: Brian Terlson <[email protected]> 07: esid: sec-function.prototype.tostring 08: description: Function.prototype.toString on an async function expression 09: features: [async-functions] 10: includes: [nativeFunctionMatcher.js] 11: ---*/ 12: 13: let f = /* before */async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }/* after */; 14: let g = /* before */async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }/* after */; 15: 16: assertToStringOrNativeFunction(f, "async function /* a */ F /* b */ ( /* c */ x /* d */ , /* e */ y /* f */ ) /* g */ { /* h */ ; /* i */ ; /* j */ }"); 17: assertToStringOrNativeFunction(g, "async function /* a */ ( /* b */ x /* c */ , /* d */ y /* e */ ) /* f */ { /* g */ ; /* h */ ; /* i */ }"); 18:
Function_prototype_toString("built-ins/Function/prototype/toString/async-method-class-expression-static.js": Jint.Tests.Test262/Generated/Tests262Harness.Tests.built-ins.generated.cs#L11493
built-ins/Function/prototype/toString/async-method-class-expression-static.js Jint.Runtime.JavaScriptException: Conforms to NativeFunction Syntax: "async function() { }" (async f /* a */ ( /* b */ ) /* c */ { /* d */ }) ---> Error: Conforms to NativeFunction Syntax: "async function() { }" (async f /* a */ ( /* b */ ) /* c */ { /* d */ }) at assertNativeFunction (fn, special) harness/nativeFunctionMatcher.js:218:11 at assertToStringOrNativeFunction (fn, expected) harness/nativeFunctionMatcher.js:209:5 at built-ins/Function/prototype/toString/async-method-class-expression-static.js:16:1 --- End of inner exception stack trace --- at Jint.Engine.ScriptEvaluation(ScriptRecord scriptRecord) in D:\a\jint\jint\Jint\Engine.cs:line 391 at Jint.Engine.ExecuteWithConstraints[T](Boolean strict, Func`1 callback) in D:\a\jint\jint\Jint\Engine.cs:line 801 at Jint.Engine.Execute(Script script) in D:\a\jint\jint\Jint\Engine.cs:line 383 at Jint.Tests.Test262.Test262Test.ExecuteTest(Engine engine, Test262File file) in D:\a\jint\jint\Jint.Tests.Test262\Test262Test.cs:line 99 at Jint.Tests.Test262.Test262Test.RunTestCode(String test, Boolean strict) in D:\a\jint\jint\Jint.Tests.Test262\Generated\Tests262Harness.Test262Test.generated.cs:line 96 01: // Copyright 2017 André Bargull. All rights reserved. 02: // This code is governed by the BSD license found in the LICENSE file. 03: 04: /*--- 05: esid: sec-function.prototype.tostring 06: description: Function.prototype.toString on an async method 07: features: [async-functions] 08: includes: [nativeFunctionMatcher.js] 09: ---*/ 10: 11: let x = "h"; 12: let f = class { static /* before */async f /* a */ ( /* b */ ) /* c */ { /* d */ }/* after */ }.f; 13: let g = class { static /* before */async /* a */ [ /* b */ "g" /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }/* after */ }.g; 14: let h = class { static /* before */async /* a */ [ /* b */ x /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }/* after */ }.h; 15: 16: assertToStringOrNativeFunction(f, "async f /* a */ ( /* b */ ) /* c */ { /* d */ }"); 17: assertToStringOrNativeFunction(g, "async /* a */ [ /* b */ \"g\" /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }"); 18: assertToStringOrNativeFunction(h, "async /* a */ [ /* b */ x /* c */ ] /* d */ ( /* e */ ) /* f */ { /* g */ }"); 19: