Closed Bug 788119 Opened 13 years ago Closed 13 years ago

Don't even parse home pages in Reader's worker thread

Categories

(Firefox for Android Graveyard :: Reader View, defect, P1)

All
Android
defect

Tracking

(firefox16 verified, firefox17 verified, firefox18 verified)

VERIFIED FIXED
Firefox 18
Tracking Status
firefox16 --- verified
firefox17 --- verified
firefox18 --- verified

People

(Reporter: lucasr, Assigned: lucasr)

Details

Attachments

(1 file)

We're currently parsing the page to then discard it just after causing unnecessary overhead (CPU and memory).
Comment on attachment 658038 [details] [diff] [review] Don't even parse home pages in Reader's worker thread As we talked about, maybe we should move the check and the protocol check into a separate function and call that method. That way we can easily add the check to any API.
Attachment #658038 - Flags: review?(mark.finkle) → review+
Comment on attachment 658038 [details] [diff] [review] Don't even parse home pages in Reader's worker thread [Approval Request Comment] User impact if declined: Unnecessary CPU and memory overhead on pages that we don't really want to do anything about regarding readability. Starting the web worker and parsing the document is not a cheap operation. We should avoid it whenever possible. Testing completed (on m-c, etc.): Local testing, trivial patch. Risk to taking this patch (and alternatives if risky): Trivial patch, very low risk. String or UUID changes made by this patch: None.
Attachment #658038 - Flags: approval-mozilla-beta?
Attachment #658038 - Flags: approval-mozilla-aurora?
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Attachment #658038 - Flags: approval-mozilla-beta?
Attachment #658038 - Flags: approval-mozilla-beta+
Attachment #658038 - Flags: approval-mozilla-aurora?
Attachment #658038 - Flags: approval-mozilla-aurora+
This issue is fixed on the latest Nightly and Aurora builds. Closing bug as verified fixed on: Firefox 18.0a1 (2012-09-12) Device: Galaxy Note OS: Android 4.0.4
Status: RESOLVED → VERIFIED
Home page is not parsed on Firefox Mobile 16.0b5 on Samsung Galaxy R (Android 2.3.4). The message "Reader: Not parsing home page:" can be found in the logs when loading the home page of a website. Marking as verified on Firefox Mobile 16.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: