Closed Bug 1771073 Opened 3 years ago Closed 3 years ago

Correct schemas in Nimbus Feature Manifest

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
104 Branch
Iteration:
104.1 - June 27 - July 8
Tracking Status
firefox104 --- fixed

People

(Reporter: beth, Assigned: beth)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

The features specified in the FeatureManfiest for cfr, infobar, spotlight, pbnewtab, and moments-page correspond to message types when they should actually support any fxms message in their corresponding message group

The Nimbus Features corresponding to FxMS messaging surfaces are actually
intended to map to FxMS message groups, which can accept any FxMS message.
The features have been updated with schemas that accept any FxMS message but
enforce that it targets the correct message group.

As part of this, all FxMS schemas have been updated with an $id so that they
can be bundled into feature schemas and have their internal $refs work.
(Otherwise, a $ref would be relative to the top-level schema instead of the
sub-schema). The previously unexposed FxMS schemas (for CFRUrlbarChiclet and
ToolbarBadgeMessage) are still unexposed as resource:// URIs because nothing
references them directly at runtime.

Additionally, each FxMS schema has had its template field become required and
requires a constant value for that schema (e.g., Spotlight requires a template
value of "spotlight").

A test has been added to ensure that if any of the messaging surfaces schemas
change that the feature schemas are also updated. The feature schemas can be
regenerated via:

cd ./browser/components/newtab/schemas
./make-schemas.py
Iteration: --- → 103.1 - May 30 - June 10
Priority: -- → P1
Iteration: 103.1 - May 30 - June 10 → 103.2 - June 13 - June 24
Blocks: 1775187
Blocks: 1775849
Blocks: 1776478
Iteration: 103.2 - June 13 - June 24 → 104.1 - June 27 - July 8
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66e738841713 Correct FxMS features and keep them up to date with tests r=dmose,pdahiya https://hg.mozilla.org/integration/autoland/rev/c91c8dd3a806 Make make-schemas.py executable r=dmose
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Regressions: 1777635
Blocks: 1778368
No longer blocks: 1778368
Regressions: 1778368
Blocks: 1814092
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: