[Regression fix] [Data URI parser] Accept data URI with invalid mediatype data
r272022 introduced grammar check on the mediatype part in a data URI.
This broke applications that depend on the behavior that our
WebURLLoaderImpl and URLRequestDataJob accept data URIs with
incomplete mediatype such as "data:image;base64,xxx". Accept this kind
of data URI again for backward compatibility.
Instead, fallback to the default mediatype when
ParseMimeTypeWithoutParameter() returns false in DataURL::Parse() to
avoid generating Content-type header with invalid mediatype.
BUG=412479
Review URL: https://codereview.chromium.org/
555383003
Cr-Commit-Position: refs/heads/master@{#297593}