Skip to content

Spec requires firing at least two "progress" events; browsers do not. #318

Open
@domenic

Description

@domenic

Example: https://boom-bath.glitch.me/xhr-small-chunks.html

The spec requires firing one as part of processResponse, and one as part of "handle response end-of-file". However, browsers only fire a single one.

As far as I can tell, they avoid firing the one in "handle response end-of-file" if the number of bytes hasn't changed. /cc @ricea in case he can make more sense of Chromium's implementation than I can.

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