summaryrefslogtreecommitdiff
path: root/testing/resources/javascript/apply_expected.txt
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-09-30 15:50:57 -0700
committerTom Sepez <tsepez@chromium.org>2015-09-30 15:50:57 -0700
commit016a347171b8df1b5c45c342bdba66a4e3c94365 (patch)
tree5895d4e79ea3ca7298bef6862befcfda201beecf /testing/resources/javascript/apply_expected.txt
parent397b5fd37d6a9609aa08eae812f417b8ed93c3a4 (diff)
downloadpdfium-016a347171b8df1b5c45c342bdba66a4e3c94365.tar.xz
Merge to XFA: Add signatures to FXJS_V8.
(cherry picked from commit 158e335717efba9dce3aa6f6d1e31ed884e1f59e) Original Review URL: https://codereview.chromium.org/1353193004 . TBR=jochen@chromium.org, krasin@google.com Review URL: https://codereview.chromium.org/1376343002 .
Diffstat (limited to 'testing/resources/javascript/apply_expected.txt')
-rw-r--r--testing/resources/javascript/apply_expected.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/resources/javascript/apply_expected.txt b/testing/resources/javascript/apply_expected.txt
new file mode 100644
index 0000000000..750676f235
--- /dev/null
+++ b/testing/resources/javascript/apply_expected.txt
@@ -0,0 +1,8 @@
+Alert: Applying to util itself - should succeed
+Alert: A
+Alert: Applying to array - should throw
+Alert: Caught: TypeError: Illegal invocation
+Alert: Applying to number - should throw
+Alert: Caught: TypeError: Illegal invocation
+Alert: Applying to wrong native obj - should throw
+Alert: Caught: TypeError: Illegal invocation