commit | 36623f65c39c38effe681aa82e3a11f1d4d6cc7b | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Mon Oct 22 21:15:16 2018 +0000 |
committer | Chromium commit bot <commit-bot@chromium.org> | Mon Oct 22 21:15:16 2018 +0000 |
tree | 1e3334028e55ebdc45ef7c945d14599b6209cb47 | |
parent | 25b56107ef349726f74b27de2d491ac3fc5d36ca [diff] |
Add missing property to event_properties.in Change-Id: I63c2f2c416d3270061fcffd0c9d0a82c10de88d2 Reviewed-on: https://pdfium-review.googlesource.com/c/44411 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/testing/resources/javascript/event_properties.in b/testing/resources/javascript/event_properties.in index 495c16b..6f563d1 100644 --- a/testing/resources/javascript/event_properties.in +++ b/testing/resources/javascript/event_properties.in
@@ -156,6 +156,10 @@ expect("event.value = 'boo'", "boo"); expect("event.value", "boo"); + expect("event.willCommit", true); + expectError("event.willCommit = 'boo'"); + expect("event.willCommit", true); + app.alert("*** ending test ***"); } catch (e) { app.alert("Truly unexpected error occured: " + e);
diff --git a/testing/resources/javascript/event_properties_expected.txt b/testing/resources/javascript/event_properties_expected.txt index ca1cbeb..bdcecc2 100644 --- a/testing/resources/javascript/event_properties_expected.txt +++ b/testing/resources/javascript/event_properties_expected.txt
@@ -46,4 +46,7 @@ Alert: PASS: event.value = Alert: PASS: event.value = 'boo' = boo Alert: PASS: event.value = boo +Alert: PASS: event.willCommit = true +Alert: PASS: event.willCommit = 'boo' threw event.willCommit: Operation not supported. +Alert: PASS: event.willCommit = true Alert: *** ending test ***