mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 926553 - Reduce the number of items in test_arrays.html to avoid timeouts indebug B2G emulators. r=ehsan
This commit is contained in:
parent
7bce2f0001
commit
ec493bc5e5
@ -45,15 +45,17 @@
|
||||
}, cbError);
|
||||
}
|
||||
|
||||
var itemNumber = 60;
|
||||
|
||||
function testStoreAdd() {
|
||||
var objects = [];
|
||||
for (var i = 0; i < 300; ++i) {
|
||||
for (var i = 0; i < itemNumber; ++i) {
|
||||
objects.push(i);
|
||||
}
|
||||
|
||||
function testStoreAddInternal() {
|
||||
if (!objects.length) {
|
||||
ok(true, "We inserted 300 items");
|
||||
ok(true, "We inserted " + itemNumber + " items");
|
||||
runTest();
|
||||
return;
|
||||
}
|
||||
@ -70,7 +72,7 @@
|
||||
|
||||
function testStoreGet() {
|
||||
var objects = [];
|
||||
for (var i = 1; i <= 300; ++i) {
|
||||
for (var i = 1; i <= itemNumber; ++i) {
|
||||
objects.push(i);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user