Every generated V8 event-listener setter method contains a bunch of boilerplate code to transfer a "hidden dependency" from the old to the new listener. I've abstracted this out into a helper function in V8Utilities.
Created attachment 43008 [details] patch
Comment on attachment 43008 [details] patch grand!
Committed revision 50844.