diff options
author | tonikitoo <tonikitoo@igalia.com> | 2016-08-10 12:29:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-10 12:29:28 -0700 |
commit | ec2687680b0d033c3634e8dd0f8d8586c13494f6 (patch) | |
tree | c9873898fbba810c446ddfd21fdd0a4cdc60f428 /testing/resources | |
parent | 401d4f235114d7857c9c284a70cbb53a3e49bca1 (diff) | |
download | pdfium-ec2687680b0d033c3634e8dd0f8d8586c13494f6.tar.xz |
Make Document's 'info' property readonly
As per the PDF specification in [1], page 103, the
'info' property of the Document object is readonly.
[1] http://partners.adobe.com/public/developer/en/acrobat/sdk/5186AcroJS.pdf
Review-Url: https://codereview.chromium.org/2235883003
Diffstat (limited to 'testing/resources')
-rw-r--r-- | testing/resources/javascript/document_props_expected.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/resources/javascript/document_props_expected.txt b/testing/resources/javascript/document_props_expected.txt index 90914cda51..28172ee609 100644 --- a/testing/resources/javascript/document_props_expected.txt +++ b/testing/resources/javascript/document_props_expected.txt @@ -46,7 +46,7 @@ Alert: ERROR: Document.documentFileName: Cannot assign to readonly property. Alert: this.external = 3; yields 3 Alert: ERROR: Document.filesize: Cannot assign to readonly property. Alert: ERROR: Document.icons: Cannot assign to readonly property. -Alert: this.info = 3; yields 3 +Alert: ERROR: Document.info: Cannot assign to readonly property. Alert: this.keywords = 3; yields 3 Alert: this.layout = 3; yields 3 Alert: this.media = 3; yields 3 |