Use Of Globalstorage Is Deprecated. Please Use Localstorage Instead
Solution 1:
This is a deprecation error in Firefox 9. globalstorage
was a way to store data in Firefox, but HTML5 introduced localstorage
, which is now the preferred way (using window.localStorage
).
https://developer.mozilla.org/en/DOM/Storage has more information.
Solution 2:
Probably not related to the issue above but I will put it here for the search engines.
I got the same error message while doing some simple jQuery:
Useof globalStorage is deprecated. Please use localStorage instead.
[BreakOnThisError]
$(document).ready(function() {
It was however due to forgetting to actually include the link href to the jQuery.js file...!
Solution 3:
I got the same error message and found a solution and perhaps the underlying cause of conflict, I was using the jQuery validate function in the jzaefferer.github.com/jquery-validation/jquery.validate.js library along with jQuery 1.7.1
The problem:
I used $(document)
.ready with two different contexts
. One with the noConflict
wrapper and one without. By keeping both the same, the error message went away. Hooray!
The wrapper:
jQuery.noConflict();
jQuery(function($) {
$(function() {
$(document).ready(function() { ...}
});
});
See also this post on my blog.
Post a Comment for "Use Of Globalstorage Is Deprecated. Please Use Localstorage Instead"