Bug 230723 - Cookies are not being sent from Web Extension's background page for wss socket connection
Summary: Cookies are not being sent from Web Extension's background page for wss socke...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Intel) macOS 11
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-23 15:15 PDT by Mikhail Labanov
Modified: 2023-03-11 07:49 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Labanov 2021-09-23 15:15:50 PDT
Steps to reproduce:

1. Create new web extension
2. Visit some domain you control to have it's cookies in the Browser
2. On the background page of the extension, try to create new secure websocket connection to the same domain (wss://, backend must be able to handle socket connections, of course)

Expected outcome:
Connection established, cookies for domain are sent with it, backend is able to read them

Real outcome:
Connection established, cookies for domain are not visible from the backend, as if they were not sent

Additional information:
Developer Tools show what cookies are being sent and recieved from backend during connection, but backend can't see them.
Looks like they are lost somewhere during connection
Comment 1 Radar WebKit Bug Importer 2021-09-23 15:32:41 PDT
<rdar://problem/83468404>