Closed Bug 2077416 Opened 1 month ago Closed 1 month ago

Document how to test the address bar over the message path

Categories

(Firefox :: Address Bar, task)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

(Whiteboard: [sng][mcab-hnt-followon])

Attachments

(1 external file)

testing.md does not say how to run a test over the message path. It should cover:

  • running a test with --setpref=browser.urlbar.ipc.chromeMessagePassing=true
  • the urlbar-ipc CI variant, the urlbar tag that scopes it, and skip-if = urlbar_ipc
  • reproducing the variant's coverage on try
  • the UrlbarTestUtils helpers that exist because the message path is asynchronous (promiseControllerNotification, promiseProviderEngagement, assertPickedResult)
  • forcing a message-path race by stubbing a parent method to wait
  • potential traps in driving the New Tab search bar from browser-newtab tests
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Whiteboard: [sng][mcab-hnt-followon]
See Also: → 2077432
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c8196439b953 https://hg.mozilla.org/integration/autoland/rev/3ff477a89fd7 Document how to test the address bar over the message path. r=mbeier,urlbar-reviewers DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [search][qa-triage-done-c159/b158]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: