Closed Bug 2034183 Opened 3 months ago Closed 2 months ago

browser/components/preferences/tests/head.js pulled into search preferences test twice, leading to test failure

Categories

(Firefox :: Settings UI, defect)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox150 --- unaffected
firefox151 --- wontfix
firefox152 --- wontfix
firefox153 --- wontfix

People

(Reporter: scunnane, Unassigned)

References

(Regression)

Details

(Keywords: regression)

I'm currently seeing a test failure for browser/components/preferences/tests/search/browser_search_firefoxSuggest.js on main, where the test is unable to get at a function defined in the head file. Commenting out this line fixes the problem, as we're already importing head.js from the parent directory here.

This seems like a regression caused by bug 2026772, but I may be missing something here?

:florian, since you are the author of the regressor, bug 2026772, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(florian)

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

Update: as of this morning, I'm no longer seeing failures in browser/components/preferences/tests/search/browser_search_firefoxSuggest.js on the current main. So I'm closing this bug as INVALID.

But I'm still unclear as to why that test seemingly imports the parent head file twice.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → INVALID

Reopening this bug, as I'm seeing browser/components/preferences/tests/search/browser_search_firefoxSuggest.js failing again on the current main.

Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Flags: needinfo?(florian)

Florian, can you maybe provide some pointers for where to investigate this? Thanks!

Flags: needinfo?(florian)

(In reply to Ryan VanderMeulen [:RyanVM] from comment #5)

Florian, can you maybe provide some pointers for where to investigate this? Thanks!

Unfortunately I don't understand this bug, steps to reproduce would be helpful. browser_search_firefoxSuggest.js is 100% green in CI: https://tests.firefox.dev/test.html?test=browser%2Fcomponents%2Fpreferences%2Ftests%2Fsearch%2Fbrowser_search_firefoxSuggest.js

Flags: needinfo?(florian)

Stephanie, maybe you can provide some clarification for where you're seeing this? This bug seems pretty stuck at the moment.

Flags: needinfo?(scunnane)

Actually I am no longer seeing any test failures in browser/components/preferences/tests/search/browser_search_firefoxSuggest.js, so I will just close the bug.

Status: REOPENED → RESOLVED
Closed: 3 months ago2 months ago
Flags: needinfo?(scunnane)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.