[Pkg-javascript-commits] [pdf.js] 80/161: Add load test for Issue #4461

David Prévot taffit at moszumanska.debian.org
Sat Apr 19 14:16:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 1d663876b15f70ed46d908b6cbff98a526b2d8d5
Author: Thorben Bochenek <thorbenb at opera.com>
Date:   Tue Mar 18 14:07:54 2014 +0100

    Add load test for Issue #4461
---
 test/pdfs/.gitignore    |  1 +
 test/pdfs/issue4461.pdf | 35 +++++++++++++++++++++++++++++++++++
 test/test_manifest.json |  7 +++++++
 3 files changed, 43 insertions(+)

diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore
index fe42cdf..aa06cc0 100644
--- a/test/pdfs/.gitignore
+++ b/test/pdfs/.gitignore
@@ -67,3 +67,4 @@
 !issue3885.pdf
 !bug859204.pdf
 !issue4246.pdf
+!issue4461.pdf
diff --git a/test/pdfs/issue4461.pdf b/test/pdfs/issue4461.pdf
new file mode 100644
index 0000000..7bdf364
--- /dev/null
+++ b/test/pdfs/issue4461.pdf
@@ -0,0 +1,35 @@
+%PDF-1.4
+%μῦ
+
+1 0 obj
+<</Parent 2 0 R/MediaBox[0 0 30 20]/Type/Page/Contents 3 0 R>>
+endobj
+
+2 0 obj
+<</Kids[1 0 R]/Type/Pages/Count 1>>
+endobj
+
+3 0 obj
+<</Length 0>>
+stream
+endstream
+endobj
+
+4 0 obj
+<</Pages 2 0 R/Type/Catalog>>
+endobj
+
+xref
+0 5
+0000000000 65536 f 
+0000000017 00000 n 
+0000000096 00000 n 
+0000000148 00000 n 
+0000000195 00000 n 
+
+trailer
+<</Size 5/Root 4 0 R/ID[<1861E1AD51AD0FE751FE9A71F1C854F5><1861E1AD51AD0FE751FE9A71F1C854F5>]>>
+
+startxref
+241
+%%EOF
diff --git a/test/test_manifest.json b/test/test_manifest.json
index 70d93e2..f0ec326 100644
--- a/test/test_manifest.json
+++ b/test/test_manifest.json
@@ -709,6 +709,13 @@
       "link": true,
       "type": "eq"
     },
+    {  "id": "issue4461-load",
+      "file": "pdfs/issue4461.pdf",
+      "md5": "9df4ecaae429adb5dc93d9342a53159d",
+      "rounds": 1,
+      "type": "load",
+      "about": "Document without /Resources entry in page dictionary"
+    },
     {  "id": "issue1249-load",
       "file": "pdfs/issue1249.pdf",
       "md5": "4f81339fa09422a7db980f34ea963609",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list