Skip to content

Correction: Safari activeTab grants match patterns - #46312

Merged
Rob--W merged 1 commit into
mdn:mainfrom
Rob--W:activeTab-what-granted-in-Safari
Oct 28, 2026
Merged

Rob--W merged 1 commit into
mdn:mainfrom
Rob--W:activeTab-what-granted-in-Safari

Conversation

@Rob--W

@Rob--W Rob--W commented Oct 27, 2026

Copy link
Copy Markdown
Member

Description

The current documentation claims that Safari grants activeTab like Firefox, tied to the tab only. That is inaccurate; match patterns based on the tab's URL are granted instead.

Motivation

@kiaraarose (Apple) noted this inaccuracy when she looked at this article while working on the activeTab spec (w3c/webextensions#1152).

Additional details

In this comment on the original PR that added the docs (#45263 (comment) ) I linked to https://searchfox.org/wubkat/rev/c01e8de3c16c6d8b3c00ab2dbf958f2e8a4475b7/Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm#2384-2386 which clearly shows what is granted.

Related issues and pull requests

Fixup to #45263.

@Rob--W
Rob--W requested a review from a team as a code owner October 27, 2026 16:48
@Rob--W
Rob--W requested review from kzar and removed request for a team October 27, 2026 16:48
@github-actions github-actions Bot added Content:WebExt WebExtensions docs size/s [PR only] 6-50 LoC changed labels Oct 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@Rob--W

Rob--W commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

I am unable to select @kiaraarose as reviewer in the review list, but verbally spoke to her and she confirmed the expectations.

Dave, FYI: you were automatically/randomly chosen as reviewer because you are now a member of the team in MDN. This change looks like something you can verify/review, so I'll keep you as reviewer.

@rebloor rebloor self-assigned this Oct 27, 2026
@Rob--W
Rob--W merged commit 02f4053 into mdn:main Oct 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebExt WebExtensions docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants