You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, Firefox opens the DevTools as a pane fixed to the bottom of the active browser window.
You can also dock the DevTools to the side:
And to the bottom again:
Or detach the DevTools:
And by default, qbrt opens the DevTools as a separate detached window:
For comparison, Electron does by default open the DevTools to the right side of the browser window.
To do this with the qbrt, the shell would be need to maintain an <iframe> that's positioned to the bottom, where the DevTools pane would be embedded. Am I correct in understanding that?
The text was updated successfully, but these errors were encountered:
For comparison, Electron does by default open the DevTools to the right side of the browser window.
Indeed! I didn't do this earlier for a couple of reasons: primarily, because the shell was originally implemented in HTML, which doesn't support in-window DevTools; and secondarily, because I based the implementation on the one in Positron in order to get it working quickly, and that implementation didn't support in-window DevTools.
To do this with the qbrt, the shell would be need to maintain an <iframe> that's positioned to the bottom, where the DevTools pane would be embedded. Am I correct in understanding that?
Yes, I think that's correct, although I'm having trouble finding the canonical example in Firefox code. Here's an example of programmatically adding such an iframe and loading DevTools into it in a test:
However, I expect there to be a persistent iframe for DevTools in the browser window XUL (or perhaps the XBL bindings that implement the tabbrowser and browser interfaces), which the DevTools code simply hides/shows and moves around as needed. Perhaps that's not the case (or no longer the case), however.
By default, Firefox opens the DevTools as a pane fixed to the bottom of the active browser window.
You can also dock the DevTools to the side:
And to the bottom again:
Or detach the DevTools:
And by default, qbrt opens the DevTools as a separate detached window:
For comparison, Electron does by default open the DevTools to the right side of the browser window.
To do this with the qbrt, the shell would be need to maintain an
<iframe>
that's positioned to the bottom, where the DevTools pane would be embedded. Am I correct in understanding that?The text was updated successfully, but these errors were encountered: