Connect live TLS probes to TrustLab UI

This commit is contained in:
sergeych committed 2026-08-16 20:30:31 +04:00
1 parent 676d1f2ec8
commit 7b136ea8b8
7 files changed
+179 -15

No files matched your search

+3 -1
View File
@@ -42,6 +42,7 @@ test("UI model locates leaf and root policy failures precisely", () => {
test("certificate display names prefer the common name", () => {
assert.equal(subjectName("O=Village,CN=Library CA,C=GE"), "Library CA");
assert.equal(subjectName("O=Village\nCN=Library CA\nC=GE"), "Library CA");
assert.equal(subjectName("O=Nameless"), "O=Nameless");
});
@@ -95,7 +96,8 @@ test("security surface contains immutable-frame and simulation labels", async ()
assert.match(html, /Browsec security decision/);
assert.match(html, /Browser-owned test surface/);
assert.match(html, /TRUSTLAB · SYNTHETIC/);
assert.match(html, /It cannot alter browser trust/);
assert.match(html, /cannot alter browser or system trust/);
assert.match(html, /Live TLS target/);
assert.match(html, /Decision target/);
assert.match(html, /Effective and consumed local rules/);
});