diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-22 20:35:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-22 20:35:17 +0000 |
commit | 25b56107ef349726f74b27de2d491ac3fc5d36ca (patch) | |
tree | be6b42c0e360ec4f97d3a89c401d30f3961136ef /testing/resources/javascript/document_methods.in | |
parent | d3a34fe4665eed1ff09a5d06e565ffefb9a26134 (diff) | |
download | pdfium-25b56107ef349726f74b27de2d491ac3fc5d36ca.tar.xz |
Call last uncovered document methods.
Test-only CL.
Change-Id: Ica1613c42075adb5fedfef6d66d99095cef08655
Reviewed-on: https://pdfium-review.googlesource.com/c/44410
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing/resources/javascript/document_methods.in')
-rw-r--r-- | testing/resources/javascript/document_methods.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/resources/javascript/document_methods.in b/testing/resources/javascript/document_methods.in index be4bf63b64..87118091c1 100644 --- a/testing/resources/javascript/document_methods.in +++ b/testing/resources/javascript/document_methods.in @@ -134,7 +134,8 @@ function testCalculateNow() { expect('typeof this.calculateNow', 'function'); // TODO(tsepez): test with no permissions. - // TODO(tsepez): test success cases. + + expect('this.calculateNow()', undefined) } function testGetAnnot() { @@ -214,7 +215,8 @@ function testGetPageNthWordQuads() { expect('typeof this.getPageNthWordQuads', 'function'); // TODO(tsepez): test with no permissions. - // TODO(tsepez): test success cases. + + expectError('this.getPageNthWordQuads()'); } function testGetPageNumWords() { @@ -350,6 +352,7 @@ try { testUnsupported('this.exportAsXFDF'); testUnsupported('this.extractPages'); testUnsupported('this.getAnnot3D'); + testUnsupported('this.getAnnots3D'); testUnsupported('this.getLinks'); testUnsupported('this.getOCGs'); testUnsupported('this.getPageBox'); |