Bug 915210, follow the COM rules when flushing a presshell, r=bz
Merge branch 'master' into pthreads