Browser toolbox starts blank and doesn't function with pending updates
Categories
(DevTools :: General, defect, P3)
Tracking
(firefox88 fixed)
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: markh, Assigned: nalexander)
References
(Blocks 3 open bugs, )
Details
(Keywords: reproducible)
Attachments
(1 file, 1 obsolete file)
Reporter | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment 20•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 23•6 years ago
|
||
Comment 24•5 years ago
|
||
This is more relevant now that you can pass the nightly binary to -jsdebugger
(Bug 1583806). I just ran into the broken case in with ./mach run -jsdebugger /Applications/FirefoxNightly.app/Contents/MacOS/firefox
when my Nightly build had a pending update.
Molly, can you think of a path forward here especially regarding the suggestion in Comment 23 as a workaround for Comment 15? If I'm reading things correctly it also would work around Comment 20 by making the suggested change in Comment 19 obsolete.
Comment 25•5 years ago
|
||
Yeah, I agree with comment 23; adding an environment variable or something else seems superfluous because I don't think we would ever want to process updates in the dev tools, so we don't need some other flag to tell us whether or not to process updates, we can disable it based entirely on the value of the -chrome
parameter. The one thing I would want to make sure of is that the correct URL value gets exported somehow so that we only have one copy of the string, because if there's more than one I don't want to run the risk of them getting out of sync.
I also think we could make disabling the update service easier by hooking into its disabledByPolicy property, similarly to how the disabledForTesting
property works there.
Leaving an ni? for Robert because I also want to make sure this gets run by them before anything lands.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 26•5 years ago
|
||
Adding the chrome param and the url check in nsAppRunner.cpp sounds fine to me.
Updated•4 years ago
|
Assignee | ||
Comment 28•4 years ago
|
||
This implements the simple approach advocated for in
https://bugzilla.mozilla.org/show_bug.cgi?id=1120863#c26.
It's not easy to lift the duplicated chrome document URL to a shared
location, so we instead annotate both locations.
It's also not easy to test this functionality, but I've provided an
environment variable that will allow a process that did not itself
process updates to witness that fact. I intend to use it in a similar
ticket, Bug 1695797.
Updated•4 years ago
|
Assignee | ||
Comment 29•4 years ago
|
||
Comment on attachment 8929575 [details]
Bug 1120863 - Don't allow updates during runtime for the Browser Toolbox profile
Marking this obsolete since I'm about to land a fine-grained approach to this particular problem.
Comment 30•4 years ago
|
||
Comment 31•4 years ago
|
||
bugherder |
Description
•