Returns the Window of the background page if the background script is running. If the script is not running, null is returned.
This a synchronous function.
Note: This method cannot be used in Private Browsing mode — it always returns null. Consider using runtime.sendMessage() or runtime.connect(). See Firefox bug 1329304 for more information.