diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-18 22:54:02 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-18 22:54:02 +0000 |
commit | 1f120c74ea2e0217dbb8a825bc7d495da805fc50 (patch) | |
tree | 614897f6488cad09c947b7ae318a9da4d66f3794 /testing | |
parent | 4c1ced59a6752f21fa857556a845ffad5919fbae (diff) | |
download | pdfium-1f120c74ea2e0217dbb8a825bc7d495da805fc50.tar.xz |
Fully populate JS platform callbacks in pdfium_test
Adjust expected results accordingly.
Order functions to match platform member order.
Change-Id: I3d5f8e3ef8f532af0891b7fbbc1a8305d1922a75
Reviewed-on: https://pdfium-review.googlesource.com/c/44311
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/resources/javascript/document_methods_expected.txt | 1 | ||||
-rw-r--r-- | testing/resources/javascript/document_props_expected.txt | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/testing/resources/javascript/document_methods_expected.txt b/testing/resources/javascript/document_methods_expected.txt index d4daf995c4..1cb2dbdfcc 100644 --- a/testing/resources/javascript/document_methods_expected.txt +++ b/testing/resources/javascript/document_methods_expected.txt @@ -141,4 +141,5 @@ Alert: PASS: this.resetForm() = undefined Alert: PASS: this.resetForm("myform") = undefined Alert: PASS: typeof this.submitForm = function Alert: PASS: this.submitForm() threw error Document.submitForm: Incorrect number of parameters passed to function. +Doc Submit Form: url=myform Alert: PASS: this.submitForm("myform", true, true, ["name", "age"]) = undefined diff --git a/testing/resources/javascript/document_props_expected.txt b/testing/resources/javascript/document_props_expected.txt index 2c0aa31d98..5bab82f12a 100644 --- a/testing/resources/javascript/document_props_expected.txt +++ b/testing/resources/javascript/document_props_expected.txt @@ -24,11 +24,11 @@ Alert: this.numFields is number 0 Alert: this.numPages is number 4 Alert: this.pageNum is undefined undefined Alert: this.pageWindowRect is undefined undefined -Alert: this.path is string / +Alert: this.path is string /myfile.pdf Alert: this.producer is string Alert: this.subject is string Alert: this.title is string -Alert: this.URL is string +Alert: this.URL is string myfile.pdf Alert: this.zoom is undefined undefined Alert: this.zoomType is undefined undefined Alert: *** Setting properties to true *** @@ -261,10 +261,10 @@ Alert: this.numFields is number 0 Alert: this.numPages is number 4 Alert: this.pageNum is undefined undefined Alert: this.pageWindowRect is undefined undefined -Alert: this.path is string / +Alert: this.path is string /myfile.pdf Alert: this.producer is string 3 Alert: this.subject is string 3 Alert: this.title is string 3 -Alert: this.URL is string +Alert: this.URL is string myfile.pdf Alert: this.zoom is undefined undefined Alert: this.zoomType is undefined undefined |