Closed
Bug 444422
Opened 18 years ago
Closed 2 years ago
hard-coded add-on guid prevents portability
Categories
(Toolkit Graveyard :: Data Collection/Metrics, defect)
Toolkit Graveyard
Data Collection/Metrics
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: alex, Unassigned)
Details
From Sergey Novikov @ Google:
In src/nsProfileCollector.cpp in function nsProfileCollector::LogInstall which collects data about currently installed metrics extension. We had to add workaround in place where extension finds itself using it's extension id. The workaround is needed as the toolbar doesn't install separate metrics extension.
line 292: nsresult rv = em->GetItemForID(NS_LITERAL_STRING("metrics@mozilla.org"), getter_AddRefs(item));
When we run this code in the context of the toolbar we get exception because of trying to dereference item which is NULL.
The simplest workaround is to check if item is NULL.
| Reporter | ||
Updated•18 years ago
|
OS: Mac OS X → All
Hardware: PC → All
You need to log in
before you can comment on or make changes to this bug.
Description
•