Closed Bug 575477 Opened 9 years ago Closed 9 years ago

Error in nsIAutoCompletePopup::invalidate

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Exception... "'[JavaScript Error: "title.match(/^(.+) \u2013 (.+)$/) is null" {file: "chrome://browser/content/bindings.xml" line: 259}]' when calling method: [nsIAutoCompletePopup::invalidate]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: file:///home/mfinkle/Source/mozilla-trunk/mobile-debug/dist/bin/components/AutoCompleteCache.js :: anonymous :: line 249"  data: yes

It seems like "title" can be null. This patch checks for a null title before attempting to split the tags out.

I started to see this after hooking up weave sync into Fennec. Not sure if it's related or not.
Attachment #454733 - Flags: review?(21)
pushed:
http://hg.mozilla.org/mobile-browser/rev/94b472a9867c
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
bugspam
Assignee: nobody → mark.finkle
You need to log in before you can comment on or make changes to this bug.