bug 883346 permissions support for standalone chat window, r=felipe