Closed Bug 1758239 Opened 3 years ago Closed 3 years ago

`personality-provider` and `activity-stream.discovery_stream.json` are created in Root Directory

Categories

(Toolkit Graveyard :: OS.File, defect, P3)

Firefox 98
x86_64
Windows 10

Tracking

(firefox-esr91 unaffected, firefox98 wontfix, firefox99 wontfix, firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- wontfix
firefox99 --- wontfix
firefox100 --- fixed

People

(Reporter: 6k64x4ma, Assigned: beth)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

  1. Launch Firefox with a new profile.
  2. Wait until personality-provider and activity-stream.discovery_stream.json are created.

Actual results:
They are created in Local Directory until https://archive.mozilla.org/pub/firefox/nightly/2022/01/2022-01-31-21-28-43-mozilla-central/
They are created in Root Directory since https://archive.mozilla.org/pub/firefox/nightly/2022/02/2022-02-01-09-39-42-mozilla-central/

Expected results:
I think they should be created in Local Directory.
Maybe this is regressed by Bug 1746667?

Flags: needinfo?(brennie)
Assignee: nobody → brennie
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(brennie)
Priority: -- → P3

This was not caught in tests because in a test both ProfD and ProfLD will map
to the same directory (e.g., on Windows they both map to
C:\Users\<username>\AppData\Local\Temp\<random>.mozrunner).

We only have two consumers of PathUtils.getLocalProfileDir : PersistentCache.jsm [1, 2] and PersonalityProviderWorkerClass.jsm [3]. I checked with :thecount and this will only result in us a) re-creating the discovery stream cache and b) re-running the personality provider worker, so I don't think this warrants an uplift.

Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d927e9e9329 Map PathUtils.getLocalProfileDir() to the correct method r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Regressed by: 1746667

Set release status flags based on info from the regressing bug 1746667

Has Regression Range: --- → yes
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: