The Secure Window Mode doesn't work since 1.8.2.
There is a tracker report. http://tracker.moodle.org/browse/MDL-10612
Tim answered that he can't repair these feature. Who knows how this feature works and can check the error?
There were other reports in this forum assuming a relation with the AJAX feature. In my tests the secure window mode doesn't work with disabled AJAX also.