Diff

Differences From Artifact [213cbbd233]:

To Artifact [2cf5ac6095]:


57
58
59
60
61
62
63














64
65
66

67
		globalCerts = certs;

		displayCerts(htmlObject, certs);
	});

	return;
}















setTimeout(function() {
	updateCertificates(document.getElementById('certificates'));

}, 1);







>
>
>
>
>
>
>
>
>
>
>
>
>
>



>

57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
		globalCerts = certs;

		displayCerts(htmlObject, certs);
	});

	return;
}

function updateCertificateProvider(htmlObject) {
	var resultHTML;

	if (chrome.certificateProvider) {
		resultHTML = "Yes (ChromeOS)";
	} else {
		resultHTML = "<b>No, informational only.</b>";
	}

	htmlObject.innerHTML = resultHTML;

	return;
}

setTimeout(function() {
	updateCertificates(document.getElementById('certificates'));
	updateCertificateProvider(document.getElementById('certificate_provider'));
}, 1);