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)
Tracking
(firefox16 verified, firefox17 verified, firefox18 verified)
VERIFIED
FIXED
Firefox 18
People
(Reporter: lucasr, Assigned: lucasr)
Details
Attachments
(1 file)
|
2.12 KB,
patch
|
mfinkle
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We're currently parsing the page to then discard it just after causing unnecessary overhead (CPU and memory).
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #658038 -
Flags: review?(mark.finkle)
Comment 2•13 years ago
|
||
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+
| Assignee | ||
Comment 3•13 years ago
|
||
Pushed with suggested changes:
https://hg.mozilla.org/integration/mozilla-inbound/rev/95b911e4e435
| Assignee | ||
Comment 4•13 years ago
|
||
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?
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Updated•13 years ago
|
Attachment #658038 -
Flags: approval-mozilla-beta?
Attachment #658038 -
Flags: approval-mozilla-beta+
Attachment #658038 -
Flags: approval-mozilla-aurora?
Attachment #658038 -
Flags: approval-mozilla-aurora+
| Assignee | ||
Comment 6•13 years ago
|
||
Pushed to aurora:
https://hg.mozilla.org/releases/mozilla-aurora/rev/429aeed563bf
Pushed to beta:
https://hg.mozilla.org/releases/mozilla-beta/rev/294df682af4c
Updated•13 years ago
|
Updated•13 years ago
|
Comment 7•13 years ago
|
||
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
Comment 8•13 years ago
|
||
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.
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•