Closed Bug 1844956 Opened 1 year ago Closed 1 year ago

Use fluent-rs in browser_misused_characters_in_strings.js

Categories

(Core :: Internationalization, task)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(2 files)

(In reply to Ted Campbell [:tcampbell] from bug 1834205 comment #2)

The FluentSyntax.jsm is only used for a single test case, so maybe we should just try to avoid the dependency on fluent.js entirely now. Maybe it is possible to use https://docs.rs/fluent/latest/fluent/struct.FluentResource.html#method.entries in fluent-rs? It could be somehow exposed on the FluentResource webidl so that most of the plumbing could be reused.

Depends on D184329

Duplicate of this bug: 1834205
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/72fb5cfada1a Part 1: Use fluent-rs to collect TextElement in browser_misused_characters_in_strings.js. r=emilio https://hg.mozilla.org/integration/autoland/rev/242016d2ee9e Part 2: Remove FluentSyntax.jsm. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: