DescriptionCheck for empty security info when sending security info to devtools
Currently, some responses (notably, redirects) can come in to
WebURLLoader without any security info
attached. DeserializeSecurityInfo() does not treat empty strings as a
deserialization error, so in this case we end up trying to extract SSL
information from a connection status of 0. Instead, check for the
empty string upfront and just tell devtools that the security state is
unknown.
Hopefully, we will soon be attaching security info to redirect
responses (https://codereview.chromium.org/1275743005/).
BUG=519120
TBR=davidben@chromium.org
Committed: https://crrev.com/4c45ed01617e021bad654ff89e47fdcfc6c9ea18
Cr-Commit-Position: refs/heads/master@{#342794}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 9 (2 generated)
|