I'm developing extension for firefox which needs to show popover with html document. In Safari and Chrome there is pretty straightforward way to create popover, but as for now i spent 2 days looking for a way to do the same thing in Firefox, but i could not find a page in documentation for doing that.
Can someone provide me with sample of code, link to tutorial or documentation i would be very grateful.
Here is the image of the popover in Safari


you can find this at this tutorials
https://developer.mozilla.org/en-US/docs/XUL/School_tutorial