Bug 18653

Summary: Uploading file and having XMLHttpRequest object fetching data does not work.
Product: WebKit Reporter: Jasmin Zejnilagic <jasmin_z>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase none

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.