some minimal testcase would be useful here. If you can do something like input.addEventListener("foo", function(e) { console.log(e); }); input.dispatchEvent(new Event("foo")); then at least the event handling is fine.
Bug 1201598 Comment 13 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
some minimal testcase would be useful here. If you can do something like input.addEventListener("foo", function(e) { console.log(e); }); input.dispatchEvent(new Event("foo")); then at least the event handling is fine. And does a debug build give any interesting warnings?