Closed
Bug 706705
Opened 14 years ago
Closed 14 years ago
[JavaScript Error: "this.browser.contentDocument.body is null" {file: "chrome://browser/content/browser.js" line: 1333}] when loading a page for the first time
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: nhirata, Assigned: mbrubeck)
References
Details
Attachments
(2 files, 1 obsolete file)
|
10.92 KB,
text/plain
|
Details | |
|
1.01 KB,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
1. start up fennec
2. look at logcat
Expected: no error messages
Actual: [JavaScript Error: "this.browser.contentDocument.body is null" {file: "chrome://browser/content/browser.js" line: 1333}] in about:home
| Assignee | ||
Comment 1•14 years ago
|
||
| Assignee | ||
Comment 3•14 years ago
|
||
Accidentally uploaded an empty patch after a qref mishap.
Attachment #578130 -
Attachment is obsolete: true
Attachment #578130 -
Flags: review?(mark.finkle)
| Assignee | ||
Updated•14 years ago
|
Attachment #578133 -
Flags: review?(wjohnston)
Comment 4•14 years ago
|
||
Comment on attachment 578133 [details] [diff] [review]
patch
Review of attachment 578133 [details] [diff] [review]:
-----------------------------------------------------------------
It looks like we were already doing a similar check, so I guess we're aware and ok with wallpapering over this. Do we ever expect to not have a browser.contentDocument?
Just to be clear I understand, we're calling this when we get "Viewport:Change" events from Java or "resize" events from Gecko. Sometimes we have no document (or in this case a document with no body). I'd guess this is likely from the "Viewport:Change" event, we're resizing to a default size while loading a new page, and hitting a bit of a race?
Maybe a comment about why this might happen?
Attachment #578133 -
Flags: review?(wjohnston) → review+
| Assignee | ||
Comment 5•14 years ago
|
||
Pushed with an added comment:
https://hg.mozilla.org/projects/birch/rev/8e9a466b85bb
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
Verified fixed on:
Nightly 13.0a1(2012-03-04)
Device: Samsung Galaxy S2
OS: Android 2.3.4
Status: RESOLVED → VERIFIED
Updated•5 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
•