Followup fix for bug 641552. Make sure to enumerate new category on startup. r=jst

This commit is contained in:
Fabrice Desré 2011-09-06 22:53:08 -07:00
Родитель 0e4882bd3c
Коммит c652c829fa
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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 =