Closed Bug 1832791 Opened 1 year ago Closed 1 year ago

Implement a Remote Settings for the Quarantined Domains pref

Categories

(WebExtensions :: General, enhancement, P1)

enhancement

Tracking

(firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: zombie, Assigned: rpl)

References

Details

(Keywords: sec-other, Whiteboard: [adv-main115-])

Attachments

(1 file)

We need to have ability to set the list of quarantined domains remotely. The pref should be a string with the same format as extensions.webextensions.restrictedDomains.

The pref will be extensions.webextensions.quarantinedDomains, and it will have a default value set in a patch for bug 1745823 (to include a couple real but "test" subdomains from badssl.com).

Filing as confidential for now, until we ship the system addon.

Should these bugs be MoCo confidential instead? If not please mark them sec-other or something so they don't show up in triage. Thanks.

Keywords: sec-other

Yeah we were discussing exactly this, as the confidential checkbox says "non-security", and this is security related (though not a bug).

Group: firefox-core-security → mozilla-employee-confidential

This patch introduce a small set of changes applied on AMRemoteSettings to:

  • support RS collection entries that are going to set prefs of type string
  • support setting prefs that match a given preference name prefix
  • support for a new RS collection entry property named quarantinedDomains, from which AMRemoteSettings
    will pick up any preference name prefixed as "extensions.webextensions.quarantinedDomains."

Along with the changes on the AMRemoteSettings side, this patch include also the changes to the
JSONSchema associated to the "addon-manager-settings" collection on the RemoteSettings server side
(to include a new property and definition for quarantinedDomains, and a patternProperties which
enforces the preference name convention and expected value type for all quarantinedDomains properties).

Severity: -- → N/A
Priority: -- → P1
Assignee: nobody → lgreco
Attachment #9334866 - Attachment description: WIP: Bug 1832791 - Add to AMRemoteSettings support for quarantinedDomains RemoteSettings entries. → Bug 1832791 - Add to AMRemoteSettings support for quarantinedDomains RemoteSettings entries. r?robwu!,zombie
Status: NEW → ASSIGNED
Blocks: 1834825
No longer blocks: 1745823
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Group: mozilla-employee-confidential
Whiteboard: [adv-main115-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: