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

What is the 'EBWebView' folder created for? #2023

Closed
tatsuya-midorikawa opened this issue Dec 15, 2021 · 4 comments
Closed

What is the 'EBWebView' folder created for? #2023

tatsuya-midorikawa opened this issue Dec 15, 2021 · 4 comments
Assignees

Comments

@tatsuya-midorikawa
Copy link

Hi, experts!

Why is the 'EBWebView' folder created and what is its purpose?
Also, what does the 'EB' stand for?

Thanks.

@jasonstephen15
Copy link
Contributor

jasonstephen15 commented Dec 15, 2021

Good question @tatsuya-midorikawa. I actually don't know for certain, but my guess would be EB stands for 'Embedded Browser WebView' and looks like it contains folders for browser features like SmartScreen, Widevine, etc. I do see it as a subfolder of the debug directory, so perhaps it's for crash dumps with Browser Features within WebView2.

I can have someone else on my team confirm after the holidays, but thought I'd give you my thoughts now :)

@jasonstephen15 jasonstephen15 self-assigned this Dec 15, 2021
@kurash
Copy link

kurash commented Dec 15, 2021

I'm not one of the WebView2 developers, but maybe this info will help. The EBWebView folder contains the browser state for an instance of WebView2. It contains cookies, local storage, history, and all the other local data that a browser needs to store in order to support modern web pages.

The location of the folder is set for a given instance of WebView by passing a path to CreateCoreWebView2EnvironmentWithOptions (for C++ apps at least). If you do not specify a path, the folder is created in the current working directory. Note that if the cwd is read only for the user, you're likely to see an exception thrown.

@jasonstephen15
Copy link
Contributor

Thanks @kurash! Got confirmation from the dev team, that EBWebView (EB = Embedded Browser) folder is just the user data folder's default location. You can read more about it here: https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/user-data-folder.

Closing this thread for now, since we have confirmation, but feel free to add any other questions about it here.

@tatsuya-midorikawa
Copy link
Author

Thank you all for your help.

Regards,
midoliy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants