Hello,

Consider the method: window.openDialog(URL.xul, ...). Its final result
is to opens a dialog from the content read in file URL.xul.

After some web surfing, it seems not possible to programmatically
define a dialog, and then open that dialog (somehow) from the main window.

So, in the context of a firefox extension, is there a way to define the
DOM of some dialog and to 'append' that dialog to the window (making it appear?)

----
For example, the goal would be:

let dialog = window.document.createElement("dialog");
// put things in this dialog
// ..
// finally
window.openDialogFromDOM(dialog, ...);

Thanks in advance
MS
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to