if i change the result type to RESULT_TYPE_HOST, for example, the assert goes away and the context menu is properly built.
i'd rather not add a new specialized result type for tag containers. instead we should add a generic container type, not specific to any particular content type.
(i'd like to move towards a more generic grouping and sorting strategy as well. but that's for another bug ;))
i think this might be because the tag containers are a generic container object type, but have a result type of a folder:
http:// mxr.mozilla. org/seamonkey/ source/ toolkit/ components/ places/ src/nsNavHistor y.cpp#4220
if i change the result type to RESULT_TYPE_HOST, for example, the assert goes away and the context menu is properly built.
i'd rather not add a new specialized result type for tag containers. instead we should add a generic container type, not specific to any particular content type.
(i'd like to move towards a more generic grouping and sorting strategy as well. but that's for another bug ;))