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

Unified Diff: testing/resources/bug_551248.pdf

Issue 1424743006: Make JS app.setTimeOut() work again. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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
Index: testing/resources/bug_551248.pdf
diff --git a/testing/resources/bug_487928.pdf b/testing/resources/bug_551248.pdf
similarity index 69%
copy from testing/resources/bug_487928.pdf
copy to testing/resources/bug_551248.pdf
index dcfdebc1b0e73d4eeed9e401ea200b001548cece..cca1872ee7679be24520da251703bd62784af1c2 100644
--- a/testing/resources/bug_487928.pdf
+++ b/testing/resources/bug_551248.pdf
@@ -19,26 +19,6 @@ endobj
/MediaBox [0 0 612 792]
/CropBox [0 0 612 792]
/Resources <<>>
- /Annots [5 0 R]
->>
-endobj
-5 0 obj <<
- /FT /Tx
- /Ff 29360128
- /T (txtName)
- /Type /Annot
- /Subtype /Widget
- /F 4
- /M (D:20150514070426+05'30')
- /Rect [180.279 715.6 256.186 744.072]
- /BS <<
- /W 1
- /S /S
- >>
- /DA (/Helv 0 Tf 0 0 0 rg)
- /AP <</N 8 0 R>>
- /V ()
- /AA 19 0 R
>>
endobj
6 0 obj <<
@@ -83,60 +63,36 @@ endobj
/Names [(startDelay) 11 0 R]
>>
endobj
-19 0 obj <<
- /V 53 0 R
->>
-endobj
50 0 obj <<
>>
stream
function startDelay()
{
- f = this.getField("txtName");
- f.delay = true;
- f.value = 'test';
- f.delay = false;
+ app.alert("hello world");
}
app.setTimeOut("startDelay()", 3000);
endstream
endobj
-53 0 obj <<
- /Type /Action
- /S /JavaScript
- /JS 54 0 R
->>
-endobj
-54 0 obj <<
->>
-stream
-f1 = this.getField("txtName");
-f1.delay = true;
-f1.value = 'test new';
-f1.delay = false;
-endstream
-endobj
xref
-0 55
+0 51
0000000000 65535 f
0000000015 00000 n
0000000118 00000 n
0000000000 65535 f
0000000181 00000 n
-0000000320 00000 n
-0000000595 00000 n
-0000000697 00000 n
-0000000802 00000 n
0000000000 65535 f
+0000000302 00000 n
+0000000404 00000 n
+0000000509 00000 n
0000000000 65535 f
-0000000994 00000 n
0000000000 65535 f
-0000001062 00000 n
+0000000701 00000 n
0000000000 65535 f
+0000000769 00000 n
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
-0000001115 00000 n
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
@@ -167,14 +123,12 @@ xref
0000000000 65535 f
0000000000 65535 f
0000000000 65535 f
-0000001149 00000 n
0000000000 65535 f
0000000000 65535 f
-0000001341 00000 n
-0000001409 00000 n
+0000000822 00000 n
trailer <<
/Root 1 0 R
>>
startxref
-1537
+954
%%EOF

Powered by Google App Engine
This is Rietveld 408576698