Skip to content

Update ProgressEvent documentation to show it allows doubles #641

Open
mdn/content
#39574
@domenic

Description

@domenic

Proposal

In whatwg/xhr#394 we are proposing updating ProgressEvent from taking 64-bit integers to taking 64-bit floats (doubles).

The MDN page at https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent mentions 64-bit integers explicitly.

The main motivation for this is upcoming APIs that are still a ways away from shipping. However, it will immediately impact web developers by allowing them to pass a wider range of values than they currently can when doing new ProgressEvent().

Browser support

This will probably make it into Chromium 135 or 136, and other browsers seem keen to follow shortly (e.g. Firefox has a patch ready to land).

Tasks

Dependencies

No response

Additional information

Are you willing to support this work?

I can help review such changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalAuto label for new proposals added via the suggestion form

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions