diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-12 19:09:28 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-12 19:09:28 +0000 |
commit | 8866a7bf4e5e30dacff86236bb99e1172fe41281 (patch) | |
tree | d555639fda779d860032d26aeba55c15d75d5190 /testing/resources/javascript/annot_props_expected.txt | |
parent | 35d4587eceb07cad6b38675b0ebb4b73eca3a62b (diff) | |
download | pdfium-8866a7bf4e5e30dacff86236bb99e1172fe41281.tar.xz |
Add test for CJS_Annot JS callbacks.
Change-Id: I8ef9bb333e786e833faca75566730a5b441d63c2
Reviewed-on: https://pdfium-review.googlesource.com/c/43830
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing/resources/javascript/annot_props_expected.txt')
-rw-r--r-- | testing/resources/javascript/annot_props_expected.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/resources/javascript/annot_props_expected.txt b/testing/resources/javascript/annot_props_expected.txt new file mode 100644 index 0000000000..54548e670e --- /dev/null +++ b/testing/resources/javascript/annot_props_expected.txt @@ -0,0 +1,16 @@ +Alert: Test that non-existent annot fetch gives error +Alert: SUCCESS: Document.getAnnot: Object no longer exists. +Alert: Test initial cases +Alert: annot: object +Alert: hidden: true +Alert: name: Annot-1 +Alert: type: Highlight +Alert: hidden now: true +Alert: hidden now: false +Alert: name now: nonesuch +Alert: Test assigment to read-only property gives error +Alert: SUCCESS: Annot.type: Cannot assign to readonly property. +Alert: Test lookup after name change gives error +Alert: SUCCESS: Document.getAnnot: Object no longer exists. +Alert: Test lookup under changed name +Alert: nonesuch after name change: object |