New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 688985 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: 2017-02-20
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

FileReader fails on Blob

Reported by zebonthe...@gmail.com, Feb 6 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce the problem:
1. put the provided web page and js code behind a web server
2. Navigate to the unzip_basic.html webpage
3. open the console

What is the expected behavior?
The sample should iteratively download and unzip files in toto.zip

What went wrong?
The sample randomly fails with an error :

8c59bcdd-46a0-4e1b-9d13-b745ddc8997f Failed to load resource: the server responded with a status of 404 (Not Found)

Seems to come from the FileReader readAsArrayBuffer API

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 56.0.2924.87  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 24.0 r0

 
Components: Blink>Storage
Labels: Needs-Feedback
NextAction: 2017-02-20
Please attach / link to the repro code so we can investigate.
Which browsers is this known to work in?

unzip_basic.zip
96.0 KB Download
Sorry i thought i add attached already. I reproduce the problem in Chrome 56.0.2924.87. The pb is not reproducible in Firefox ESR 45.1.1 no IE 11 (11.0.9600.18537).
Sorry i thought i add attached it already. I reproduce the problem in Chrome 56.0.2924.87. The pb is not reproducible in Firefox ESR 45.1.1 nor IE 11 (11.0.9600.18537).

Comment 5 by ajha@chromium.org, Feb 13 2017

Labels: Needs-Triage-M56
Project Member

Comment 6 by sheriffbot@chromium.org, Feb 20 2017

Labels: -Needs-Feedback Needs-Review
Owner: rbyers@chromium.org
Thank you for providing more feedback. Adding requester "rbyers@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: bsittler@chromium.org dmu...@chromium.org
Adding dmurph@chromium.org in case this behavior is surprising. I have not yet attempted to reproduce this issue on Win7 Chrome.

Comment 8 by dmu...@chromium.org, Feb 21 2017

Cc: rbyers@chromium.org
Owner: dmu...@chromium.org
Assigning to me

Comment 9 by dmu...@chromium.org, Feb 21 2017

Labels: dmurph-shortlist-bugs
This is a rather large example - can you narrow down a test case?
Labels: -Needs-Review Needs-Feedback
I tried reproducing locally - I don't see any errors, I just see:

[11619:11619:0221/165905.607999:1059429175927:INFO:CONSOLE(45)] "unzip item : bigFile.bin", source: http://localhost:8000/unzip_basic.html (45)
[11619:11619:0221/165906.117528:1059429685444:INFO:CONSOLE(45)] "unzip item : smallFile.bin", source: http://localhost:8000/unzip_basic.html (45)
[11619:11619:0221/165945.758998:1059469326920:INFO:CONSOLE(45)] "unzip item : bigFile.bin", source: http://localhost:8000/unzip_basic.html (45)
[11619:11619:0221/165947.771745:1059471339666:INFO:CONSOLE(45)] "unzip item : smallFile.bin", source: http://localhost:8000/unzip_basic.html (45)
[11619:11619:0221/170025.698736:1059509266656:ERROR:selection_owner.cc(192)] SelectionClear
[11619:11619:0221/170028.161812:1059511729732:INFO:CONSOLE(45)] "unzip item : bigFile.bin", source: http://localhost:8000/unzip_basic.html (45)
[11619:11619:0221/170028.163091:1059511731003:INFO:CONSOLE(45)] "unzip item : smallFile.bin", source: http://localhost:8000/unzip_basic.html (45)
[11619:11619:0221/170106.104609:1059549672527:INFO:CONSOLE(45)] "unzip item : bigFile.bin", source: http://localhost:8000/unzip_basic.html (45)
[11619:11619:0221/170106.621347:1059550189265:INFO:CONSOLE(45)] "unzip item : smallFile.bin", source: http://localhost:8000/unzip_basic.html (45)


over and over - Am I missing something? What is the expected output from this page?
Ah, maybe it's supposed to randomly fail, and we repeatedly load zip files?

Do you know where in the source the FileReader instance is?
Also, can you test this on Chrome Canary? (m58)

This may have been fixed by
https://codereview.chromium.org/2552153002
in m57

or
https://codereview.chromium.org/2422793002/
in m58

Thanks. I cannot reproduce the problem in chrome dev (58.0.3018.3)

Do you know when it will land in chrome official build ?
m58 is scheduled for stable on or around Apr 25 2017
Status: Fixed (was: Unconfirmed)

Sign in to add a comment