Bug 885177 - Make window.ImageDocument ChromeOnly. r=bz