Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350514 - www-client/chromium: add --temp-profile switch to launcher
Summary: www-client/chromium: add --temp-profile switch to launcher
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 08:32 UTC by Julien Sanchez
Modified: 2011-01-25 11:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch adding --temp-profile switch (chromium-launcher.patch,1.47 KB, patch)
2011-01-04 08:33 UTC, Julien Sanchez
Details | Diff
Ubuntu's launcher for reference (chromium-browser,3.36 KB, text/plain)
2011-01-04 08:35 UTC, Julien Sanchez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Sanchez archtester 2011-01-04 08:32:23 UTC
As in chromium Ubuntu's launcher, it would be useful when testing/debugging to add --temp-profile switch to chromium-launcher to launch chromium in a separate instance with an empty profile.

I attach a patch with this feature (largely inspired from ubuntu's launcher, credits to original author).
Comment 1 Julien Sanchez archtester 2011-01-04 08:33:33 UTC
Created attachment 258798 [details, diff]
Patch adding --temp-profile switch
Comment 2 Julien Sanchez archtester 2011-01-04 08:35:02 UTC
Created attachment 258799 [details]
Ubuntu's launcher for reference
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-04 09:31:02 UTC
I think it's a nice thing to have, but doing this at the distro level risks many inconsistencies and maintenance problems. Could you instead open an upstream feature request (new.crbug.com), and post the link here?
Comment 4 Julien Sanchez archtester 2011-01-04 20:39:43 UTC
Do you mean this switch should be implemented upstream in a launcher script (I don't know if it currently exists) or in native code?
If in native code, doesn't it conflict with native --user-data-dir switch?

Nevertheless, I will open an upstream feature request but I would like to know your opinion, Paweł, if any...
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-04 20:45:49 UTC
(In reply to comment #4)
> Do you mean this switch should be implemented upstream in a launcher script (I
> don't know if it currently exists) or in native code?
> If in native code, doesn't it conflict with native --user-data-dir switch?

I'm not sure which solution would be better. Also, the conflict should be easily solvable by forbidding passing both flags, or making one of them override the other.

Note that the upstream may decide to reject the idea. However, there is at least one existing use for it: the test framework makes each browser under test run with a fresh profile. Currently --user-data-dir is used "from the outside", but by converting to --temp-profile we shouldn't increase the overall complexity.