зеркало из https://github.com/mozilla/pjs.git
Followup fix for bug 641552. Make sure to enumerate new category on startup. r=jst
This commit is contained in:
Родитель
0e4882bd3c
Коммит
c652c829fa
|
@ -442,6 +442,9 @@ nsScriptNameSpaceManager::Init()
|
||||||
rv = FillHash(cm, JAVASCRIPT_GLOBAL_DYNAMIC_NAMESET_CATEGORY);
|
rv = FillHash(cm, JAVASCRIPT_GLOBAL_DYNAMIC_NAMESET_CATEGORY);
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
|
rv = FillHash(cm, JAVASCRIPT_NAVIGATOR_PROPERTY_CATEGORY);
|
||||||
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
// Initial filling of the has table has been done.
|
// Initial filling of the has table has been done.
|
||||||
// Now, listen for changes.
|
// Now, listen for changes.
|
||||||
nsCOMPtr<nsIObserverService> serv =
|
nsCOMPtr<nsIObserverService> serv =
|
||||||
|
|
Загрузка…
Ссылка в новой задаче