Created attachment 409160 [details] [diff] [review] patch This would be nice instead of hacking around with nsIComponentReistrar.
The topic name would be better described as 'common-dialog-loaded'
Created attachment 409163 [details] [diff] [review] "common-dialog-loaded" Done.
This is needed for the test in bug 498648.
The patch for this bug has landed on 1.9.1 as part of bug 498648, but that patch did not work because the observerService variable was undeclared in 1.9.1. This patch fixes the issue: http://hg.mozilla.org/releases/mozilla-1.9.1/rev/6f4f1c26308a This patch also fixes the perma-orange in bug 543071.