Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug-1657575 webRequest.handlerBehaviorChanged implementation #26266

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rebloor
Copy link
Contributor

@rebloor rebloor commented Mar 21, 2025

Summary

Addresses the dev-docs-needed requirement for Bug 1657575 webRequest.handlerBehaviorChanged should clear caches, including stylesheet cache – the method was not implemented, contrary to the original browser compatibility data. The update records its incrementation as per the bug.

Related issues

PR for release note mdn/content#38744

@rebloor rebloor added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label Mar 21, 2025
@rebloor rebloor requested review from willdurand and dotproto March 21, 2025 02:04
@rebloor rebloor self-assigned this Mar 21, 2025
@github-actions github-actions bot added the size:s [PR only] 7-24 LoC changed label Mar 21, 2025
Comment on lines 1447 to +1450
"firefox": {
"version_added": "45"
},
"firefox_android": {
"version_added": "48"
"version_added": "138"
},
"firefox_android": "mirror",
Copy link
Collaborator

@dotproto dotproto Mar 21, 2025

Choose a reason for hiding this comment

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

We should note that the method was exposed but did not function as expected. I have not tested this suggested JSON, but it should follow the format described in the compat data schema docs.

Suggested change
"firefox": {
"version_added": "45"
},
"firefox_android": {
"version_added": "48"
"version_added": "138"
},
"firefox_android": "mirror",
"firefox": [
{
"version_added": "138"
},
{
"version_added": "45",
"partial_implementation": true,
"note": "Exposed but non-functional"
}
]
"firefox_android": [
{
"version_added": "138"
},
{
"version_added": "48",
"partial_implementation": true,
"note": "Exposed but non-functional"
}
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions size:s [PR only] 7-24 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants