xref: /aosp_15_r20/external/pdfium/testing/resources/javascript/bug_1098213.in (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1{{header}}
2{{object 1 0}} <<
3  /Type /Catalog
4  /Pages 2 0 R
5  /OpenAction 8 0 R
6>>
7endobj
8{{object 2 0}} <<
9  /Type /Pages
10  /Count 2
11  /Kids [
12    3 0 R
13    4 0 R
14  ]
15>>
16endobj
17{{object 3 0}} <<
18  /Type /Page
19  /Parent 2 0 R
20  /CropBox [179 173 200 75]
21>>
22endobj
23{{object 4 0}} <<
24  /Type /Page
25  /Parent 2 0 R
26  /CropBox [127 214 186 29]
27  /Annots [
28    5 0 R
29    6 0 R
30    7 0 R
31  ]
32>>
33endobj
34{{object 5 0}} <<
35  /Type /Annot
36>
37endobj
38{{object 6 0}} <<
39  /Type /Annot
40>>
41endobj
42{{object 7 0}} <<
43  /Type /Annot
44>>
45endobj
46{{object 8 0}} <<
47  /Type /Action
48  /S /JavaScript
49  /JS (
50    Object.defineProperty(Array.prototype, 1, {
51      set: (v) => {
52        Object.defineProperty(Array.prototype, 1, {
53          get: () => {}
54        });
55      }
56    });
57    try { this.getAnnots(); } catch (e) { app.alert('Caught: ' + e); }
58    app.alert('Done');
59  )
60>>
61endobj
62{{xref}}
63{{trailer}}
64{{startxref}}
65%%EOF
66