Closed
Bug 787236
Opened 12 years ago
Closed 12 years ago
Error when removing Reader:FaviconReturn observer on Reader uninit()
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
(2 files)
1.39 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
1.53 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We call bind() in the listener function which means the actual listener is not the named function. This patch fixes this.
Attachment #657061 -
Flags: review?(mark.finkle)
Assignee | ||
Updated•12 years ago
|
Priority: -- → P1
Comment 1•12 years ago
|
||
Comment on attachment 657061 [details] [diff] [review] Correctly remove "pagehide" listener when exiting Reader Does this mean this ocde is wrong too? http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#2684
Attachment #657061 -
Flags: review?(mark.finkle) → review+
Comment 2•12 years ago
|
||
I assume this code is not affected becuase there is no "bind" ? http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#4492
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #1) > Comment on attachment 657061 [details] [diff] [review] > Correctly remove "pagehide" listener when exiting Reader > > Does this mean this ocde is wrong too? > http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/ > browser.js#2684 Yep, this is broken, the listener is never removed.
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #2) > I assume this code is not affected becuase there is no "bind" ? > http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser. > js#4492 Correct.
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #657245 -
Flags: review?(mark.finkle)
Updated•12 years ago
|
Attachment #657245 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/49ad41173c4f https://hg.mozilla.org/integration/mozilla-inbound/rev/5489c99c67d6
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/49ad41173c4f https://hg.mozilla.org/mozilla-central/rev/5489c99c67d6
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 657061 [details] [diff] [review] Correctly remove "pagehide" listener when exiting Reader [Approval Request Comment] Bug caused by (feature/regressing bug #): Small regression from bug 778582. User impact if declined: Tons of errors in logcat and potential instability due to dangling listeners. Testing completed (on m-c, etc.): Landed in Nightly, no issues found. Risk to taking this patch (and alternatives if risky): Low, trivial patch. String or UUID changes made by this patch: None
Attachment #657061 -
Flags: approval-mozilla-beta?
Attachment #657061 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 657245 [details] [diff] [review] Correctly remove "pagehide" listener for ErrorPageEventHandler [Approval Request Comment] User impact if declined: Dangling listeners and potential instability caused by dangling listeners on error pages (e.g. about:certerror) Testing completed (on m-c, etc.): Landed in Nightly, no issues found. Risk to taking this patch (and alternatives if risky): Low, trivial patch. String or UUID changes made by this patch: None
Attachment #657245 -
Flags: approval-mozilla-beta?
Attachment #657245 -
Flags: approval-mozilla-aurora?
Comment 10•12 years ago
|
||
Comment on attachment 657061 [details] [diff] [review] Correctly remove "pagehide" listener when exiting Reader [Triage Comment] Low risk fix in support of Reader Mode stability. While I don't believe we know what the user impact would really be if declined, we'll approve since we think we can manage the risk at this point.
Attachment #657061 -
Flags: approval-mozilla-beta?
Attachment #657061 -
Flags: approval-mozilla-beta+
Attachment #657061 -
Flags: approval-mozilla-aurora?
Attachment #657061 -
Flags: approval-mozilla-aurora+
Updated•12 years ago
|
Attachment #657245 -
Flags: approval-mozilla-beta?
Attachment #657245 -
Flags: approval-mozilla-beta+
Attachment #657245 -
Flags: approval-mozilla-aurora?
Attachment #657245 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 11•12 years ago
|
||
Pushed to aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/d575f4b98a7a https://hg.mozilla.org/releases/mozilla-aurora/rev/2ce657b96136 Pushed to beta: https://hg.mozilla.org/releases/mozilla-beta/rev/375ae9107d45 https://hg.mozilla.org/releases/mozilla-beta/rev/44a038b9e733
Updated•12 years ago
|
status-firefox16:
--- → fixed
status-firefox17:
--- → fixed
Comment 12•12 years ago
|
||
Code changes were applied on the latest Nightly, Aurora and Beta builds. Closing bug as verified fixed. -- Device: Galaxy Note OS: Android 4.0.4
Status: RESOLVED → VERIFIED
status-firefox18:
--- → verified
Updated•3 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
•