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

Unified 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 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 89%
copy from testing/resources/bug_551248.pdf
copy to testing/resources/bug_634394.pdf
index dea541a8de7344477c6af48229ff2f31354f718d..a17a9f213e5153356f7277b1fe6d59736fe540aa 100644
--- a/testing/resources/bug_551248.pdf
+++ b/testing/resources/bug_634394.pdf
@@ -66,14 +66,16 @@ endobj
50 0 obj <<
>>
stream
+var timer = app.setTimeOut("fireTimeOut()", 3000);
+var interval = app.setInterval("fireInterval()", 1000);
function fireTimeOut() {
- app.alert("timer fired");
+ app.alert("goodbye world");
+ app.clearInterval(interval);
}
function fireInterval() {
- app.alert("interval fired");
+ app.alert("hello world");
+ app.clearInterval(interval);
}
-app.setTimeOut("fireTimeOut()", 3000);
-app.setInterval("fireInterval()", 2000);
endstream
endobj
xref
@@ -133,5 +135,5 @@ trailer <<
/Root 1 0 R
>>
startxref
-1055
+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