Bug 842495 - Cleanup contentDocument/contentWindow getters; r=mounir