summaryrefslogtreecommitdiff
path: root/testing/resources/javascript/document_props_expected.txt
diff options
context:
space:
mode:
authortonikitoo <tonikitoo@igalia.com>2016-08-08 10:52:51 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-08 10:52:51 -0700
commit33c4cdb4efbacb73151c982549151ea4e545eff8 (patch)
treef8ddbbc8ec7b14a80b01c1d6004cde446e4da056 /testing/resources/javascript/document_props_expected.txt
parente5aff74a43a2c3355a8b7699a47d0fb7f23b243e (diff)
downloadpdfium-33c4cdb4efbacb73151c982549151ea4e545eff8.tar.xz
Add support to Document::URL property getter.
As per the PDF specification at [1] " This property specifies the document's URL. ". IE/Acrobat supports it, and getting it implemented would be one step forward in order to support Acrobat JS script as the one in [2]. [1] http://partners.adobe.com/public/developer/en/acrobat/sdk/5186AcroJS.pdf [2] https://bugs.chromium.org/p/pdfium/issues/detail?id=492 BUG=492 Review-Url: https://codereview.chromium.org/2219183002
Diffstat (limited to 'testing/resources/javascript/document_props_expected.txt')
-rw-r--r--testing/resources/javascript/document_props_expected.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/resources/javascript/document_props_expected.txt b/testing/resources/javascript/document_props_expected.txt
index 4b60a624da..90914cda51 100644
--- a/testing/resources/javascript/document_props_expected.txt
+++ b/testing/resources/javascript/document_props_expected.txt
@@ -28,6 +28,7 @@ Alert: this.path is string /
Alert: this.producer is string
Alert: this.subject is string
Alert: this.title is string
+Alert: this.URL is string
Alert: this.zoom is undefined undefined
Alert: this.zoomType is undefined undefined
Alert: *** Setting properties ***
@@ -61,6 +62,7 @@ Alert: ERROR: Document.path: Cannot assign to readonly property.
Alert: this.producer = 3; yields 3
Alert: this.subject = 3; yields 3
Alert: this.title = 3; yields 3
+Alert: ERROR: Document.URL: Cannot assign to readonly property.
Alert: this.zoom = 3; yields 3
Alert: this.zoomType = 3; yields 3
Alert: *** Getting properties ***
@@ -93,5 +95,6 @@ Alert: this.path is string /
Alert: this.producer is string 3
Alert: this.subject is string 3
Alert: this.title is string 3
+Alert: this.URL is string
Alert: this.zoom is undefined undefined
Alert: this.zoomType is undefined undefined