summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/resources/javascript/array_buffer.in2
-rw-r--r--testing/resources/javascript/array_buffer_expected.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/resources/javascript/array_buffer.in b/testing/resources/javascript/array_buffer.in
index f06c8c5668..06371ba846 100644
--- a/testing/resources/javascript/array_buffer.in
+++ b/testing/resources/javascript/array_buffer.in
@@ -55,7 +55,7 @@ function test(size) {
try {
test(1000);
test(2000000);
- test(4000000000);
+ test(2147483647);
} catch (e) {
app.alert("Caught error " + e);
}
diff --git a/testing/resources/javascript/array_buffer_expected.txt b/testing/resources/javascript/array_buffer_expected.txt
index f8f3bf227c..715e638aad 100644
--- a/testing/resources/javascript/array_buffer_expected.txt
+++ b/testing/resources/javascript/array_buffer_expected.txt
@@ -1,5 +1,5 @@
Alert: This test attempts to make array buffers until exhausted
Alert: Trying size 1000
Alert: Trying size 2000000
-Alert: Trying size 4000000000
+Alert: Trying size 2147483647
Alert: Caught error RangeError: Array buffer allocation failed