Skip to content

Commit

Permalink
Web Storage: Added notes about storage support and known bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed May 31, 2011
1 parent 31804b3 commit 9c49078
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
7 changes: 6 additions & 1 deletion web-storage/support-test/browserscope.js
Expand Up @@ -39,7 +39,12 @@ $.extend( BrowserScope.prototype, {
$.getScript( this._resultsUrl( "js", browsers ) );
},

getResults: function( fn, browsers ) {
getResults: function( browsers, fn ) {
if ( !fn ) {
fn = browsers;
browsers = undefined;
}

$.ajax({
url: this._resultsUrl( "json", browsers ),
dataType: "jsonp",
Expand Down
12 changes: 12 additions & 0 deletions web-storage/support-test/index.html
Expand Up @@ -46,5 +46,17 @@ <h2>Results from previous test runs</h2>
</table>
</script>

<h2>Notes</h2>
<ul>
<li>IE 9 has a problem with <a href="http://dev-test.nemikor.com/web-storage/keys">numeric indexes and bracket notation</a>.</li>
<li>IE 9 doesn't report <a href="http://dev-test.nemikor.com/web-storage/bracket-limit">quota errors using bracket notation</a>.</li>
<li>Opera prompts the user to increase localStorage (but not sessionStorage) limits when it reaches 5 MB.
<ul>
<li>Provides options of 10 MB, 15 MB, 20 MB, 40 MB, 80 MB, unlimited.</li>
<li>Hits the 5 MB limit with slightly less than 2 MB of actual data stored.</li>
</ul>
</li>
</ul>

</body>
</html>
2 changes: 1 addition & 1 deletion web-storage/support-test/ui.js
Expand Up @@ -74,7 +74,7 @@ function renderResults() {
return num + " " + label;
}

app.browserscope.getResults(function( data ) {
app.browserscope.getResults( BrowserScope.browsers.minor, function( data ) {
var table = $( $( "#test-results" ).html() ),
tbody = table.find( "tbody" );
$.each( data, function( browser, limits ) {
Expand Down

0 comments on commit 9c49078

Please sign in to comment.