-
Couldn't load subscription status.
- Fork 62
Description
What happened?
When the Find popup is closed by the user or via Find::Stop, and I open a new Find popup, specifying FindOptions.FindTerm, the previous search history is preserved such that I can Ctrl+Z back to it.
This is an issue for my app, because that can lead to a user seeing a previous user's searches which may contain patient info.
The comment from the same issue that was closed suggests this shouldn't be a problem when passing in a new FindTerm
Importance
----Please select----
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
139.0.3405.125
SDK Version
1.0.3405.78
Framework
Winforms
Operating System
Windows 11
OS Version
Windows 11
Repro steps
Show Find popup like this:
var findOptions = coreWebView2.Environment.CreateFindOptions();
findOptions.FindTerm = string.Empty;
coreWebView2.Find.StartAsync(findOptions);
type "a", backspace, "b", backspace, "c", backspace
Then I close the popup and reopen it
Then I press Ctrl+Z several times
see gif here #5068 (comment)
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response