Some tests are failing currently because they expect the number of pending unload handlers to be printed, along with the name of the frame.
Created attachment 39999 [details] proposed addition
Created attachment 40009 [details] xan's comments addressed
Comment on attachment 40009 [details] xan's comments addressed r=me
Landed as r48682 with minor comments we discussed on IRC addressed.