I'm building a HTML5 web application and I want to use local storage. For some reason this code is not working on Windows Phone 8.1 (Nokia Lumia 920):
localStorage.setItem('key', 'value');
I don't get any error in the console, but when I try to get that value from the local storage, it returns null.