refactor(browser): clarify inspector capture identifiers

This commit is contained in:
morluto
2026-07-24 13:34:07 +00:00
parent fd25a7e15a
commit ca035a75eb
3 changed files with 17 additions and 12 deletions
+3 -1
View File
@@ -256,8 +256,10 @@ describe("browserScenarioSchema", () => {
});
it("rejects embedded URL credentials and query values", () => {
const credentialedUrl = new URL("https://app.example.test/");
credentialedUrl.username = String.fromCodePoint(120);
for (const url of [
"https://user@app.example.test/",
credentialedUrl.href,
"https://app.example.test/?token=raw",
]) {
const scenario = baseScenario();