Closed Bug 1477578 Opened 6 years ago Closed 6 years ago

De-XPCOMify feed code

Categories

(Firefox Graveyard :: RSS Discovery and Preview, enhancement)

57 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

For reasons that defy sense, the feed handling code is written using XPCOM gunk from top to bottom. Aside from using things like nsIArray and nsIPropertyBag rather than JS arrays and objects, it also registers a bunch of component factories, and uses those to construct its objects rather than just constructing the JS objects directly.

Aside from being terrible for performance, registering those factories is also terrible for memory usage.
This is one of those cases where it would have been great to talk to me or Marco before writing this patch... We're about to rip the whole thing out (live bookmarks included). Given the long 63 timeline, I expect we'll do it for 63, though it might slip to 64. Should we close this as wontfix or is there some reason we should consider taking it and *then* ripping the whole thing out?
Flags: needinfo?(kmaglione+bmo)
I knew it was going away, but I didn't realize the timeline was so short.

If it's going away, that works just as well for me. I only wasted an hour on it
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(kmaglione+bmo)
Resolution: --- → WONTFIX
Comment on attachment 8994034 [details]
Bug 1477578: De-XPCOMify feed handling code.

https://reviewboard.mozilla.org/r/258612/#review265648

Clearing per bug resolution.
Attachment #8994034 - Flags: review?(gijskruitbosch+bugs)
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: