Closed Bug 1809385 Opened 11 months ago Closed 11 months ago

autocomplete data doesn't clear when changing evaluation context

Categories

(DevTools :: Console, defect)

defect

Tracking

(firefox110 fixed)

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

Steps to reproduce

  1. Open a tab on data:text/html,<meta charset=utf8><iframe src="data:text/html,<title>iframe</title><script>let foobar, foobaz</script>">
  2. Open the console
  3. Select the iframe document in the context selector
  4. Type foo in the console input (it should display the autocomplete popup with 2 items)
  5. Select the top level document in the context selector and type b (the input should now be foob

Expected results

The autocomplete popup isn't visible

Actual results

The autocomplete popup is displayed and has 2 items of the iframe document ( foobar and foobaz)


Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3eb15d87272c
[devtools] Clear autocomplete cache data on evaluation context change. r=ochameau.
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.