Closed Bug 650316 Opened 13 years ago Closed 13 years ago

Disable Morkreader in Fennec

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 578268

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

(Keywords: memory-footprint, mobile, Whiteboard: [has patch])

Attachments

(1 file)

Attached patch patchSplinter Review
We have a tiny library called morkreader that is used for importing history from old versions of Firefox/Mozilla.  This is never used on Fennec.  This patch disables it and the code that uses it.

I did this as an experiment in size reduction, but the reduction in our compressed APK size is only 7 KB.  I'm not sure this is worth checking in, unless we make it part of a much larger effort to identify and disable more dead code.
You should consider unit test (/toolkit/components/places/tests/unit/test_history_import.js).  This test needs mork reader, so you should be turn off this test if MOZ_MORKREADER isn't set.
I think this bug will be useless once bug 578268 lands since the reader will be opt-in.
Thanks Makoto - sorry for duplicating your work.  And thanks for the pointer, Marco - this is good news.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: