This tests that we broadcast focus events when the focused element changes.
This test should only be run inside of DumpRenderTree.