summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-19 17:56:21 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-19 17:56:21 +0000
commitcdebbeb8cca214ffb518a9cdc7f51ac376608b8c (patch)
tree286c3e93261cadd85dc0bff353db6d53ce51a085 /testing
parent9ead811969b61d6a82b1f3fc634070fbc797d182 (diff)
downloadpdfium-cdebbeb8cca214ffb518a9cdc7f51ac376608b8c.tar.xz
Roll v8/ c623fabe5..604c50c84 (9 commits)
https://chromium.googlesource.com/v8/v8.git/+log/c623fabe5643..604c50c84e67 Version 7.1.132 Update array_buffer JS test to adjust for https://chromium.googlesource.com/v8/v8/+/5cfe1a6b on Windows for 32-bit and ASAN builds. Change-Id: I7cfea684ab56d4a809989a7f029d7fc013eac372 Reviewed-on: https://pdfium-review.googlesource.com/c/44370 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
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