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

Unified Diff: testing/resources/bug_551248.pdf

Issue 2211513002: Add test for bug 620428 (setinterval cancellation) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: EXPECT_TRUE is simpler 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_551248.in ('k') | testing/resources/bug_620428.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/bug_551248.pdf
diff --git a/testing/resources/bug_551248.pdf b/testing/resources/bug_551248.pdf
index cca1872ee7679be24520da251703bd62784af1c2..dea541a8de7344477c6af48229ff2f31354f718d 100644
--- a/testing/resources/bug_551248.pdf
+++ b/testing/resources/bug_551248.pdf
@@ -66,11 +66,14 @@ endobj
50 0 obj <<
>>
stream
-function startDelay()
-{
- app.alert("hello world");
+function fireTimeOut() {
+ app.alert("timer fired");
}
-app.setTimeOut("startDelay()", 3000);
+function fireInterval() {
+ app.alert("interval fired");
+}
+app.setTimeOut("fireTimeOut()", 3000);
+app.setInterval("fireInterval()", 2000);
endstream
endobj
xref
@@ -130,5 +133,5 @@ trailer <<
/Root 1 0 R
>>
startxref
-954
+1055
%%EOF
« no previous file with comments | « testing/resources/bug_551248.in ('k') | testing/resources/bug_620428.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698