This tests that we don't crash when a plugin removes itself from the document and then executes JavaScript.