diff --git a/devtools/client/webide/content/webide.js b/devtools/client/webide/content/webide.js index 7c68ef739053..f0405ef5532a 100644 --- a/devtools/client/webide/content/webide.js +++ b/devtools/client/webide/content/webide.js @@ -846,7 +846,7 @@ var UI = { return this.toolboxPromise; } - const iframe = document.createElement("iframe"); + const iframe = document.createXULElement("iframe"); iframe.id = "toolbox"; // Compute a uid on the iframe in order to identify toolbox iframe