Bug 105593 - XHR Upload Progress event fires an empty XMLHttpProgressEvent
Summary: XHR Upload Progress event fires an empty XMLHttpProgressEvent
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.8
: P2 Normal
Assignee: Nobody
URL: https://github.com/cotag/condo_exampl...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-20 17:53 PST by Stephen von Takach
Modified: 2013-01-25 16:30 PST (History)
2 users (show)

See Also:


Attachments
Screenshot of the issue in web inspector (86 bytes, text/plain)
2012-12-20 17:53 PST, Stephen von Takach
no flags Details
unable to compute upload progress (115.80 KB, image/png)
2013-01-15 20:04 PST, Stephen von Takach
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen von Takach 2012-12-20 17:53:31 PST
Created attachment 180448 [details]
Screenshot of the issue in web inspector

See the screenshot at https://github.com/cotag/condo_example/issues/4
This code works in FF, IE10 and Chrome just not safari.
Comment 1 Alexey Proskuryakov 2013-01-02 10:26:06 PST
Is there a web page where I could reproduce this issue?
Comment 2 Stephen von Takach 2013-01-03 17:29:42 PST
Tested this again and seems to be working in Safari 6.0.2. So this issue is no longer valid
Comment 3 Stephen von Takach 2013-01-15 13:59:46 PST
Received another report about this being an issues in Safari 6.0.2 (7536.26.17) so tested again in 6.0.2 (8536.26.17) and it does look to be an issue

Screen shot here: https://s3.amazonaws.com/cors-ingestion.mobovivo.com/safari6.png

Also I was able to replicate the issue here: http://www.script-tutorials.com/demos/199/index.html
All other browsers show progress.
Comment 4 Alexey Proskuryakov 2013-01-15 14:44:54 PST
> Also I was able to replicate the issue here: http://www.script-tutorials.com/demos/199/index.html

I could not reproduce using Safari 6.0.2 on OS X 10.8.2 or 10.7.4, uploading an image file from desktop.
Comment 5 Stephen von Takach 2013-01-15 20:04:05 PST
Created attachment 182911 [details]
unable to compute upload progress

See attachment of the example.
I can confirm that it doesn't fail every time - had to quit and re-open a few times
Comment 6 Stephen von Takach 2013-01-15 20:33:57 PST
Ok, I can replicate the results every time!

1. Open safari and load: https://github.com/cotag/condo_example
   (I'll look into putting this on heroku for testing)
2. Quit safari
3. Open safari (it'll re-open the uploader as it restores state)
4. Try and upload something using condo

The Condo upload always succeeds however the progress doesn't show and it breaks any other site visited after that (whether it be the same tab, a different tab or a new tab)

However if you use any upload site other than Condo then Condo works every time with progress displaying as it should (steps 1 -> 3 then testing another site before step 4)
Comment 7 interpegasus 2013-01-25 16:21:16 PST
Any updates on a fix for this HTML5 upload progress issue on safari?
Thanks in advance!
Comment 8 Alexey Proskuryakov 2013-01-25 16:30:41 PST
No, I don't have a practical way to reproduce. A test URL where this actually happens would help.