Bug 935283, Keep document as a data property on window for now. r=bz

--HG--
extra : rebase_source : cca1ee4bf96315526e953235a76522cb71f44bfa