Bug 218705 - No cookies access for extension pages opened through browser.windows.create or in iframe
Summary: No cookies access for extension pages opened through browser.windows.create o...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: Safari 14
Hardware: Mac All
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-09 06:08 PST by Rustem
Modified: 2020-11-10 19:41 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 Rustem 2020-11-09 06:08:20 PST
This bug releated to Web Extensions in Safari 14.

When I try to open a window with browser.windows.create (or include an iframe on page) pointing to my index.html and inside of it I make an API requests to host (https) that explicitly specified in permissions manifest field, the cookies are not send to this host.

So in other words I can't do API requests to my own server from such windows. This works only from browser_action popover.

This behaviour differs from all other browsers, they allow to do this.
Comment 1 Smoley 2020-11-09 11:40:57 PST
Thanks for filing. Safari Web Extensions issues are not typically tracked on bugs.WebKit.org.

Please file this feedback via feedbackassistant.apple.com.