Bug 18653 - Uploading file and having XMLHttpRequest object fetching data does not work.
Summary: Uploading file and having XMLHttpRequest object fetching data does not work.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-21 05:02 PDT by Jasmin Zejnilagic
Modified: 2015-03-16 04:57 PDT (History)
2 users (show)

See Also:


Attachments
Testcase (1.55 KB, application/octet-stream)
2008-04-21 05:11 PDT, Jasmin Zejnilagic
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jasmin Zejnilagic 2008-04-21 05:02:46 PDT
Description
---------

Having a file upload form along with a XHR script fetching data from a server that is executed by onsubmit event in the same form does not work (XHR does not request data from server). This behaviour is supported by all other browser engines (IE, FF, Opera) except Webkit/Safari. For sourcecode and more detailed description please take a look at http://www.neowin.net/forum/index.php?showtopic=632389
Comment 1 Jasmin Zejnilagic 2008-04-21 05:11:15 PDT
Created attachment 20721 [details]
Testcase

The testcase requires Lighttpd 1.5.x with mod_uploadprogress enabled and php support, it could of course be easily modified by QA to just fetch a page instead instead of calling server for upload progress.
Comment 2 Alexey Proskuryakov 2008-04-21 07:45:40 PDT
I haven't attempted to verify this, as I don't have lighthttpd, but this sounds like something that can easily happen in WebKit, so marking as confirmed.