Closed Bug 2084263 Opened 1 month ago Closed 1 month ago

Intermittent browser_contentSearchUI_default.js | Should have a blob URL - false == true

Categories

(Firefox :: Search, task)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 external file)

Test: https://tests.firefox.dev/test.html?test=browser/components/search/test/browser/browser_contentSearchUI_default.js

Fails intermittently on debug, tsan and asan configs (about 2.7 failures a week).

ensureIcon waits for getPropertyValue("--newtab-search-icon") != "null", but an unset custom property computes to "", so the wait passes immediately. When the handoff UI hasn't yet received the Engine reply from ContentSearchParent, the icon is still empty and the blob assertion fails.

Fix: wait for the expected icon value instead.

Blocks: 2084272

An unset --newtab-search-icon computes to an empty string, not "null", so the
test's wait never waited for the page to receive its engine.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1fb6b950669e https://hg.mozilla.org/integration/autoland/rev/598a34450e9d Wait for the expected search icon in browser_contentSearchUI_default.js, r=search-reviewers,scunnane.
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [search][qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: