If I enable JS logging (see https://code.launchpad.net/~osomon/webbrowser-app/handle-js-console-msgs/+merge/214687), I’m seeing the following error:
[JS] (http://m-a-tb.sndcdn.com/all_b82ea7d.js:313) Uncaught TypeError: Cannot read property 'setItem' of null
The culprit is the following bit of JS:
window.localStorage.setItem("sc-test-private-browsing","1")
If I enable localStorage (by setting 'preferences.localStorageEnabled' to 'true' on the webview), the page loads correctly. The question is: should we enable localStorage by default in the browser?
If I enable JS logging (see https:/ /code.launchpad .net/~osomon/ webbrowser- app/handle- js-console- msgs/+merge/ 214687), I’m seeing the following error:
[JS] (http:// m-a-tb. sndcdn. com/all_ b82ea7d. js:313) Uncaught TypeError: Cannot read property 'setItem' of null
The culprit is the following bit of JS:
window. localStorage. setItem( "sc-test- private- browsing" ,"1")
If I enable localStorage (by setting 'preferences. localStorageEna bled' to 'true' on the webview), the page loads correctly. The question is: should we enable localStorage by default in the browser?