Open Bug 1874291 Opened 1 year ago Updated 1 year ago

Don't include directory in `browser/components/urlbar/tests/browser/browser.toml`

Categories

(Testing :: General, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: nalexander, Unassigned)

References

(Regression)

Details

(Keywords: regression)

In browser/components/urlbar/tests/browser/browser.toml, this line ends up symlinking from the object directory to a directory in the source directory. When the symlink is iterated by build manifest processing, this ends up deleting entries in the source directory. This is exactly the situation documented here. Yikes!

There are two parts to this ticket. The first is simply to update the offending line, perhaps to

["browser_recentsearches.js"]
support-files = ["search-engines/*"]

which works for me locally. The second and more important part is to ensure that support-files (and similar invocations) reject directories entirely. I don't know where the latter should be enforced.

I found this while trying to improve mach test performance on Windows as part of Bug 1867834 (but there's no particular dependency relationship).

Regressed by: 1821199
No longer regressed by: 1859908

I am not sure how this is regressed by bug 1821199. I think this was an issue with .ini manifests previously. I assume this is only when running locally via ./mach test ... ?

Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.