Skip to content

docs(browsercontext): undeprecate setHTTPCredentials - #42419

Merged
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
dgozman:undeprecate-set-http-credentials
Aug 26, 2026
Merged

docs(browsercontext): undeprecate setHTTPCredentials#42419
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
dgozman:undeprecate-set-http-credentials

Conversation

@dgozman

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the deprecated annotation from BrowserContext.setHTTPCredentials.
  • Document instead that browsers may cache credentials per origin, so changing credentials for an already-authenticated origin may have no effect.

Note that browsers may cache credentials per origin instead.
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

3 flaky⚠️ [chromium-library] › library/chromium/chromium.spec.ts:213 › should intercept service worker requests (main and within) `@chromium-ubuntu-22.04-node24`
⚠️ [chromium-library] › library/video.spec.ts:664 › screencast › should capture full viewport `@chromium-ubuntu-22.04-node20`
⚠️ [firefox-page] › page/page-event-request.spec.ts:181 › should return response body when Cross-Origin-Opener-Policy is set `@firefox-ubuntu-22.04-node20`

51262 passed, 1237 skipped


Merge workflow run.

@dgozman
Dmitry Gozman (dgozman) merged commit 2ea99e1 into microsoft:mainAug 26, 2026
43 of 44 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dgozman@yury-s