Contents of find bar not cleared from private browsing window
Categories
(Toolkit :: Find Toolbar, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | verified |
People
(Reporter: mccr8, Assigned: ian)
References
Details
Attachments
(1 file)
STR:
- Visit a web page not in private browsing mode.
- Open a new private browsing window.
- Visit some web site in the private browsing window.
- Hit command-f (on OSX) to search for something in the page.
- Close the private browsing window.
- In the non-private browsing window, hit command-f. The page search from step 4 is still there.
Expected behavior: In step 6, I'd have expected that the search input I typed in for step 4 is not there any more. It isn't page content per se, but it is within the browsing window, and is something explicitly tied to that particular private browsing page.
Comment 1•5 years ago
|
||
Mike, I believe this bug is caused by clipboardSearchString
in the findbar code...
It looks to me that a fix would look like doing a private browsing check on this._getWindow()
around here and only performing the assignment if we're in a non-private window. Does that sound right to you?
Comment 2•5 years ago
|
||
Yes, that sounds right. I would put it in the clipboardSearchString setter to catch all callsites.
Updated•3 years ago
|
Updated•3 years ago
|
Hi Neil, I have submitted a patch for this. This is my first time attempting to do this in the Mozilla ecosystem, so please let me know if I screwed something up. Thanks!
Comment 9•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Reproducible on Firefox 100.0(20220428192727) on macOS 11. Verified as fixed on Firefox 101.0b8(20220517185920) and Nightly 102.0a1(20220517212638) on macOS 11.
Description
•