Skip to content

Nit: timer initialization steps should define maximum for id #7358

@annevk

Description

@annevk

After the refactoring this section will say

If previousId was given, let id be previousId; otherwise, let id be an implementation-defined integer that is greater than zero that will identify the timeout to be set by this call in global's map of active timers.

which is equivalent to what it says today. However, it seems a little bad that you have to infer from IDL what the maximum is here. I suspect to some extent it will depend on whatwg/infra#87. Using typed integers to indicate the range would make the most sense to me as that is what implementations do already.

Metadata

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