Closed Bug 1722078 Opened 3 years ago Closed 3 years ago

Fenix tries to load non-existent app-extension-fields.properties l10n file

Categories

(Toolkit :: Add-ons Manager, task, P2)

All
Android
task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox92 --- wontfix
firefox95 --- fixed

People

(Reporter: Gijs, Assigned: robwu)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1722076 +++

In bug 1721627 I'm experimenting with making tests fail if we request internal resources that aren't present. The idea is to prevent patches from landing if they mis-spell (or forget to hg add, or forget to include in jar.mn or similar) subresources like CSS files and images, by failing if we hit chrome: or resource: URLs in tests that are not available (ie where the internal jar/file code cannot find the relevant file).

In addition to bug 1721910, and bug 1722076 , android jobs appear to fail because XPIDatabase.jsm tries to load app-extension-fields.properties which does not exist on android.

Certainly maintaining the status quo without the added work of trying to load a non-existent file is the trivial fix here, so that's what I'm tempted to go for unless someone else thinks that's not right?

Either the tests should ignore those particular properties files, or XPIDatabase should check if they exist before trying to access them.

https://searchfox.org/mozilla-central/rev/290f33a3245f61f34ec5f80f548e6584823ba9ad/toolkit/mozapps/extensions/internal/XPIDatabase.jsm#1328-1335

Severity: -- → N/A
Type: defect → task
Priority: -- → P2

The translations are moving to Fluent as part of bug 1729738.
In the code review process I'm accounting for this bug, so once bug 1729738 is resolved this bug will probably be fixed too.

Depends on: 1729738

The file is no longer being loaded since the patch for bug 1729738.

Assignee: nobody → rob
Status: NEW → ASSIGNED
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/bcfd527a95b4 Remove obsolete reference to app-extension-fields.properties r=Gijs,necko-reviewers,valentin
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: