bug 1034301 - Guard against bad listener behavior. r=kanru
Backed out changeset 3c7cff7fc71d
bug 1034301 - Guard against bad listener behavior. r=kanru