Bug 883592: stop trying to evaluate scripts for documents with no inner windows, r=sicking

--HG--
extra : transplant_source : %99%1Ap-%EC%80b%2B%DE%A5%05%EE%9C%24Dl%22%E7G%D3