Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: testing/resources/bug_572871.in

Issue 1569663002: Invalidate IPWL_FocusHandler and IPWL_Provider on destruction. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/pdfwindow/PWL_Wnd.cpp ('k') | testing/resources/bug_572871.pdf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {{header}} 1 {{header}}
2 {{object 1 0}} << 2 {{object 1 0}} <<
3 /Type /Catalog 3 /Type /Catalog
4 /Pages 2 0 R 4 /Pages 2 0 R
5 /OpenAction 4 0 R
6 /AcroForm 3 0 R 5 /AcroForm 3 0 R
6 /AA 11 0 R
7 >> 7 >>
8 endobj 8 endobj
9 {{object 2 0}} << 9 {{object 2 0}} <<
10 /Type /Pages 10 /Type /Pages
11 /Count 3 11 /Count 3
12 /Kids [6 0 R 7 0 R 8 0 R ] 12 /Kids [4 0 R 5 0 R 6 0 R ]
13 >> 13 >>
14 endobj 14 endobj
15 {{object 3 0}} << 15 {{object 3 0}} <<
16 /CO [11 0 R] 16 /CO [9 0 R]
17 /Fields [11 0 R 9 0 R] 17 /Fields [9 0 R 7 0 R]
18 >> 18 >>
19 endobj 19 endobj
20 {{object 4 0}} << 20 {{object 4 0}} <<
21 /Type /Action 21 /Type /Page
22 /S /JavaScript 22 /Parent 2 0 R
23 /JS 5 0 R 23 /MediaBox [0 0 612 792]
24 /Resources <<>>
24 >> 25 >>
25 endobj 26 endobj
26 {{object 5 0}} <<>> 27 {{object 5 0}} <<
27 stream 28 /Type /Page
28 var i = 0; 29 /Parent 2 0 R
29 function run() 30 /MediaBox [0 0 612 792]
30 { 31 /Resources <<>>
31 t = this.getField('txtName1'); 32 >>
32 t2 = this.getField('txtName2');
33 t2.setFocus();
34 t.setFocus();
35 t.value='G';
36 }
37
38 function remove(){
39 if (i==1){
40 this.removeField('txtName2');
41 }
42 i++;
43 }
44
45 app.setTimeOut('run()',2000);
46 endstream
47 endobj 33 endobj
48 {{object 6 0}} << 34 {{object 6 0}} <<
49 /Type /Page 35 /Type /Page
50 /Parent 2 0 R 36 /Parent 2 0 R
51 /MediaBox [0 0 612 792] 37 /MediaBox [0 0 612 792]
52 /Resources <<>> 38 /Resources <<>>
39 /Annots [7 0 R 9 0 R]
53 >> 40 >>
54 endobj 41 endobj
55 {{object 7 0}} << 42 {{object 7 0}} <<
56 /Type /Page 43 /FT /Tx
57 /Parent 2 0 R 44 /Type /Annot
58 /MediaBox [0 0 612 792] 45 /Subtype /Widget
59 /Resources <<>> 46 /T (txtName2)
47 /F 4
48 /AP <</N 8 0 R>>
49 /Rect [20 20 400 60]
60 >> 50 >>
61 endobj 51 endobj
62 {{object 8 0}} << 52 {{object 8 0}} <<
63 /Type /Page 53 /Type /XObject
64 /Parent 2 0 R 54 /Subtype /Form
65 /MediaBox [0 0 612 792] 55 /FormType 1
66 /Resources <<>>
67 /Annots [9 0 R 11 0 R]
68 >> 56 >>
69 endobj 57 endobj
70 {{object 9 0}} << 58 {{object 9 0}} <<
71 /FT /Tx 59 /FT /Tx
72 /Type /Annot 60 /Type /Annot
73 /Subtype /Widget 61 /Subtype /Widget
74 /T (txtName2) 62 /T (txtName1)
75 /F 4 63 /F 4
76 /AP <</N 10 0 R>> 64 /AP <</N 10 0 R>>
77 /Rect [20 20 400 60] 65 /Rect [200 200 400 260]
78 >> 66 >>
79 endobj 67 endobj
80 {{object 10 0}} << 68 {{object 10 0}} <<
81 /Type /XObject 69 /Type /XObject
82 /Subtype /Form 70 /Subtype /Form
83 /FormType 1 71 /FormType 1
84 >> 72 >>
85 endobj 73 endobj
86 {{object 11 0}} << 74 {{object 11 0}} <<
87 /FT /Tx 75 /WC 12 0 R
88 /Type /Annot
89 /Subtype /Widget
90 /T (txtName1)
91 /F 4
92 /AP <</N 12 0 R>>
93 /Rect [200 200 400 260]
94 /AA 13 0 R
95 >> 76 >>
96 endobj 77 endobj
97 {{object 12 0}} << 78 {{object 12 0}} <<
98 /Type /XObject 79 /Type /Action
99 /Subtype /Form 80 /S /JavaScript
100 /FormType 1 81 /JS 13 0 R
101 >> 82 >>
102 endobj 83 endobj
103 {{object 13 0}} << 84 {{object 13 0}} <<>>
104 /C 14 0 R
105 >>
106 endobj
107 {{object 14 0}} <<
108 /Type /Action
109 /S /JavaScript
110 /JS 15 0 R
111 >>
112 endobj
113 {{object 15 0}} <<>>
114 stream 85 stream
115 this.getField('txtName2').value='B'; 86 t = this.getField('txtName2');
116 this.pageNum=1; 87 t.setFocus();
117 remove();
118 endstream 88 endstream
119 endobj 89 endobj
120 {{xref}} 90 {{xref}}
121 trailer << 91 trailer <<
122 /Size 16 92 /Size 14
123 /Root 1 0 R 93 /Root 1 0 R
124 >> 94 >>
125 {{startxref}} 95 {{startxref}}
126 %%EOF 96 %%EOF
OLDNEW
« no previous file with comments | « fpdfsdk/src/pdfwindow/PWL_Wnd.cpp ('k') | testing/resources/bug_572871.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698