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

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: 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
« fpdfsdk/javascript/JS_Object.cpp ('K') | « 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_620428.pdf b/testing/resources/bug_634394.pdf
similarity index 96%
copy from testing/resources/bug_620428.pdf
copy to testing/resources/bug_634394.pdf
index ff625b7a2e387d4a2d67b1b14a2667bc18466075..a17a9f213e5153356f7277b1fe6d59736fe540aa 100644
--- a/testing/resources/bug_620428.pdf
+++ b/testing/resources/bug_634394.pdf
@@ -66,16 +66,16 @@ endobj
50 0 obj <<
>>
stream
+var timer = app.setTimeOut("fireTimeOut()", 3000);
+var interval = app.setInterval("fireInterval()", 1000);
function fireTimeOut() {
- app.alert("hello world");
+ app.alert("goodbye world");
+ app.clearInterval(interval);
}
function fireInterval() {
- app.alert("goodbye world");
+ app.alert("hello world");
+ app.clearInterval(interval);
}
-var timer = app.setTimeOut("fireTimeOut()", 3000);
-var interval = app.setInterval("fireInterval()", 1000);
-app.clearTimeOut(timer);
-app.clearInterval(interval);
endstream
endobj
xref
@@ -135,5 +135,5 @@ trailer <<
/Root 1 0 R
>>
startxref
-1135
+1143
%%EOF
« fpdfsdk/javascript/JS_Object.cpp ('K') | « testing/resources/bug_634394.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698