jeanphix/Ghost.py — pull request #44 by lukecyca (2012-12-30 19:43:31+00:00)
Title: localStorage doesn't work

When loading a page that uses HTML5's localStorage, I get:
```
ERROR:ghost:Frame: http://jpmcgarrity.com/examples/html5/localStorage/(36): TypeError: Result of expression 'localStorage' [null] is not an object.
...
Exception: Unable to load requested page
```

I don't know much about PySide and QtWebKit, but a bit of googling pointed me to [this page](https://deptinfo-ensip.univ-poitiers.fr/ENS/pyside-docs/PySide/QtWebKit/QWebSettings.html#PySide.QtWebKit.PySide.QtWebKit.QWebSettings.setLocalStoragePath) which indicates that it must be explicitly enabled.