Closed Bug 364621 Opened 18 years ago Closed 18 years ago

Partner extension creates an extraneous item in the popup exceptions list

Categories

(Firefox Build System :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: hello, Assigned: hello)

Details

Attachments

(1 file)

While testing a recent partner build, Tracy found this in the popup exceptions list:

"scheme:http" - status: "allow"

The cause is that I wrapped a call to getCharPref() in the component we use in partner extensions to populate the popup exceptions, and so now it continues on to the next part where it tries to split an empty string and add items to the exceptions list.

A simple fix is to return if the pref is empty/unset.  Patch on the way.
...wrapped in a try/catch block, is what I meant to say in the last comment.
Attachment #249375 - Flags: review?(rhelmer)
Attachment #249375 - Flags: review?(rhelmer) → review+
Checking in PartnerBookmarks.js;
/mofo/repackage/common/xpi-generator/components/Attic/PartnerBookmarks.js,v  <--  PartnerBookmarks.js
new revision: 1.1.2.3; previous revision: 1.1.2.2
done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: