Test top-level Document JS properties.
authorTom Sepez <tsepez@chromium.org>
Fri, 13 Feb 2015 20:08:44 +0000 (12:08 -0800)
committerTom Sepez <tsepez@chromium.org>
Fri, 13 Feb 2015 20:08:44 +0000 (12:08 -0800)
commit58985096a7852263df68e87d9bfc335a3e2759bf
treeec32924d809dcb02f0c233b4fe21b5b2e2c469b3
parent254360730190cc6d6e3de325ee101948b78c1e32
Test top-level Document JS properties.

Along the way, I rename some functions in pdfium_test.cc to
match the style guide's FunctionName() syntax, adding
"Example" to make them obviously different from the PDF
internal code with similar name fragments.

The purpose is to at least have some coverage for the
setter/getter macros from JS_Define.h

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/928573002
samples/pdfium_test.cc
testing/resources/javascript/document_props.in [new file with mode: 0644]
testing/resources/javascript/document_props_expected.txt [new file with mode: 0644]