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

Unified Diff: testing/resources/bug_634394.in

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 | « fpdfsdk/javascript/JS_Object.cpp ('k') | testing/resources/bug_634394.pdf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/bug_634394.in
diff --git a/testing/resources/bug_551248.in b/testing/resources/bug_634394.in
similarity index 79%
copy from testing/resources/bug_551248.in
copy to testing/resources/bug_634394.in
index ad10e93912cb2323ded1665b4de5f8aafab5e0b5..528b4637da314def9192be2c71d081a63b45ce82 100644
--- a/testing/resources/bug_551248.in
+++ b/testing/resources/bug_634394.in
@@ -65,11 +65,16 @@ endobj
{{object 50 0}} <<
>>
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}}
« no previous file with comments | « fpdfsdk/javascript/JS_Object.cpp ('k') | testing/resources/bug_634394.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698