Skip to content

Missing cli flag to control CanBlock in run-test262 #501

@ivankra

Description

@ivankra

The two CanBlockIsFalse tests from test262 aren't reproducible using run-test262 -N as there's no way to control [[CanBlock]] property via a command-line flag:

test/built-ins/Atomics/wait/bigint/cannot-suspend-throws.js: Test262Error: Expected a TypeError to be thrown but no exception was thrown at all
test/built-ins/Atomics/wait/cannot-suspend-throws.js: Test262Error: Expected a TypeError to be thrown but no exception was thrown at all

d8 has --no-can-block flag - I'd like to have an equivalent in run-test262 for its -N mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions