Closed
Bug 738848
Opened 13 years ago
Closed 13 years ago
FormAssistant null error when Fennec is in background
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 14
People
(Reporter: bnicholson, Assigned: bnicholson)
Details
Attachments
(1 file)
1.14 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
window.content may be null if the tab isn't active. While a page is loading, if it's put in the background, JS will give this error:
03-23 11:17:55.956 10081 10091 E GeckoConsole: [JavaScript Error: "content is null" {file: "chrome://browser/content/browser.js" line: 2934}]
Rather than using content.document, I think we can use BrowserApp.selectedBrowser.contentDocument, which doesn't change if the tab is active/inactive.
Attachment #608909 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #608909 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Please can you set the target milestone when landing on inbound, along the lines of http://blog.bonardo.net/2012/03/23/how-you-can-help-mozilla-inbound-sheriffs-when-pushing :-)
https://hg.mozilla.org/mozilla-central/rev/68c598b9c6bc
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 14
Comment 3•13 years ago
|
||
This wasn't marked as a blocker. Should we be working on things like this right now?
Comment 4•13 years ago
|
||
(In reply to Damon Sicore (:damons) from comment #3)
> This wasn't marked as a blocker. Should we be working on things like this
> right now?
It was found during work on blockers. JS errors have a tendency to just cause parts of the app to stop working. Brain (and others) have periodically run out of blockers, so I was fine with this fix.
Comment 5•13 years ago
|
||
status-firefox13:
--- → fixed
status-firefox14:
--- → fixed
Comment 6•13 years ago
|
||
Error is no longer seen in the logs on Nightly 16.0a1 2012-06-12 and Aurora 15.0a2 2012-06-11 on HTC Desire running Android 2.2. Closing the issue as verified.
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
•