Commit f6a69f4e authored by felt's avatar felt Committed by Commit bot

Check the warning "type" correctly for SSL warnings

After some refactoring work, the SSL warning JS code was no longer
checking the warning "type" correctly. This CL fixes that.

BUG=418851

Review URL: https://codereview.chromium.org/616743002

Cr-Commit-Position: refs/heads/master@{#297393}
parent 0a59e781
...@@ -11,7 +11,7 @@ var SSL_CMD_HELP = 4; ...@@ -11,7 +11,7 @@ var SSL_CMD_HELP = 4;
var SSL_CMD_CLOCK = 5; var SSL_CMD_CLOCK = 5;
function setupSSLDebuggingInfo() { function setupSSLDebuggingInfo() {
if (!loadTimeData.getBoolean('ssl')) if (!loadTimeData.getString('type') == 'SSL')
return; return;
// The titles are not internationalized because this is debugging information // The titles are not internationalized because this is debugging information
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment