xref: /aosp_15_r20/external/pdfium/testing/resources/javascript/bug_1142688.in (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1{{header}}
2{{object 1 0}} <<
3  /Type /Catalog
4  /Pages 5 0 R
5  /AcroForm <<
6    /Fields [
7      3 0 R
8      2 0 R
9    ]
10  >>
11>>
12endobj
13{{object 2 0}} <<
14  /Type /Annot
15  /Subtype /Widget
16  /FT /Tx
17  /T (tf1)
18>>
19endobj
20{{object 3 0}} <<
21  /Type /Annot
22  /Subtype /Widget
23  /FT /Tx
24  /T (tf0)
25  /AA <<
26    /F 10 0 R
27  >>
28>>
29endobj
30{{object 5 0}} <<
31  /Type /Pages
32  /Count 2
33  /Kids [
34    8 0 R
35    9 0 R
36  ]
37>>
38endobj
39{{object 8 0}} <<
40  /Type /Page
41  /Parent 5 0 R
42  /Annots [3 0 R]
43>>
44endobj
45{{object 9 0}} <<
46  /Type /Page
47  /Parent 5 0 R
48  /Annots [2 0 R]
49>>
50endobj
51{{object 10 0}} <<
52  /Type /Action
53  /S /JavaScript
54  /JS 13 0 R
55>>
56{{object 13 0}} <<
57  {{streamlen}}
58>>
59stream
60function f3() {
61  // Setup dubious values in event recorder.
62  try { AFSpecial_Format(2); } catch(e) {}
63  try { AFNumber_Format(-302907477,0,1,-6,"",true); } catch(e) {}
64
65  // Exhaust call stack, then do work upon exiting each frame. The
66  // objective is to get any call() made under the covers to throw
67  // with a stack size exception.
68  try { f3(); } catch(e) {}
69  try { AFDate_Keystroke("yymm-dd"); } catch(e) {}
70}
71f3();
72app.alert('Done.');
73endstream
74endobj
75{{xref}}
76{{trailer}}
77{{startxref}}
78%%EOF
79