Test that abort and emptied events are not fired sync during load()

Firefox currently does, and fails the test.
Merge pull request #661 from foolip/async-abort-emptied

Test that abort and emptied events are not fired sync during load()