aboutsummaryrefslogtreecommitdiff
path: root/testing/resources/javascript/bug_1445426.in
blob: 1483da72f5759e9f2c8fdb538d5c6fa0cd1611c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{{header}}
{{object 1 0}} <<
  /Type /Catalog
  /Pages 2 0 R
  /AcroForm 4 0 R
  /OpenAction 40 0 R
>>
endobj
{{object 2 0}} <<
  /Type /Pages
  /Count 2
  /Kids [
    32 0 R
    34 0 R
  ]
>>
endobj
% Forms
{{object 4 0}} <<
  /Fields [
    10 0 R
    11 0 R
  ]
>>
endobj
% Fields
{{object 10 0}} <<
  /Type /Annot
  /Subtype /Widget
  /FT /Tx
  /T (Field_TextEdit)
  /Rect [0 0 612 792]
>>
{{object 11 0}} <<
  /T (Field_ComboBox)
  /Parent 4 0 R
  /Kids [12 0 R]
  /Opt [(a) (b) (c) (d)]
  /V [(a)]
>>
endobj
{{object 12 0}} <<
  /Type /Annot
  /Subtype /Widget
  /FT /Ch
  /Ff 131072
  /Parent 11 0 R
  /Kids [13 0 R]
>>
endobj
{{object 13 0}} <<
  /Parent 12 0 R
  /Type /Annot
  /Subtype /Widget
  /Rect [0 0 612 792]
  /AA << /K 20 0 R >>
>>
endobj
% Pages
{{object 32 0}} <<
  /Type /Page
  /Parent 2 0 R
  /MediaBox [0 0 612 792]
  /Annots [13 0 R]

>>
endobj
{{object 34 0}} <<
  /Type /Page
  /Parent 2 0 R
  /MediaBox [0 0 612 792]
  /Annots [10 0 R]
>>
endobj
% Document JS Action
{{object 40 0}} <<
  /Type /Action
  /S /JavaScript
  /JS 41 0 R
>>
endobj
% JS program to exexute
{{object 41 0}} <<
  {{streamlen}}
>>
stream
var field_text = this.getField("Field_TextEdit");
var field_combobox = this.getField("Field_ComboBox");
field_combobox.setFocus();
this.__defineGetter__("filesize", function new_getter(){
                                    field_text.setFocus();
                                    field_combobox.borderStyle="dashed";
                                    field_combobox.setFocus();
                                  });
endstream
endobj
% OpenAction action
{{object 20 0}} <<
  /S /JavaScript
  /JS 21 0 R
>>
endobj
% JS program to exexute
{{object 21 0}} <<
  {{streamlen}}
>>
stream
var t = this.filesize;
endstream
endobj
{{xref}}
{{trailer}}
{{startxref}}
%%EOF