Revert "Fix call to isWindowPrivate"

This reverts commit 53f4696d9ea1a67103a25537d80194808bd201dc.

I merged #625 too soon. It broke support for Firefox 31 (currently ESR). Let's revert that commit (and bring back the annoying warning) until we find the right fix for this.