Closed Bug 1853412 Opened 8 months ago Closed 8 months ago

Set matchAboutBlank to false in scripting.registerContentScripts for webcompat

Categories

(WebExtensions :: General, task)

task

Tracking

(firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: robwu, Assigned: rpl)

References

Details

(Whiteboard: [addons-jira])

Attachments

(2 files)

Until there is a better m-c fix (bug 1853409 / bug 1853411), we should set matchAboutBlank: true to false, at least for webcompat at https://searchfox.org/mozilla-central/rev/b741ddde6c678ca7025858952202d20664491555/toolkit/components/extensions/ExtensionScriptingStore.sys.mjs#182

This is needed to unblock bug 1853013.

Assignee: nobody → lgreco
Status: NEW → ASSIGNED

This patchs introduces an hidden pref named extensions.scripting.matchAboutBlankDefaultFalse,
it's only purpose is to more easily confirm if a bug reported to us for the scripting.registerContentScripts
API is due to the current default value set to true on the matchAboutBlank flag for all content scripts
registered through the scripting API.

Depends on D188354

Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/29225a0232c7
Set matchAboutBlank to false in scripting.registerContentScripts for webcompat. r=robwu
https://hg.mozilla.org/integration/autoland/rev/4d541d8eb017
Add an hidden pref for matchAboutBlank defaulting to false in scripting.registerContentScripts. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: