summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/resources/javascript/event_properties.in4
-rw-r--r--testing/resources/javascript/event_properties_expected.txt3
2 files changed, 7 insertions, 0 deletions
diff --git a/testing/resources/javascript/event_properties.in b/testing/resources/javascript/event_properties.in
index 495c16bc14..6f563d1c2c 100644
--- a/testing/resources/javascript/event_properties.in
+++ b/testing/resources/javascript/event_properties.in
@@ -156,6 +156,10 @@ endobj
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 ca1cbeba4a..bdcecc2e46 100644
--- a/testing/resources/javascript/event_properties_expected.txt
+++ b/testing/resources/javascript/event_properties_expected.txt
@@ -46,4 +46,7 @@ Alert: PASS: event.type = 'boo' threw event.type: Operation not supported.
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 ***