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

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

Issue 1416663008: Merge to XFA: Make JS app.setTimeOut() work again. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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 | « testing/embedder_test_timer_handling_delegate.h ('k') | testing/resources/bug_551248.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 /AcroForm 6 0 R 5 /AcroForm 6 0 R
6 /Names <</JavaScript 13 0 R>> 6 /Names <</JavaScript 13 0 R>>
7 >> 7 >>
8 endobj 8 endobj
9 {{object 2 0}} << 9 {{object 2 0}} <<
10 /Type /Pages 10 /Type /Pages
11 /Count 1 11 /Count 1
12 /Kids [4 0 R] 12 /Kids [4 0 R]
13 >> 13 >>
14 endobj 14 endobj
15 {{object 4 0}} << 15 {{object 4 0}} <<
16 /Type /Page 16 /Type /Page
17 /Parent 2 0 R 17 /Parent 2 0 R
18 /MediaBox [0 0 612 792] 18 /MediaBox [0 0 612 792]
19 /CropBox [0 0 612 792] 19 /CropBox [0 0 612 792]
20 /Resources <<>> 20 /Resources <<>>
21 /Annots [5 0 R]
22 >>
23 endobj
24 {{object 5 0}} <<
25 /FT /Tx
26 /Ff 29360128
27 /T (txtName)
28 /Type /Annot
29 /Subtype /Widget
30 /F 4
31 /M (D:20150514070426+05'30')
32 /Rect [180.279 715.6 256.186 744.072]
33 /BS <<
34 /W 1
35 /S /S
36 >>
37 /DA (/Helv 0 Tf 0 0 0 rg)
38 /AP <</N 8 0 R>>
39 /V ()
40 /AA 19 0 R
41 >> 21 >>
42 endobj 22 endobj
43 {{object 6 0}} << 23 {{object 6 0}} <<
44 /DR << 24 /DR <<
45 /Font <</Helv 7 0 R>> 25 /Font <</Helv 7 0 R>>
46 >> 26 >>
47 /DA (/Helv 0 Tf 0 g) 27 /DA (/Helv 0 Tf 0 g)
48 /Fields [5 0 R] 28 /Fields [5 0 R]
49 >> 29 >>
50 endobj 30 endobj
(...skipping 24 matching lines...) Expand all
75 {{object 11 0}} << 55 {{object 11 0}} <<
76 /Type /Action 56 /Type /Action
77 /S /JavaScript 57 /S /JavaScript
78 /JS 50 0 R 58 /JS 50 0 R
79 >> 59 >>
80 endobj 60 endobj
81 {{object 13 0}} << 61 {{object 13 0}} <<
82 /Names [(startDelay) 11 0 R] 62 /Names [(startDelay) 11 0 R]
83 >> 63 >>
84 endobj 64 endobj
85 {{object 19 0}} <<
86 /V 53 0 R
87 >>
88 endobj
89 {{object 50 0}} << 65 {{object 50 0}} <<
90 >> 66 >>
91 stream 67 stream
92 function startDelay() 68 function startDelay()
93 { 69 {
94 f = this.getField("txtName"); 70 app.alert("hello world");
95 f.delay = true;
96 f.value = 'test';
97 f.delay = false;
98 } 71 }
99 app.setTimeOut("startDelay()", 3000); 72 app.setTimeOut("startDelay()", 3000);
100 endstream 73 endstream
101 endobj 74 endobj
102 {{object 53 0}} <<
103 /Type /Action
104 /S /JavaScript
105 /JS 54 0 R
106 >>
107 endobj
108 {{object 54 0}} <<
109 >>
110 stream
111 f1 = this.getField("txtName");
112 f1.delay = true;
113 f1.value = 'test new';
114 f1.delay = false;
115 endstream
116 endobj
117 {{xref}} 75 {{xref}}
118 trailer << 76 trailer <<
119 /Root 1 0 R 77 /Root 1 0 R
120 >> 78 >>
121 {{startxref}} 79 {{startxref}}
122 %%EOF 80 %%EOF
OLDNEW
« no previous file with comments | « testing/embedder_test_timer_handling_delegate.h ('k') | testing/resources/bug_551248.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698