<div dir="ltr"><div>I occasionally create named profiles for testing specific feature combinations during development. I like using named profiles so that I know they are all easy to find in my profile directory. From that point on, I know I can use just the name when launching, like `./mach run -P test-feature-abc`.<br></div><div><br></div><div>(I was unaware until reading this thread that -profile <path> would also create the profile as well if it's not there...)</div><div><br></div><div>- Ryan<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 29, 2018 at 12:31 PM, Dave Townsend <span dir="ltr"><<a href="mailto:dtownsend@mozilla.com" target="_blank">dtownsend@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">I guess I'm surprised that folks use named profiles for testing rather than just making a directory and passing it to -profile. What are the use cases there?<div><div class="h5"><br><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 29, 2018 at 5:06 PM Mike Kaply <<a href="mailto:mkaply@mozilla.com" target="_blank">mkaply@mozilla.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Only if you specify a fully qualified path. Not if you specify a non existent profile name.<div><br></div><div>You have to do -CreateProfile with a name and then launch Firefox with that name (two operations)</div><div><br></div><div><br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 29, 2018 at 12:00 PM, Dave Townsend <span dir="ltr"><<a href="mailto:dtownsend@mozilla.com" target="_blank">dtownsend@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>It already does doesn't it?</div><div><br></div><div>I presume that what makes debugging a pain is that we do a load more stuff during startup with a fresh profile.<br></div></div><div class="m_3978239562306624187m_-4092476240493708054HOEnZb"><div class="m_3978239562306624187m_-4092476240493708054h5"><br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 29, 2018 at 4:57 PM Mike Kaply <<a href="mailto:mkaply@mozilla.com" target="_blank">mkaply@mozilla.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">For that use case, we could make -profile smart enough to create a profile if it doesn't exist.<div><br></div><div>That would be handy.</div></div><div dir="ltr"><div><br></div><div>Mike</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 29, 2018 at 11:43 AM, Boris Zbarsky <span dir="ltr"><<a href="mailto:bzbarsky@mit.edu" target="_blank">bzbarsky@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 3/29/18 9:03 AM, Florian Quèze wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-silent<br>
Added in toolkit for Fennec's Debian packaging in bug 469076 9 years ago.<br>
Added in browser/ in bug 324023 12 years ago. Meant to be used along<br>
with -setDefaultBrowser. I doubt this is used.<br>
</blockquote>
<br>
Fwiw, I use it.  It lets me easily script a "run once with -silent to create a profile, then run for real with that profile" thing.  Useful for debugging startup sanely.<br>
<br>
It's possible to do without; it just makes debugging somewhat more annoying.<br>
<br>
Note that I don't use this in release builds, fwiw.<br>
<br>
-Boris<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/<wbr>listinfo/firefox-dev</a><br>
</blockquote></div><br></div>
______________________________<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/<wbr>listinfo/firefox-dev</a><br>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div></div></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>