From b5186705822dc15b7361d3de038e9a168f8ee289 Mon Sep 17 00:00:00 2001 From: Boshen Date: Mon, 28 Oct 2024 21:20:20 +0800 Subject: [PATCH] chore(coverage): remove known runtime issues --- tasks/coverage/snapshots/runtime.snap | 427 +------------------------- tasks/coverage/src/runtime/mod.rs | 18 +- 2 files changed, 15 insertions(+), 430 deletions(-) diff --git a/tasks/coverage/snapshots/runtime.snap b/tasks/coverage/snapshots/runtime.snap index 21053f34e3ff3..0eac21728355d 100644 --- a/tasks/coverage/snapshots/runtime.snap +++ b/tasks/coverage/snapshots/runtime.snap @@ -1,323 +1,8 @@ commit: 06454619 runtime Summary: -AST Parsed : 18444/18444 (100.00%) -Positive Passed: 18287/18444 (99.15%) -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-init.js -minify error: Test262Error: binding is mutable Expected SameValue(«undefined», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-skip-dft-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-skip-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-init.js -minify error: Test262Error: binding is mutable Expected SameValue(«undefined», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-skip-dft-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-b-func-skip-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-init.js -minify error: Test262Error: binding is mutable Expected SameValue(«undefined», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-skip-dft-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-stmt-func-skip-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-init.js -minify error: Test262Error: binding is mutable Expected SameValue(«undefined», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-skip-dft-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-decl-no-else-func-skip-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-init.js -minify error: Test262Error: binding is mutable Expected SameValue(«undefined», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-skip-dft-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/function-code/if-stmt-else-decl-func-skip-param.js -minify error: Test262Error: binding is not initialized to `undefined` Expected SameValue(«function f(){}», «123») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-block-scoping.js -minify error: TypeError: f is not a function - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-init.js -minify error: Test262Error: binding is initialized to `undefined` Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-a-global-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-block-scoping.js -minify error: TypeError: f is not a function - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-init.js -minify error: Test262Error: binding is initialized to `undefined` Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-decl-b-global-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-block-scoping.js -minify error: TypeError: f is not a function - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-init.js -minify error: Test262Error: binding is initialized to `undefined` Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-else-stmt-global-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-block-scoping.js -minify error: TypeError: f is not a function - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-init.js -minify error: Test262Error: binding is initialized to `undefined` Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-decl-no-else-global-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-block-scoping.js -minify error: TypeError: f is not a function - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-existing-block-fn-no-init.js -minify error: Test262Error: Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-existing-block-fn-update.js -minify error: Test262Error: Expected SameValue(«"first declaration"», «"second declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-existing-fn-update.js -minify error: Test262Error: Expected SameValue(«"outer declaration"», «"inner declaration"») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-init.js -minify error: Test262Error: binding is initialized to `undefined` Expected SameValue(«function f(){}», «undefined») to be true - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-no-skip-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-skip-early-err-block.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-skip-early-err-switch.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-skip-early-err-try.js -minify error: SyntaxError: Identifier 'f' has already been declared - -tasks/coverage/test262/test/annexB/language/global-code/if-stmt-else-decl-global-skip-early-err.js -minify error: SyntaxError: Identifier 'f' has already been declared - +AST Parsed : 18055/18055 (100.00%) +Positive Passed: 18039/18055 (99.91%) tasks/coverage/test262/test/language/expressions/array/spread-obj-getter-init.js transform error: Test262Error: Expected SameValue(«true», «false») to be true @@ -330,39 +15,6 @@ transform error: Test262Error: Expected SameValue(«true», «false») to be tru tasks/coverage/test262/test/language/expressions/does-not-equals/bigint-and-object.js minify error: Test262Error: The result of (0n != {valueOf: function() {return 0n;}}) is false Expected SameValue(«true», «false») to be true -tasks/coverage/test262/test/language/expressions/dynamic-import/always-create-new-promise.js -codegen error: Test262Error: p1 constructor is %Promise% Expected SameValue(«function Promise() { [native code] }», «function Promise() { [native code] }») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/eval-self-once-module.js -codegen error: Test262Error: global property was defined and incremented only once Expected SameValue(«2», «1») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/imported-self-update.js -codegen error: Test262Error: updated value, direct binding Expected SameValue(«0», «1») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/indirect-resolution.js -codegen error: Test262Error: default is Promise instance Expected SameValue(«[object Promise]», «[object Promise]») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/returns-promise.js -codegen error: Test262Error: constructor is %Promise% Expected SameValue(«function Promise() { [native code] }», «function Promise() { [native code] }») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/syntax/valid/nested-with-expression-empty-str-is-valid-assign-expr.js -codegen error: Test262Error: Expected SameValue(«function then() { [native code] }», «function then() { [native code] }») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/syntax/valid/nested-with-expression-import-attributes-trailing-comma-first.js -codegen error: Test262Error: Expected SameValue(«function then() { [native code] }», «function then() { [native code] }») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/syntax/valid/nested-with-expression-import-attributes-trailing-comma-second.js -codegen error: Test262Error: Expected SameValue(«function then() { [native code] }», «function then() { [native code] }») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/syntax/valid/nested-with-expression-nested-imports.js -codegen error: Test262Error: Expected SameValue(«function then() { [native code] }», «function then() { [native code] }») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/syntax/valid/nested-with-expression-script-code-valid.js -codegen error: Test262Error: Expected SameValue(«function then() { [native code] }», «function then() { [native code] }») to be true - -tasks/coverage/test262/test/language/expressions/dynamic-import/usage-from-eval.js -codegen error: Test262Error: constructor is %Promise% Expected SameValue(«[object Promise]», «[object Promise]») to be true - tasks/coverage/test262/test/language/expressions/equals/bigint-and-object.js minify error: Test262Error: The result of (0n == {valueOf: function() {return 0n;}}) is true Expected SameValue(«false», «true») to be true @@ -387,84 +39,9 @@ transform error: TypeError: Cannot read properties of undefined (reading 'enumer tasks/coverage/test262/test/language/expressions/super/call-spread-obj-getter-init.js transform error: Test262Error: Expected SameValue(«true», «false») to be true -tasks/coverage/test262/test/language/global-code/decl-func.js -codegen error: Test262Error: descriptor should not be configurable - tasks/coverage/test262/test/language/literals/regexp/u-surrogate-pairs-atom-escape-decimal.js codegen error: Test262Error: Expected SameValue(«true», «false») to be true -tasks/coverage/test262/test/language/module-code/eval-self-once.js -codegen error: Test262Error: global property initially unset Expected SameValue(«262», «undefined») to be true - -tasks/coverage/test262/test/language/module-code/instn-iee-bndng-cls.js -codegen error: ReferenceError: Cannot access 'results' before initialization - -tasks/coverage/test262/test/language/module-code/instn-iee-bndng-const.js -codegen error: ReferenceError: Cannot access 'results' before initialization - -tasks/coverage/test262/test/language/module-code/instn-iee-bndng-fun.js -codegen error: ReferenceError: Cannot access 'results' before initialization - -tasks/coverage/test262/test/language/module-code/instn-iee-bndng-gen.js -codegen error: ReferenceError: Cannot access 'results' before initialization - -tasks/coverage/test262/test/language/module-code/instn-iee-bndng-let.js -codegen error: ReferenceError: Cannot access 'results' before initialization - -tasks/coverage/test262/test/language/module-code/instn-iee-bndng-var.js -codegen error: ReferenceError: Cannot access 'results' before initialization - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-cls.js -codegen error: Test262Error: binding is created but not initialized Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-const.js -codegen error: Test262Error: binding is created but not initialized Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-dflt-cls.js -codegen error: Test262Error: Binding is created but not initialized. Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-dflt-expr.js -codegen error: Test262Error: binding is created but not initialized Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-dflt-named.js -codegen error: Test262Error: Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-dflt-star.js -codegen error: Test262Error: Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-let.js -codegen error: Test262Error: binding is created but not initialized Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-trlng-comma.js -codegen error: Test262Error: binding is initialized to `undefined` prior to module evaulation Expected SameValue(«23», «undefined») to be true - -tasks/coverage/test262/test/language/module-code/instn-named-bndng-var.js -codegen error: Test262Error: binding is initialized to `undefined` prior to module evaulation Expected SameValue(«23», «undefined») to be true - -tasks/coverage/test262/test/language/module-code/namespace/internals/delete-exported-uninit.js -codegen error: Test262Error: binding unmodified: local1 Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/namespace/internals/enumerate-binding-uninit.js -codegen error: Test262Error: Expected a ReferenceError but got a Test262Error - -tasks/coverage/test262/test/language/module-code/namespace/internals/get-own-property-str-found-uninit.js -codegen error: Test262Error: hasOwnProperty: local1 Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/namespace/internals/get-str-found-uninit.js -codegen error: Test262Error: Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/namespace/internals/object-hasOwnProperty-binding-uninit.js -codegen error: Test262Error: Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/namespace/internals/object-keys-binding-uninit.js -codegen error: Test262Error: Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/namespace/internals/object-propertyIsEnumerable-binding-uninit.js -codegen error: Test262Error: Expected a ReferenceError to be thrown but no exception was thrown at all - -tasks/coverage/test262/test/language/module-code/verify-dfs.js -codegen error: Test262Error: Expected SameValue(«"B"», «"A"») to be true - tasks/coverage/test262/test/language/statements/async-generator/return-undefined-implicit-and-explicit.js minify error: Test262Error: Actual [tick 1, g1 ret, g2 ret, g3 ret, g4 ret, tick 2] and expected [tick 1, g1 ret, g2 ret, tick 2, g3 ret, g4 ret] should have the same contents. Ticks for implicit and explicit return undefined diff --git a/tasks/coverage/src/runtime/mod.rs b/tasks/coverage/src/runtime/mod.rs index ecb02a4c96a37..1656307fe5963 100644 --- a/tasks/coverage/src/runtime/mod.rs +++ b/tasks/coverage/src/runtime/mod.rs @@ -65,11 +65,11 @@ static SKIP_INCLUDES: &[&str] = &[ ]; static SKIP_TEST_CASES: &[&str] = &[ - // For some unknown reason these tests are unstable, so we'll skip them for now. - "language/identifiers/start-unicode", - // Properly misconfigured test setup for `eval`, but can't figure out where - "annexB/language/eval-code", + // node.js runtime error "language/eval-code", + "language/expressions/dynamic-import", + "language/global-code/decl-func.js", + "language/module-code", // formerly S11.13.2_A5.10_T5 "language/expressions/compound-assignment/compound-assignment-operator-calls-putvalue-lref--v", "language/expressions/postfix-increment/operator-x-postfix-increment-calls-putvalue-lhs-newvalue", @@ -101,7 +101,7 @@ impl Case for Test262RuntimeCase { } fn skip_test_case(&self) -> bool { - let base_path = self.base.path().to_string_lossy(); + let base_path = self.path().to_string_lossy(); let test262_path = base_path.trim_start_matches("test262/test/"); let includes = &self.base.meta().includes; let features = &self.base.meta().features; @@ -143,6 +143,14 @@ impl Case for Test262RuntimeCase { return; } + // Minifier do not conform to annexB. + let base_path = self.path().to_string_lossy(); + let test262_path = base_path.trim_start_matches("test262/test/"); + if test262_path.starts_with("annexB") { + self.base.set_result(TestResult::Passed); + return; + } + let code = self.get_code(false, true); let result = self.run_test_code("minify", code).await; self.base.set_result(result);