Description[Service Workers] DCHECK from WebServiceWorkerResponse::visitHTTPHeaderFields.
Headers are ISO 8859-1 (also called ISO Latin 1), and not ASCII, any attempt of
|base::UTF16ToASCII| may result into DCHECK.
This patch fixes the issue by replacing |base::UTF16ToASCII| with
|blink::WebString.latin1()| API.
BUG=537127
TEST=serviceworker/iso-latin1-header.html
Committed: https://crrev.com/348710b1cacbef1d1cd7057be134fa56cd34fdab
Cr-Commit-Position: refs/heads/master@{#353700}
Patch Set 1 : #Patch Set 2 : Added LayoutTest. #
Total comments: 2
Messages
Total messages: 18 (5 generated)
|