feat(browser): inspect retained aioquic qlog JSON captures
Inspect bounded offline aioquic1.5.0 JSON qlog0.3 and page retained event/transport facts with explicit trace and stream selectors. Preserve producer coordinates, exact numeric lexemes, global pre-selection fact scope and endpoint declaration uncertainty. Verified four real HTTP/3 recordings with an independent interval oracle, public CLI/MCP/schema parity, auth exclusions, source-deletion views and actual decoder heap exhaustion. Unverified producer platforms and qlog-specific lifecycle induction remain documented. Co-authored-by: LuisTaffelli <86675342+LuisTaffelli@users.noreply.github.com> Co-authored-by: N0zoM1z0 <161784452+N0zoM1z0@users.noreply.github.com>
This commit is contained in:
@@ -53,8 +53,30 @@ export const excludeCaptureCoordinates = (
|
||||
numeric_literals: sidecars(value.container.numeric_literals),
|
||||
redactions: sidecars(value.container.redactions),
|
||||
};
|
||||
const qlog =
|
||||
value.format === "qlog"
|
||||
? {
|
||||
...value.qlog,
|
||||
traces: value.qlog.traces.map((trace) => {
|
||||
if (
|
||||
trace.location.kind !== "json-pointer" ||
|
||||
!sensitive(trace.location.pointer)
|
||||
)
|
||||
return trace;
|
||||
excluded = true;
|
||||
return {
|
||||
...trace,
|
||||
location: {
|
||||
kind: "unknown" as const,
|
||||
reason: "explicit-sensitive-value" as const,
|
||||
},
|
||||
};
|
||||
}),
|
||||
}
|
||||
: undefined;
|
||||
return {
|
||||
...value,
|
||||
...(qlog === undefined ? {} : { qlog }),
|
||||
container,
|
||||
records,
|
||||
limitations: excluded
|
||||
|
||||
Reference in New Issue
Block a user