Bug 784591. Wait for the DOMContentLoaded event in the child iframe before removing the node from the document in this test. r=jdm