New issue
Advanced search Search tips

Issue 768972 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

FileReader should not set result until load is complete

Project Member Reported by mek@chromium.org, Sep 26 2017

Issue description

According to the spec the result attribute of FileReader should not be assigned until just before the `load` event is fired. In particular for all progress events result should return null.

Other browsers seem to already do this, so maybe changing chrome would be safe. A use counter has been added to figure out how often websites actually access result while a load is in progress.

See also https://github.com/w3c/FileAPI/issues/79
 
Components: Blink>Storage>FileAPI
Components: -Blink>FileAPI

Sign in to add a comment