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)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 19

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(1 file)

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; }
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
Attached patch PatchSplinter Review
Assignee: nobody → bugmail.mozilla
Status: NEW → ASSIGNED
Attachment #675665 - Flags: review?(margaret.leibovic)
Comment on attachment 675665 [details] [diff] [review] Patch Nice catch.
Attachment #675665 - Flags: review?(margaret.leibovic) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: