can you add a comment explaining why you're listening to mozContentEvent ? This is the only place where this is happening, because mozContentEvent are normally listened to by Gecko. I'm not even sure you can listen to them, @alivedise do you know?