Only set FileReader result on Load
This CL changes the behaviour of FileReader so that the result attribute is only set right before the Load event is fired. The existing web tests that covered this behaviour have their expected result changed to now be passing (the expectation file was deleted as all tests now pass). The CL also removes the kFileReaderResultBeforeCompletion feature which measured how often the result attribute was accessed before load. This feature is no longer needed. Change-Id: Ide34aa7ebe5d4caadc2c40821b1eb7cbbe7e91d7 Bug: 768972 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352610Reviewed-by:Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Shubham Aggarwal <shuagga@microsoft.com> Cr-Commit-Position: refs/heads/master@{#803174}
Showing
Please register or sign in to comment