This test has JS executing in another window.
To use this test, load it in the browser then load the WebInspector and look at the profile. In the profile there should be a call to functionInOtherFrame().