See bug 800817 comment 56.
The main goal of the test was to test <iframe mozbrowser>. But yeah, we should fix this for plain <iframe>.
Created attachment 672532 [details] [diff] [review]
Also contains some other test cleanup (make sure there are test descriptions for every check).
Thanks for fixing this, gavin.