WebController: Set JS Controller after reloading the view
commit67d9ff3262eb1067c00b127a554059bb0a6db063
authorAnders Carling <anders.carling@d05.se>
Thu, 29 Jan 2009 23:47:39 +0000 (29 23:47 +0000)
committerPieter de Bie <frimmirf+gitx@gmail.com>
Thu, 29 Jan 2009 23:49:06 +0000 (29 23:49 +0000)
tree91ef1c8237e12d5d37a24aede7186c592afd2c55
parent28127626c1702b5b560fc4c7f2a3973af5784b3b
WebController: Set JS Controller after reloading the view

The WebKit delegate method didStartProvisionalLoadForFrame:
is not called when reloading the frame. This caused the
webviews to appear empty.

We fix it by using a delegate method which is called each
reload, as suggested by weinig in #webkit.

This fixes Lighthouse bug #81.
PBWebController.m
PBWebHistoryController.m