Closed Bug 1971094 Opened 1 month ago Closed 1 month ago

Switching sources with the file search panel open breaks the search

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox-esr128 unaffected, firefox-esr140 fixed, firefox139 unaffected, firefox140 fixed, firefox141 fixed)

RESOLVED FIXED
141 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox-esr140 --- fixed
firefox139 --- unaffected
firefox140 --- fixed
firefox141 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

STR

  1. Go to https://todomvc.com/ and open the devtools debugger
  2. Select https://todomvc.com/site-assets/main.js
  3. Do Ctrl/Cmd + F to open file search
  4. Search for this (there should be around 17 entires). Moving through the search should work nicely
  5. Select https://todomvc.com/bower_components/jquery/dist/jquery.js (Make sure the file search is still open)

What happened?

The search results does not update after the source is switched. And cycling through the search results is broken.

What should have happened?

A search results should update to match the current source selected.

This probably regressed by Bug 1962417

Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P2
Keywords: regression
Regressed by: 1962417

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

Pushed by hmanilla@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c853ad46f5b4 https://hg.mozilla.org/integration/autoland/rev/a11d351b9042 [devtools] Update search results when the selected source changes r=devtools-reviewers,nchevobbe
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/65ac775edabb https://hg.mozilla.org/integration/autoland/rev/ea530ec099aa Revert "Bug 1971094 - [devtools] Update search results when the selected source changes r=devtools-reviewers,nchevobbe" for causing failures at browser_dbg-search-file-retains-query.js.
Pushed by hmanilla@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/05081927e85b https://hg.mozilla.org/integration/autoland/rev/8fb6b0c2f4d1 [devtools] Update search results when the selected source changes r=devtools-reviewers,nchevobbe
Flags: needinfo?(hmanilla)
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

The patch landed in nightly and beta is affected.
:bomsy, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(hmanilla)
Attachment #9495427 - Flags: approval-mozilla-beta?
Flags: needinfo?(hmanilla)
Attachment #9495427 - Flags: approval-mozilla-release?

Comment on attachment 9495427 [details]
Bug 1971094 - [devtools] Update search results when the selected source changes r=#devtools

:bomsy, beta is closed since we are in RC week for Fx140. This will ride the train to beta with Fx141.
I changed the target repo of your uplift revision to release.

We could take it in a ride along, but that depends on the uplift request. Please add the request form to in Phabricator.

Flags: needinfo?(hmanilla)
Attachment #9495427 - Flags: approval-mozilla-beta?

:bomsy, beta is closed since we are in RC week for Fx140. This will ride the train to beta with Fx141.
I changed the target repo of your uplift revision to release.

Sounds good! Thanks!

We could take it in a ride along, but that depends on the uplift request. Please add the request form to in Phabricator.

Not too clear what i need to do here, can you help clarify?

Flags: needinfo?(hmanilla) → needinfo?(dmeehan)

Uplift requests need some details to give context around risk, etc.
You can add it to the phabricator revision, see the following for some instructions:
https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift#Submit_the_Uplift_Request_Form

Flags: needinfo?(dmeehan)

firefox-release Uplift Approval Request

  • User impact if declined: Devtools debugger user will see wrong search results while switching source during a file search
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: -
  • Risk associated with taking this patch: Low risk
  • Explanation of risk level: Just javascript code change to do a search when the source changes
  • String changes made/needed: -
  • Is Android affected?: no

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

QA Whiteboard: [qa-triage-done-c142/b141]
Attachment #9495427 - Flags: approval-mozilla-release? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: