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
parent 4c29f85d38
commit a6f4cdfdca

View File

@ -442,6 +442,9 @@ nsScriptNameSpaceManager::Init()
rv = FillHash(cm, JAVASCRIPT_GLOBAL_DYNAMIC_NAMESET_CATEGORY);
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.
// Now, listen for changes.
nsCOMPtr<nsIObserverService> serv =