Skip to content

Module tests unnecessary strict mode #17

@rhuanjl

Description

@rhuanjl

As module code is always treated as strict mode code (https://tc39.github.io/ecma262/#sec-strict-mode-code) it is unnecessary to emit strict and non-strict versions of tests that are to be run as module code.

This results in longer running times and doubling the failure/pass counts for these tests for no purpose.

I think this could be updated by revising create-scenarios.js to check for test.attrs.flags.module.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions