Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem/Bug]: ClearBrowsingDataAsync doesn't clear service worker logs #4561

Open
ibebbs opened this issue May 16, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working feature request feature request tracked We are tracking this work internally.

Comments

@ibebbs
Copy link

ibebbs commented May 16, 2024

What happened?

Further to #3341, using ClearBrowsingDataAsync leaves service worker log files intact which contain the plain text domains of visited sites.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

124.0.2478.97

SDK Version

1.0.2478.35 + 1.0.2562-prerelease

Framework

WPF

Operating System

Windows 10, Windows 11

OS Version

22631.3593

Repro steps

  1. Clone, build and run the WebView2WpfBrowser sample app
  2. Visit https://privacy-test-pages.site/privacy-protections/storage-blocking/?store#947 to store some data in a service worker
  3. Use the "Scenario" -> "Clear Browsing Data" -> "All Profile" (or any/all the other options) to clear browsing data
  4. Use SysInternals Strings to scan the content of bin\[Debug Experimental APIs|Debug Stable APIs]\netcoreapp3.0\WebView2WpfBrowser.exe.WebView2\EBWebView\Default\Service Worker\Database for strings (e.g. strings64.exe -nobanner "bin\Debug Stable APIs\netcoreapp3.0\WebView2WpfBrowser.exe.WebView2\EBWebView\Default\Service Worker\Database\*.*")
    • The privacy-test-pages.site site will appear several times in the output; e.g. 7INITDATA_UNIQUE_ORIGIN:https://privacy-test-pages.site/

Repros in Edge Browser

Yes, issue can be reproduced in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

No response

AB#51682189

@ibebbs ibebbs added the bug Something isn't working label May 16, 2024
@monica-ch monica-ch added feature request feature request tracked We are tracking this work internally. labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request feature request tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

2 participants