Frame scripts were not getting pageshow and pagehide events with the persisted
property during frameloader swapping due to the fact that the event target for
those events was set to be the chrome event handler. This patch makes the
event target be the nsInProcessTabChildGlobal instead, so frame scripts see
the events. This still needs to be fixed for the e10s case, but that will
have to wait until bug 918634 is fixed.
--HG--
extra : source : 738461f289977e9b7e975831a4755cda6f6ab49e
extra : histedit_source : 8255ca9aa900adf1216de8cf9f4ceec8e5c2a71c%2Cd20e41b1200bac5dab5bbdad8cc22293ec92dbea