splash: localStorage doesn't work

We’re trying to enable it by using

settings.setAttribute(QWebSettings.LocalStorageEnabled, True)

but this doesn’t work because earlier we enable private mode:

settings.setAttribute(QWebSettings.PrivateBrowsingEnabled, True)

and when QWebKit is in private mode localStorage is disabled.

About this issue

  • Original URL
  • State: open
  • Created 9 years ago
  • Comments: 27 (18 by maintainers)

Commits related to this issue

Most upvoted comments

FWIW, I just encountered this problem and was able to work around it by creating a Javascript profile that includes the Modernizr localStorage shim.