Bug 914026 - Check mDocShell before use. r=khuey