473,408 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Problems with XMLHttpRequest multipart/x-mixed-replace



I am using the Mozilla XMLHttpRequest in multipart/x-mixed-replace mode
such that the server can push data to the client.

The problem that I encountered is that the onload event listener does
not trigger if the server pushes data too frequently to the browser. I
presume the new data replaces the old data before the JavaScript onload
event listener gets a chance to execute.

This is most likely a BUG in the browser. Just thought I should ask here
before sending a BUG report.
Thanks,
Wilfred
Jul 23 '05 #1
3 5821


Wilfred Nilsen wrote:
I am using the Mozilla XMLHttpRequest in multipart/x-mixed-replace mode
such that the server can push data to the client.

The problem that I encountered is that the onload event listener does
not trigger if the server pushes data too frequently to the browser. I
presume the new data replaces the old data before the JavaScript onload
event listener gets a chance to execute.

This is most likely a BUG in the browser. Just thought I should ask here
before sending a BUG report.


You can always file a bug on bugzilla. It will help to get the bug fixed
if you provide a test case and some more details. How often do you push
when Mozilla fails to load a response part? Does onerror fire in that case?

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2


I am using the XMLHttpRequest object as a way to send asynchronous data
from a server to the client. The data can be sent at any time, thus the
time between two packets can therefore be zero. Initially, 4 packets are
sent with no time delay between the packets. The onload event listener
triggers for the first packet only.

/Wilfred

*** Sent via Developersdex http://www.developersdex.com ***
Jul 23 '05 #3


Wilfred Nilsen wrote:
I am using the XMLHttpRequest object as a way to send asynchronous data
from a server to the client. The data can be sent at any time, thus the
time between two packets can therefore be zero. Initially, 4 packets are
sent with no time delay between the packets. The onload event listener
triggers for the first packet only.


As said, you can file a bug on bugzilla.mozilla.org.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: news | last post by:
Before I begin, I realise there's a big war regarding HTML in e-mails. Personally, I don't like it. Unfortunately, I'm being paid by my company to create an automated newsletter for our customers....
1
by: Benedikt Wismans | last post by:
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7) Gecko/20040630 Dear group, below is a simple XML request. It works fine, the only problem is that Mozilla dos not quit the data transfer mode...
10
by: Matt Kruse | last post by:
I'm aware of the circular reference memory leak problem with IE/closures. I'm not sure exactly how to resolve it in this situation. Also, Firefox appears to grow its memory size with the same code....
22
by: googlegroups | last post by:
I am playing with the XMLHTTPRequest method to perform client/server transactions. I have it set up right now so that when readyState is 4, it takes the XML and processes it. This works great until...
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
21
by: Doug Lerner | last post by:
I'm working on a client/server app that seems to work fine in OS Firefox and Windows IE and Firefox. However, in OS X Safari, although the UI/communications themselves work fine, if the...
6
by: Wescotte | last post by:
I've wrote a little test app to use XMLHTTPRquest test app but I'm looking to add some functionality and I'm not quite so how to go about doing it. Below is the source What I'd really like is...
1
by: neil-holmquist | last post by:
i have this code: var parameters = "temp1=1" http_request.onreadystatechange = saveHatHandler; http_request.open('POST', url, true); http_request.setRequestHeader("Content-type",...
9
by: Phil_Harvey | last post by:
I am redoing my website and trying to get it to do something more exciting using Javascript. I did normal Java at university and code at work in VB.NET. I have got reasonably far into what I want...
1
by: geevaa | last post by:
http://www.phpbuilder.com/columns/kassemi20050606.php3 XMLHttpRequest and AJAX for PHP programmers James Kassemi Introduction: Although the concept isn't entirely new, XMLHttpRequest...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.