Closed
Bug 805808
Opened 13 years ago
Closed 13 years ago
Javascript warning: 10-26 10:42:53.398 E/GeckoConsole(14328): [JavaScript Error: "TypeError: view is null" {file: "chrome://browser/content/browser.js" line: 2096}]
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 19
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(1 file)
|
860 bytes,
patch
|
Margaret
:
review+
|
Details | Diff | Splinter Review |
I see this when scrolling overflow:scroll blocks of text. The line in question is the one indicated below from sh_subdocumentScrolled.
this.positionHandles();
break;
}
if (view == view.parent) { // <---- this line
break;
}
| Assignee | ||
Comment 1•13 years ago
|
||
This is happening because _activeType isn't getting initialized properly. It needs to be initialized to 0 since this.TYPE_NONE isn't accessible at construction time. Tested in a desktop dev console:
[16:13:06.729] << var x = { FOO: 0, bar: this.FOO };
[16:13:06.732] >> undefined
[16:13:09.585] << x.FOO
[16:13:09.587] >> 0
[16:13:11.336] << x.bar
[16:13:11.338] >> undefined
| Assignee | ||
Comment 2•13 years ago
|
||
Assignee: nobody → bugmail.mozilla
Status: NEW → ASSIGNED
Attachment #675665 -
Flags: review?(margaret.leibovic)
Comment 3•13 years ago
|
||
Comment on attachment 675665 [details] [diff] [review]
Patch
Nice catch.
Attachment #675665 -
Flags: review?(margaret.leibovic) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
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
•