зеркало из https://github.com/mozilla/pjs.git
GetProperties was being called without a hash table being set (in the Necko build). I added an error test to GetProperties.
This commit is contained in:
Родитель
1a53eea89b
Коммит
a511c3ae87
|
@ -338,6 +338,9 @@ nsPersistentProperties::Subclass(nsIPersistentProperties* aSubclass)
|
|||
NS_IMETHODIMP
|
||||
nsPersistentProperties::GetProperty(const nsString& aKey, nsString& aValue)
|
||||
{
|
||||
if (!mTable)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
const PRUnichar *key = aKey.GetUnicode();
|
||||
|
||||
if (!mTable) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче