Closed
Bug 663768
Opened 13 years ago
Closed 13 years ago
Clean up syncloadservice
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: sicking, Assigned: sicking)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
The syncload service currently uses load/error events to figure out when it can stop spinning the event loop. It would be much simpler to simply stop spinning once OnStopRequest is called on the stream listener.
Additionally, the syncloadservice implements a scriptable XPCOM service which we don't seem to use anywhere in our code, so we should just nuke it.
Attachment #538829 -
Flags: review?(jst)
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #538830 -
Flags: review?(jst)
Updated•13 years ago
|
Attachment #538830 -
Attachment is patch: true
Attachment #538830 -
Attachment mime type: text/x-patch → text/plain
Assignee | ||
Comment 2•13 years ago
|
||
Nuked and inlined another function since it was only used in one place.
Attachment #538830 -
Attachment is obsolete: true
Attachment #538830 -
Flags: review?(jst)
Attachment #538833 -
Flags: review?(jst)
Assignee | ||
Comment 3•13 years ago
|
||
Erm.. that last patch was borked. This one's correct.
Attachment #538833 -
Attachment is obsolete: true
Attachment #538833 -
Flags: review?(jst)
Assignee | ||
Updated•13 years ago
|
Attachment #538837 -
Flags: review?(jst)
Updated•13 years ago
|
Attachment #538829 -
Flags: review?(jst) → review+
Updated•13 years ago
|
Attachment #538837 -
Flags: review?(jst) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Checked in!
http://hg.mozilla.org/mozilla-central/rev/44c904e24e4d
http://hg.mozilla.org/mozilla-central/rev/0830b8ed9f02
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•