Skip to content

Flaky abortsignal-timeout.html test due to incomplete implementation of run_steps_after_a_timeout_impl #6431

@rcorsi

Description

@rcorsi

Issue #6362 reported that the LibWeb test Text/input/abortsignal-timeout.html would randomly fail due to the expected 10ms timeout being detected as 9ms. In some rare cases the test has been seen to timeout at 7ms or 8ms.

Fix #6422 was put into place to solved most of the failures specifically when the 9ms timeout is detected.

During the investigation it was noted that the abort signal timeout is managed by the implementation of WindowOrWorkerGlobalScopeMixin::run_steps_after_a_timeout_impl() which is incomplete and has 8 FIXME statements.

See Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.cpp:1022

Specs are here: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#run-steps-after-a-timeout

This is a followup issue to complete the implementation.

Metadata

Metadata

Assignees

No one assigned

    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