Closed
Bug 189513
Opened 23 years ago
Closed 9 years ago
Make XMLExtras and document.load use syncloader for sync loads
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: hjtoi-bugzilla, Unassigned)
References
Details
Attachments
(1 file)
|
2.39 KB,
patch
|
Details | Diff | Splinter Review |
XMLHttpRequest, DOMParser, and document.load (sync load not yet implemented)
should probably be switched to syncloader. Now they have their own syncloading code.
| Reporter | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla1.4alpha
| Reporter | ||
Comment 1•23 years ago
|
||
Moving to 1.4b for now, but might not happen until 1.5a.
Target Milestone: mozilla1.4alpha → mozilla1.4beta
| Reporter | ||
Updated•23 years ago
|
Target Milestone: mozilla1.4beta → ---
Updated•23 years ago
|
QA Contact: rakeshmishra → ashishbhatt
In light of Jonas' statement in 190313 comment 8, I intend to revise
XMLHttpRequest to use nsIChannel::Open directly, rather than revise both
SyncLoadService [1] and XMLHttpRequest. Heikki or Jonas, can you confirm that
this is the preferred route to fix critical bug 190313?
Sounds good to me.
Comment 5•22 years ago
|
||
I tried to rewrite nsIXMLHttpRequest::Send() to use nsIChannel::Open() and it
works fine. However, it still blocks the UI as it is run from the UI thread
(there are several warnings in the sources regarding using nsIChannel::Open()
from the UI thread). At least it fixes the CPU load problem (bug 212820).
Comment 6•22 years ago
|
||
I've attached my changes of nsXMLHttpRequest.cpp. It is only a test of
nsIChannel::Open() in this context, a proper patch should call event handlers
as well.
Updated•17 years ago
|
QA Contact: ashshbhatt → xml
Updated•17 years ago
|
Assignee: xml → nobody
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•