bug 1023326 - use frame scripts for tab content events

remove hack to see testOpenInNewWindow fail..