Chromium Code Reviews| Index: testing/resources/bookmarks_circular.in |
| diff --git a/testing/resources/bookmarks_circular.in b/testing/resources/bookmarks_circular.in |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..48a5695e17d2fc203bfe66d8f34702bfbe4cb549 |
| --- /dev/null |
| +++ b/testing/resources/bookmarks_circular.in |
| @@ -0,0 +1,98 @@ |
| +{{header}} |
| +{{object 1 0}} << |
| + /Type /Catalog |
| + /Pages 2 0 R |
| + /Outlines 14 0 R |
| +>> |
| +endobj |
| +{{object 2 0}} << |
| + /Type /Pages |
| + /Count 2 |
| + /Kids [ |
| + 3 0 R |
| + 4 0 R |
| + ] |
| +>> |
| +endobj |
| +% Page number 0. |
| +{{object 3 0}} << |
| + /Type /Page |
| + /Parent 2 0 R |
| + /Resources << |
| + /Font <</F1 15 0 R>> |
| + >> |
| + /Contents [21 0 R] |
| + /MediaBox [0 0 612 792] |
| +>> |
| +endobj |
| +% Page number 1. |
| +{{object 4 0}} << |
| + /Type /Page |
| + /Parent 2 0 R |
| + /Resources << |
| + /Font <</F1 15 0 R>> |
| + >> |
| + /Contents [22 0 R] |
| + /MediaBox [0 0 612 792] |
| +>> |
| +endobj |
| +% First bookmark |
| +{{object 10 0}} << |
| + /Title (A Good Beginning) |
| + /Parent 14 0 R |
| + /Next 11 0 R |
| + /Dest (foo) |
| +>> |
| +endobj |
| +% Last bookmark |
| +{{object 11 0}} << |
| + /Title (A Good Ending) |
| + /Parent 14 0 R |
| + /Next 10 0 R |
| + /Dest (bar) |
| +>> |
| +endobj |
| +% Root bookmark |
| +{{object 14 0}} << |
| + /Type /Outlines |
| + /First 10 0 R |
| + /Last 11 0 R |
| + /Count 2 |
| +>> |
| +endobj |
| +% Font resource. |
| +{{object 15 0}} << |
| + /Type /Font |
| + /Subtype /Type1 |
| + /BaseFont /Arial |
| +>> |
| +endobj |
| +% Content for page 0. |
| +{{object 21 0}} << |
| + /Length 0 |
| +>> |
| +stream |
| +BT |
| +/F1 20 Tf |
| +100 600 TD (Page1)Tj |
| +ET |
| +endstream |
| +endobj |
| +% Content for page 1. |
| +{{object 22 0}} << |
| + /Length 0 |
| +>> |
| +stream |
| +BT |
| +/F1 20 Tf |
| +100 600 TD (Page2)Tj |
| +ET |
| +endstream |
| +endobj |
| +{{xref}} |
| +trailer << |
| + /Size 6 |
| + /Root 1 0 R |
| +>> |
| +{{startxref}} |
| +%%EOF |