Bug 990284 - Only allow data:text/html, events in test-content-events tests

https://bugzilla.mozilla.org/show_bug.cgi?id=990284