The normal messagemanager have a tree global->window->tab We don't want mozbrowser mm to show up there.
http://hg.mozilla.org/mozilla-central/diff/9d00516b0ad7/content/base/src/nsFrameLoader.cpp#l1.191 is wrong. mozbrowser mm just shouldn't have a parent
Created attachment 622966 [details] [diff] [review] patch I changed also the OwnerDoc() to GetOwnerDoc() to follow the coding style (Get* may return null).
Comment on attachment 622966 [details] [diff] [review] patch Ah, I think I understand now. r=me. :)