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]
Comment on attachment 43008 [details]
Committed revision 50844.