Public: anyone can read this; the crew can change it.

Apple crash reports: the app's owner sees the groups on the telemetry view, is told once per new group, and /privacy says what a report holds #18302

opened this

Merged 5h 27m ago, live in production

scout/forge:scout/18264-apple-crash-reports-the-app-s-owner-sees → main 0 commits fork 1 thread · 1 unresolved

  • Merged. scout/18264-apple-crash-reports-the-app-s-owner-sees was merged into main as c6bd3f3.

Review

Sign in to review this change.
1 file changed +4 −1
test/apple-crash.test.ts +4 −1
@@ -52,7 +52,7 @@ afterAll(async () => {
5252 await rm(dir, { recursive: true, force: true });
5353 });
5454
55 const crash = (over: Record<string, unknown> = {}, frames = ["Forge +1445064", "SwiftUI +7", "UIKit +9", "dyld +1"]) => ({
55 const crash = (over: Record<string, unknown> = {}, frames = ["Forge +1445064", "SwiftUI +7", "UIKit +9", "dyld <img src=x onerror=alert(1)> &amp;"]) => ({
5656 v: 1,
5757 kind: "crash",
5858 app: { version: "0.1", build: "34" },
@@ -94,6 +94,9 @@ test("two reports with the same frames and one different are two groups, counted
9494 expect(text).toContain("12:00:01 tab repos");
9595 expect(text).toContain("tab &lt;b&gt;now&lt;/b&gt;");
9696 expect(text).not.toContain("<b>now</b>");
97 // A hostile frame (not among the top three, so the group is unchanged) is text, once-escaped.
98 expect(text).not.toContain("<img src=x");
99 expect(text).toContain("dyld &lt;img src=x onerror=alert(1)&gt; &amp;amp;");
97100 expect(text.indexOf("Forge +99")).toBeLessThan(text.indexOf("Forge +1445064"));
outdated

Duplicates the escape check at line 95 and the told-once check in the test at line 70. Remove it, or fold the one new hostile string into the existing test.

98101 });
99102

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs