Permissions checks for popups were happening in nsIPopupWindowManager, but that really only required a pref and perm check. The XPCOM machinery around this isn't really needed, and the check was only called from two places in content, so this fits in nsContentUtils. MozReview-Commit-ID: 9x60x1BKWcr
334 KiB
334 KiB