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 02:45:01 +0000 (10:45 +0800)
commitb5cbfb4cd12b6499912367f9a1e11c666157acb8
treed489c00745a1a9bc06319445c9e1342afd26b926
parent26268af2c1242dd173aea6dcbf763a36e734faf3
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]