Bug 849723 - Introduce API to use the private hidden window correctly. r=ehsan