Open Bug 2023163 Opened 21 days ago Updated 17 days ago

Provide app_collator_glue::compare() in the megazord context

Categories

(Application Services :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: hsivonen, Unassigned)

References

(Blocks 2 open bugs)

Details

Once bug 2022559 merges from autoland, Rust code in desktop Firefox will be able to use app_collator_glue::compare() to compare strings for sorting for presentation in the Firefox UI.

This function isn't available to application-services on mobile. It should be.

This involves:

  • Putting a version of app_collator_glue that removes everything but initialization and pub fn compare into the application-services repo as a crate that gets included in megazord but doesn't get vendored to Firefox desktop.
  • Figuring out what subset of collation data to ship in megazord (see bug 1986876 comment 1).
  • Figuring out how to obtain the app locale early in megazord initialization so that app_collator_glue can be initialized before anything calls compare.
You need to log in before you can comment on or make changes to this bug.