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

Unified Diff: testing/resources/pixel/bug_543018_2.in

Issue 1401923005: Loosen checking on the bytes following 'stream' (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 2 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
Index: testing/resources/pixel/bug_543018_2.in
diff --git a/testing/resources/pixel/bug_524043_1.in b/testing/resources/pixel/bug_543018_2.in
similarity index 75%
copy from testing/resources/pixel/bug_524043_1.in
copy to testing/resources/pixel/bug_543018_2.in
index 61ac6f4bb27b80dd3d4261cc23b9a83fa7a17ce3..4562e58c27e04b1a4860e55ef1df45737f79cb05 100644
--- a/testing/resources/pixel/bug_524043_1.in
+++ b/testing/resources/pixel/bug_543018_2.in
@@ -34,13 +34,14 @@ endobj
/BaseFont /Helvetica
>>
endobj
-% Case 1:
-% /Length identifies intended end of stream, despite embedded keywords.
-% Both should render as text.
+% Case 2:
+% Three white spaces and other chars follow the keyword "stream"
+% before end of line markers. They should be ignored. The content
+% in stream should be rendered as text.
{{object 6 0}} <<
/Length 107
>>
-stream
+stream "this part will be ignored"
BT
20 50 Td
/F1 12 Tf
« no previous file with comments | « testing/resources/pixel/bug_543018_1_expected_mac.pdf.0.png ('k') | testing/resources/pixel/bug_543018_2_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698