If you click inside this framed window you will see that the change is detected by only blur/focus. You may click outside and inside it again to repeat the test.