summaryrefslogtreecommitdiff
path: root/testing/resources/javascript/document_methods.in
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-31 15:04:12 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-31 15:04:12 -0700
commitaecd9d0c5cfc569269bfe6cc228efaab76a7bb1b (patch)
tree900ce5de046b972e60440327249d7c71e9f8788f /testing/resources/javascript/document_methods.in
parent7600f4b5054838abc9372f20ca950da6d3c57c7b (diff)
downloadpdfium-aecd9d0c5cfc569269bfe6cc228efaab76a7bb1b.tar.xz
Merge to XFA: Fix two issues shown by bug 489995
(cherry picked from commit 6e369c2ebb4769a42736b32154c0de12b73df45d) Original Review URL: https://codereview.chromium.org/1327473002 . BUG=489995 R=thestig@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1325743002 .
Diffstat (limited to 'testing/resources/javascript/document_methods.in')
-rw-r--r--testing/resources/javascript/document_methods.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/resources/javascript/document_methods.in b/testing/resources/javascript/document_methods.in
index 662c05c8e0..cd43e32070 100644
--- a/testing/resources/javascript/document_methods.in
+++ b/testing/resources/javascript/document_methods.in
@@ -122,6 +122,7 @@ function testAddIcon() {
// Second argument must actually be an icon.
expectError('this.addIcon("myicon", 3)');
+ expectError('this.addIcon("myicon", undefined)');
// TODO(tsepez): test success cases.
}