WebviewWidget vs Mini-Browser

Hi,
What are the differences between those two widgets?
If I want to open a custom editor using an iframe, which one I need to use?
I need also to be able to communicate with the iframe JS API (to call some JS methods and to save…)
thanks