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

Side by Side Diff: testing/resources/bug_634394.pdf

Issue 2214003003: Fix issue when firing TimerProc() destroys timer (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase Created 4 years, 4 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 | « testing/resources/bug_634394.in ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 %PDF-1.7 1 %PDF-1.7
2 % ò¤ô 2 % ò¤ô
3 1 0 obj << 3 1 0 obj <<
4 /Type /Catalog 4 /Type /Catalog
5 /Pages 2 0 R 5 /Pages 2 0 R
6 /AcroForm 6 0 R 6 /AcroForm 6 0 R
7 /Names <</JavaScript 13 0 R>> 7 /Names <</JavaScript 13 0 R>>
8 >> 8 >>
9 endobj 9 endobj
10 2 0 obj << 10 2 0 obj <<
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 /JS 50 0 R 59 /JS 50 0 R
60 >> 60 >>
61 endobj 61 endobj
62 13 0 obj << 62 13 0 obj <<
63 /Names [(startDelay) 11 0 R] 63 /Names [(startDelay) 11 0 R]
64 >> 64 >>
65 endobj 65 endobj
66 50 0 obj << 66 50 0 obj <<
67 >> 67 >>
68 stream 68 stream
69 var timer = app.setTimeOut("fireTimeOut()", 3000);
70 var interval = app.setInterval("fireInterval()", 1000);
69 function fireTimeOut() { 71 function fireTimeOut() {
70 app.alert("timer fired"); 72 app.alert("goodbye world");
73 app.clearInterval(interval);
71 } 74 }
72 function fireInterval() { 75 function fireInterval() {
73 app.alert("interval fired"); 76 app.alert("hello world");
77 app.clearInterval(interval);
74 } 78 }
75 app.setTimeOut("fireTimeOut()", 3000);
76 app.setInterval("fireInterval()", 2000);
77 endstream 79 endstream
78 endobj 80 endobj
79 xref 81 xref
80 0 51 82 0 51
81 0000000000 65535 f 83 0000000000 65535 f
82 0000000015 00000 n 84 0000000015 00000 n
83 0000000118 00000 n 85 0000000118 00000 n
84 0000000000 65535 f 86 0000000000 65535 f
85 0000000181 00000 n 87 0000000181 00000 n
86 0000000000 65535 f 88 0000000000 65535 f
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 0000000000 65535 f 128 0000000000 65535 f
127 0000000000 65535 f 129 0000000000 65535 f
128 0000000000 65535 f 130 0000000000 65535 f
129 0000000000 65535 f 131 0000000000 65535 f
130 0000000000 65535 f 132 0000000000 65535 f
131 0000000822 00000 n 133 0000000822 00000 n
132 trailer << 134 trailer <<
133 /Root 1 0 R 135 /Root 1 0 R
134 >> 136 >>
135 startxref 137 startxref
136 1055 138 1143
137 %%EOF 139 %%EOF
OLDNEW
« no previous file with comments | « testing/resources/bug_634394.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698