<div dir="ltr"><div><div>Restarting isn't necessarily as straightforward as that for people like me.<br></div>In windows, if I CTRL+F4, then try starting firefox as you tell (I don't start firefox from the command line), I always get the warning firefox is still running. I have to wait a small while until the process terminates. Then I can start firefox.<br></div><div>For the other alternative, for the "about:profiles". I open a tab, it will open on the farest right. I restart firefox.... After restarting, how do I return to the tab where I was at? Closing the "about:profiles" won't do. It will load a tab that was next to it which could be something very different.<br><br></div><div>For me, none of those replace the "Shift+F2 rest<tab><Enter>". Only a simple button would. Maybe under "File" like
some XUL
extensions that in the past.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 27, 2018 at 5:12 PM, Patrick Brosset <span dir="ltr"><<a href="mailto:pbrosset@mozilla.com" target="_blank">pbrosset@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Re: screenshots: there are indeed other ways to take screenshots of webpage (or even individual dom nodes) by either using firefox screenshots of devtools. So losing the screenshot command shouldn't be a big problem.</div><div>Still having the --fullpage and --dpi options available somehow through devtools would be good. This is captured in bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1282462" target="_blank">https://bugzilla.mozilla.org/<wbr>show_bug.cgi?id=1282462</a></div><div><br></div><div>You are right, restart is the most used command, and we have discussed with several people using it. The reason for its usage is the fact that it is the fastest way for people to restart the browser: shift+F2, type the first few characters of restart, press tab, press enter, done.</div><div><br></div><div>There are multiple other ways to do this though:</div><div>- If you started firefox from the command line:<br></div><div> focus the terminal window Firefox was started from and do ctrl+C, up arrow, enter. <br></div><div>- Otherwise, there are usually other keyboard shortcuts available in most operating systems to do this still:</div><div> on Mac: cmd+Q, cmd+space, type the few first characters of Firefox, press enter</div><div> on Windows: press alt+F4, press the windows key, type the few first characters of Firefox, press enter.</div><div>- And finally, you can also do it from Firefox itself:</div><div> open a new tab (which can be done via the keyboard), type about:profiles, click the restart button there (I have also filed a bug to make this button keyboard navigable: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1444916" target="_blank">https://bugzilla.mozilla.org/<wbr>show_bug.cgi?id=1444916</a>).</div><div><br></div><div>So, for restart, there are several ways to achieve the same.</div><div><br></div><div>As for usage numbers, yes, they are really low. Most commands aren't used at all (like, 1 usage per day on some, which is probably me ;) ).</div><div>Hard to argue for keeping that much code when usage is very low.</div><div>The restart command is used on average around 50 times per day on nightly only. So, most probably far less on release.<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 27, 2018 at 5:12 PM, Tom Schuster <span dir="ltr"><<a href="mailto:tom@schuster.me" target="_blank">tom@schuster.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have heard of people using this to restart Firefox, is that usage<br>
really so low? I personally like to use this for screenshots, but<br>
"Firefox screenshots" replaced most of my main usage of taking<br>
fullscreen images.<br>
<div class="m_1887249991646217700HOEnZb"><div class="m_1887249991646217700h5"><br>
On Tue, Mar 27, 2018 at 5:09 PM, Patrick Brosset <<a href="mailto:pbrosset@mozilla.com" target="_blank">pbrosset@mozilla.com</a>> wrote:<br>
> Thanks for the feedback Ehsan.<br>
><br>
> You're right, the network monitor sidebar tab shortens long headers, and<br>
> that makes it harder to read/copy them.<br>
> I guess one option is to click on the "raw headers" button above to see them<br>
> a little more clearly that way.<br>
><br>
> We do have a bug on file for making headers easier to read and copy:<br>
> <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1447267" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/s<wbr>how_bug.cgi?id=1447267</a><br>
><br>
> Patrick<br>
><br>
> On Tue, Mar 27, 2018 at 3:35 PM, Ehsan Akhgari <<a href="mailto:ehsan.akhgari@gmail.com" target="_blank">ehsan.akhgari@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi Patrick,<br>
>><br>
>> Every now and then I have used the "security csp" command to view the CSP<br>
>> policy of a site. This information is also present in the network monitor<br>
>> by looking at the HTTP headers, but the network monitor UI doesn't make it<br>
>> easy to look at long header values (and interesting CSP values are typically<br>
>> expressed as such). Is there any plans to move that part of this old<br>
>> interface into a more modern part of the devtools UI?<br>
>><br>
>> Thanks,<br>
>> Ehsan<br>
>><br>
>> On Mon, Mar 26, 2018 at 11:25 AM, Patrick Brosset <<a href="mailto:pbrosset@mozilla.com" target="_blank">pbrosset@mozilla.com</a>><br>
>> wrote:<br>
>>><br>
>>> (my apologies to people both here and on dev-developer-tools for sending<br>
>>> this twice to them).<br>
>>><br>
>>><br>
>>> Tl;dr: The DevTools team is planning to pref off and later unship the<br>
>>> Developer Toolbar (aka GCLI), starting in Firefox 60.<br>
>>><br>
>>><br>
>>> The Developer Toolbar [1] gives a command line access to some power-user<br>
>>> and developer actions in Firefox.<br>
>>><br>
>>> It can be opened via the tools menu or with shift+F2 and appears as a<br>
>>> footer bar at the bottom of the browser window.<br>
>>><br>
>>><br>
>>> Some of the commands it supports are: restart (to restart firefox),<br>
>>> screenshot (to take a screenshot of the page), opening DevTools, listing<br>
>>> cookies, listing prefs, listing addons, etc.<br>
>>><br>
>>><br>
>>> It is based on GCLI [2] which is vendored in mozilla-central.<br>
>>><br>
>>><br>
>>> It was added to Firefox back in 2012 (in Firefox 17 I believe), but has<br>
>>> never received much usage over the past 6 years.<br>
>>><br>
>>> The main reasons being that it's a fairly hard to discover and that it's<br>
>>> a tool only for people comfortable with a command line environment.<br>
>>><br>
>>><br>
>>> As of Firefox 60 we intend to pref off the developer toolbar, and then<br>
>>> remove the associated code from Firefox in 61.<br>
>>><br>
>>><br>
>>> The reasons for this are:<br>
>>><br>
>>><br>
>>> - Both the Developer Toolbar UI and the GCLI upstream library have become<br>
>>> unmaintained.<br>
>>><br>
>>> - Some of its features are broken, some ever since e10s ([3][4]).<br>
>>><br>
>>> - It is blocking the UnsafeSetInnerHTML work [5].<br>
>>><br>
>>> - Usage numbers are very low.<br>
>>><br>
>>> - Alternatives exist for the most used commands.<br>
>>><br>
>>> - We have other ideas for allowing power users to access common actions<br>
>>> via the keyboard which appear more adapted and more DevTools-related (e.g.<br>
>>> having special commands in the DevTools console, or having a command palette<br>
>>> like Chrome has which originally came from text editors like Sublime Text).<br>
>>><br>
>>><br>
>>> The meta bug to follow the work around unshipping the Developer Toolbar<br>
>>> is [6].<br>
>>><br>
>>><br>
>>> [1] <a href="https://developer.mozilla.org/en-US/docs/Tools/GCLI" rel="noreferrer" target="_blank">https://developer.mozilla.org/<wbr>en-US/docs/Tools/GCLI</a><br>
>>><br>
>>> [2] <a href="https://github.com/joewalker/gcli" rel="noreferrer" target="_blank">https://github.com/joewalker/g<wbr>cli</a><br>
>>><br>
>>> [3] <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1228034" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/s<wbr>how_bug.cgi?id=1228034</a><br>
>>><br>
>>> [4] <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1376726" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/s<wbr>how_bug.cgi?id=1376726</a><br>
>>><br>
>>> [5] <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1444394" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/s<wbr>how_bug.cgi?id=1444394</a><br>
>>><br>
>>> [6] <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1429421" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/s<wbr>how_bug.cgi?id=1429421</a><br>
>>><br>
>>><br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> firefox-dev mailing list<br>
>>> <a href="mailto:firefox-dev@mozilla.org" target="_blank">firefox-dev@mozilla.org</a><br>
>>> <a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listi<wbr>nfo/firefox-dev</a><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Ehsan<br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> firefox-dev mailing list<br>
> <a href="mailto:firefox-dev@mozilla.org" target="_blank">firefox-dev@mozilla.org</a><br>
> <a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listi<wbr>nfo/firefox-dev</a><br>
><br>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/<wbr>listinfo/firefox-dev</a><br>
<br></blockquote></div><br></div>