如果浏览器处于空闲模式一段时间,本地存储会自动清除值吗?

does local storage clear values automatically if browser in idle mode for some time duration? as i am working on one of web application in php where lots of data is in localstorage for quick movement of data. Now at one point, my screen stands in idle mode around 1hour and than as i am going to do any other action, screen throws script error suddenly.

can anyone give some idea on this ?

It should not delete by itself unless you tell it so. But the local storage is tied to the site that you are accessing just like the sessions would do. Is there any chance that the idle time causing the site to navigate to any other URL which doesn't have what you stored before ( just guessing)..!