Skip to content

Bug 2034168 explicit permission for file access#44328

Open
rebloor wants to merge 4 commits into
mdn:mainfrom
rebloor:Bug-2034168-explicit-permission-for-file-access
Open

Bug 2034168 explicit permission for file access#44328
rebloor wants to merge 4 commits into
mdn:mainfrom
rebloor:Bug-2034168-explicit-permission-for-file-access

Conversation

@rebloor
Copy link
Copy Markdown
Contributor

@rebloor rebloor commented Jun 1, 2026

Description

Addresses the dev-doc-needed requirements of Bug 2034168 Add explicit permission for file:-access and implement extension.isAllowedFileSchemeAccess()

Changes include:

  • a release note
  • update to extension.isAllowedFileSchemeAccess() to remove the note about being returned false in Firefox (this and new behavior details now in BCD). Other tidy up edits.
  • update to extension to note change in permission triggers for isAllowedFileSchemeAccess and update permission details regarding private windows for isAllowedIncognitoAccess.
  • note on devtools.inspectedWindow.eval() that from Firefox 153, calling eval() on a file:// URL requires the user to grant file scheme access,

Related issues and pull requests

Relating BCD changes in mdn/browser-compat-data#29776

@rebloor rebloor requested review from Rob--W and bacharakis June 1, 2026 17:55
@rebloor rebloor self-assigned this Jun 1, 2026
@rebloor rebloor requested review from a team as code owners June 1, 2026 17:55
@rebloor rebloor requested review from pepelsbey and removed request for a team June 1, 2026 17:55
@rebloor rebloor added the Content:WebExt WebExtensions docs label Jun 1, 2026
@github-actions github-actions Bot added Content:Firefox Content in the Mozilla/Firefox subtree size/m [PR only] 51-500 LoC changed labels Jun 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Preview URLs (4 pages)

External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/153
Title: Firefox 153 release notes for developers (Nightly)

(comment last updated: 2026-06-04 23:14:18)

Copy link
Copy Markdown
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you 🙂

Not sure if it’s a technical review or an editorial one (it would be good to separate those), but I have a few suggestions.

Comment thread files/en-us/mozilla/add-ons/webextensions/intercept_http_requests/index.md Outdated
Comment thread files/en-us/mozilla/add-ons/webextensions/intercept_http_requests/index.md Outdated
Comment thread files/en-us/mozilla/firefox/releases/153/index.md Outdated
Comment thread files/en-us/mozilla/firefox/releases/153/index.md Outdated
Comment thread files/en-us/mozilla/add-ons/webextensions/intercept_http_requests/index.md Outdated
Copy link
Copy Markdown
Contributor Author

@rebloor rebloor Jun 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pepelsbey thanks for the feedback. However, this file shouldn't be in this PR, it's in Add use of declarativeNetRequest to the "Intercept HTTP requests" guide #44301 I'm addressed your feedback there and will be removing this file from the PR shortly

@github-actions github-actions Bot added size/s [PR only] 6-50 LoC changed and removed size/m [PR only] 51-500 LoC changed labels Jun 4, 2026
@rebloor rebloor requested a review from pepelsbey June 4, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Firefox Content in the Mozilla/Firefox subtree 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