Skip to content

dom/events/Event-timing-safe-resolution test makes faulty assumptions #21526

Open
@pshaughn

Description

This test tries to determine resolution by converting timestamps to integer microseconds, then takes the GCD of those integer values. However, if the real resolution is something other than an integer microseconds value, for example 1/128 millisecond, the GCD of these values is 1 and it fails, even though the resolution is greater than the required 5 microsecond minimum.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions