Merge to XFA: Loosen checking on the bytes following 'stream'
authorJun Fang <jun_fang@foxitsoftware.com>
Fri, 16 Oct 2015 02:45:01 +0000 (10:45 +0800)
committerJun Fang <jun_fang@foxitsoftware.com>
Fri, 16 Oct 2015 03:13:50 +0000 (11:13 +0800)
commit45e40cefa58aa0c62cfeb3e58640a7c3ba21c987
tree8320be5c5d55c8eeb57444dfd050ccdee228df7b
parentd7426de1486f6cd71235ca482b91fc44cb3b205b
Merge to XFA: Loosen checking on the bytes following 'stream'

PDF specs say that end of line markers shall follow the
keyword "stream". But a white space before end of line
markers follows this keyword in the test pdf files.

BUG=543018
R=thestig@chromium.org, tsepez@chromium.org

Review URL: https://codereview.chromium.org/1401923005 .
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
testing/resources/pixel/bug_543018_1.in [new file with mode: 0644]
testing/resources/pixel/bug_543018_1_expected.pdf.0.png [new file with mode: 0644]
testing/resources/pixel/bug_543018_1_expected_mac.pdf.0.png [new file with mode: 0644]
testing/resources/pixel/bug_543018_2.in [new file with mode: 0644]
testing/resources/pixel/bug_543018_2_expected.pdf.0.png [new file with mode: 0644]
testing/resources/pixel/bug_543018_2_expected_mac.pdf.0.png [new file with mode: 0644]