Fix for DFL-1260, autocomplete does not offer window or document.
Fix for DFL-1260, autocomplete does not offer window or document.

operasoftware/dragonfly,operasoftware/dragonfly,operasoftware/dragonfly,operasoftware/dragonfly