mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
0a6c15a02a
Changlist: - Added Jim Palmer's well proven natural sort algorithm. - Added natural sort license (MIT). - Use natural sort everywhere inside TableWidget.js wherever we use .sort() - Changed browser_storage_overflow.js so that the test is faster and more maintainable. The test now also tests column sorting (ascending and descending). - Use natural sort everywhere inside storage.js wherever we need to slice the array. Without natural sort here we get e.g. row-1, row-10, row-100, row-2 etc. MozReview-Commit-ID: FUY7pcLIYml --HG-- extra : rebase_source : 6e25cc962a7ab89aeb361e4036af90dcecd24b02
20 lines
345 B
HTML
20 lines
345 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
Bug 1171903 - Storage Inspector endless scrolling
|
|
-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Storage inspector endless scrolling test</title>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript">
|
|
"use strict";
|
|
|
|
for (let i = 1; i < 151; i++) {
|
|
localStorage.setItem(`item-${i}`, `value-${i}`);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|