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

Unified Diff: testing/resources/bug_634394.pdf

Issue 2247083002: Merge to M53: Fix issue when firing TimerProc() destroys timer (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@2785
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/resources/bug_634394.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/bug_634394.pdf
diff --git a/testing/resources/bug_551248.pdf b/testing/resources/bug_634394.pdf
similarity index 88%
copy from testing/resources/bug_551248.pdf
copy to testing/resources/bug_634394.pdf
index cca1872ee7679be24520da251703bd62784af1c2..a17a9f213e5153356f7277b1fe6d59736fe540aa 100644
--- a/testing/resources/bug_551248.pdf
+++ b/testing/resources/bug_634394.pdf
@@ -66,11 +66,16 @@ endobj
50 0 obj <<
>>
stream
-function startDelay()
-{
+var timer = app.setTimeOut("fireTimeOut()", 3000);
+var interval = app.setInterval("fireInterval()", 1000);
+function fireTimeOut() {
+ app.alert("goodbye world");
+ app.clearInterval(interval);
+}
+function fireInterval() {
app.alert("hello world");
+ app.clearInterval(interval);
}
-app.setTimeOut("startDelay()", 3000);
endstream
endobj
xref
@@ -130,5 +135,5 @@ trailer <<
/Root 1 0 R
>>
startxref
-954
+1143
%%EOF
« 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