Fix Javascript tests after commit f55771af6429.
authorLei Zhang <thestig@chromium.org>
Mon, 22 Jun 2015 22:36:49 +0000 (15:36 -0700)
committerLei Zhang <thestig@chromium.org>
Mon, 22 Jun 2015 22:36:49 +0000 (15:36 -0700)
commit0de47533e05ce7ca80c48156d50a217993e97288
tree768a23fe639072ec95ca86c10319b30ddf7abbc2
parent6ea012325fca56a37b9adbda2d3549569d242271
Fix Javascript tests after commit f55771af6429.

- Return true instead of false. All the other unsupported JS
  functions return true.
- Adjust test expectations accordingly.

TBR=jam@chromium.org

Review URL: https://codereview.chromium.org/1196163006.
fpdfsdk/src/javascript/Document.cpp
testing/resources/javascript/document_methods.in
testing/resources/javascript/document_methods_expected.txt