Open Bug 1307765 Opened 5 years ago Updated 3 years ago
Allow loading the console individually in a tab
59 bytes, text/x-review-board-request
As bug 1297758 which ended up dedicated to the inspector, we can load the console in a tab. It will still use the chrome:// URL, but should work today and help making it to work from a hosted protocol.
This is worth doing, but might be a little more complex than the inspector because of the startup path in hudservice.js and the browser console. If it'd be possible to simplify the startup process by including a script tag in webconsole.xul that'd be better.
Nicolas, do not hesitate to forward the review to Brian or Honza if you are not confidant reviewing this patch. The STR to use this is the following: 1) Open about:debugging#tabs 2) Open about:devtools-toolbox url, copy the 'id' value, like 1234 3) then you can open the console in a tab with this url, where you paste the id value: chrome://devtools/content/webconsole/webconsole.xul?type=tab&id=1234 Note that, as there is no build step on mozilla-central, F5 is going to work for all resources loaded via the BrowserLoader and XUL/CSS. (Anything loaded via the "other loader" (Loader.jsm), the core loader won't be reloaded as this loader is intanciated once for the whole firefox lifetime) You may also open a browser toolbox in a tab with this url: chrome://devtools/content/webconsole/webconsole.xul?type=process
Comment on attachment 8862757 [details] Bug 1307765 - Implement about:devtools-toolbox URL parameter in the console. Passing it to Brian since I am not sure how this relates to Bug 1359597
Attachment #8862757 - Flags: review?(nchevobbe) → review?(bgrinstead)
Comment on attachment 8862757 [details] Bug 1307765 - Implement about:devtools-toolbox URL parameter in the console. https://reviewboard.mozilla.org/r/134626/#review137818 Let's at least wait until we are loading the frontend in the new html file (Bug 1326937) to avoid adding anything new to the xul doc
Attachment #8862757 - Flags: review?(bgrinstead)
(In reply to Alexandre Poirot [:ochameau] from comment #3) > You may also open a browser toolbox in a tab with this url: > chrome://devtools/content/webconsole/webconsole.xul?type=process That's interesting - I wonder if we could simplify the Browser Console startup by using this
You need to log in before you can comment on or make changes to this bug.