Closed
Bug 14755
Opened 25 years ago
Closed 25 years ago
RDF/XML datasource doesn't prevent 'duplicate' loads
Categories
(Core Graveyard :: RDF, defect, P3)
Core Graveyard
RDF
Tracking
(Not tracked)
RESOLVED
FIXED
M11
People
(Reporter: waterson, Assigned: waterson)
References
Details
Attachments
(1 file)
2.52 KB,
text/plain
|
Details |
Two cotemporaneous calls to RDF/XML datasource can cause two URL loads to be issued, and will generally get the datasource's knickers into a knot.
Assignee | ||
Comment 1•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
QA Contact: tever → rjc
Target Milestone: M11
Assignee | ||
Comment 2•25 years ago
|
||
Proposed patch adds state variable "load pending" that guards against two calls to Refresh() triggering multiple loads. rjc: could you please code review?
Comment 3•25 years ago
|
||
This looks fine to me... although, if Refresh() is called with a load already pending, it looks like the new load request is just ignored and NS_OK is returned. Perhaps a non-fatal failure code should be returned instead?
Assignee | ||
Comment 5•25 years ago
|
||
this could affect flash panel, sidebar open/close/customize, local store & persistence. they need to be tested.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•25 years ago
|
||
ok, fixed. rjc, per your suggestion, a synchronous load will return an error if an asynchronous load is already pending.
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•