Closed
Bug 41072
Opened 25 years ago
Closed 25 years ago
Don't migrate auto-conf pref until this feature is turned on
Categories
(Core Graveyard :: Profile: Migration, defect, P1)
Core Graveyard
Profile: Migration
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: mcafee, Assigned: sspitzer)
References
Details
(Keywords: crash, Whiteboard: [rtm-] r=dbragg, r=gagan, sr=mscott, tested by Tomi)
Attachments
(2 files)
8.04 KB,
patch
|
Details | Diff | Splinter Review | |
1.10 KB,
patch
|
Details | Diff | Splinter Review |
Migrating auto-config=true pref will lock up the browser
since this feature isn't implemented yet.
Reporter | ||
Comment 1•25 years ago
|
||
This is related to bug 20145, the bug-holder for proxy auto-config feature.
Depends on: 20145
Comment 2•25 years ago
|
||
Proxy-autoconf isn't still in, this should be fixed before ns6. Adding depend
to 53080, which is bug for autoconfig work.
Assignee | ||
Comment 3•25 years ago
|
||
adding gagan, me and racham to the cc list.
we should migrate the auto-config pref, but the back end should just ignore it
if it causes a hang.
I don't think this should be dbragg's bug, it should be gagans.
Comment 4•25 years ago
|
||
Reassigning, raising priority since this causes a hang
Assignee | ||
Comment 5•25 years ago
|
||
on linux, I don't get the browser lock up, but I am unable to browse to any sites.
mcafee, is that what you mean by lockup?
Reporter | ||
Comment 6•25 years ago
|
||
I don't remember why I used "lockup", that sounds like
sspitzer asking me to file a bug to me. I'll go with
what sspitzer says in the above comment.
Assignee | ||
Comment 7•25 years ago
|
||
gagan, would it be better to treat the type as 0 if we read 2 from the prefs?
(network.proxy.type is the pref, 2 == use auto-conf.)
we'd leave the pref alone, but just act like it wasn't set.
see nsProtocolProxyService.cpp, line 109
nope! that would break PAC from being used altogether. The safest way to disable
that may just be within the installer to not migrate the pref.
Just to interject something here, the concept of "not migrating a pref" is
actually a matter of explicitly removing the pref or explicitly setting it to
something innocuous. The migration code (for the most part) simply copies the
prefs.js file to the new profile. The prefs are NOT read through and "migrated"
(except in a couple of mail/news cases). It's up to the various parts of the
program (browser, mail/news, AIM, whatever) to read the old prefs and either
ignore them, use them or update them where appropriate. So you can see that not
migrating a pref really means reading the prefs.js file, seeing if the pref is
set and then changing it.
Then when the auto-config feature is implemented we have to remember to rip out
the code in the migration component that always turns it off.
I'm not saying we shouldn't turn off the pref in the migration code. I'm just
saying there's a little more involved than is implied by the statment "not
migrate the pref".
Comment 10•25 years ago
|
||
Seems like this could be a release note item. If there's an extremely simple
fix it might have a chance.
Whiteboard: [need info]
Assignee | ||
Comment 11•25 years ago
|
||
looking at 53080, I see that PAC does work.
I think we should migrate the proxy prefs.
53080 is [rtm need info]. if we fix that bug, this would be a WONTFIX.
Tomi, do you agree?
Comment 12•25 years ago
|
||
Now if you have 4.x browser and you migrate it's prefs, mozilla
get:
user_pref("network.proxy.autoconfig_url", "http://www.oulu.fi/proxy.pac");
user_pref("network.proxy.type", 2);
When you start browser, you can't load anything, just get bunc
of js errors.
So solution for this is migrate
user_pref("network.proxy.type", 2);
->
user_pref("network.proxy.type", 0);
so that autoproxy isn't used. This hack should be removed when
autoconfig is ready (bug #53080). autoconfig_url could be migrated,
it doesn't brake anything.
Comment 13•25 years ago
|
||
I have to agree here, we should at the very least switch the auto config pref to
0 (none) That way the browser would still be usable. The release note can
describe the problem better.
Assignee | ||
Comment 14•25 years ago
|
||
gagan knows the fallout of going to 2 -> 0 better than me.
I'll go work on that fix, and attach the patch.
Assignee | ||
Comment 16•25 years ago
|
||
Assignee | ||
Comment 17•25 years ago
|
||
taking from gagan.
racham / dbragg, you want to review?
note, I'm piggy backing off the UTF-8 pref conversion, since that happens only
once during migration, and never again.
Assignee: gagan → sspitzer
Assignee | ||
Comment 18•25 years ago
|
||
Assignee | ||
Comment 19•25 years ago
|
||
ignore that first patch, that patch included other fixes.
the new patch is just for this bug.
accepting.
Status: NEW → ASSIGNED
Comment 20•25 years ago
|
||
Patch looks good to me. Although I don't like fixing this kind of bug in the
migration code but I guess that's what we have to do at this stage of the game.
r=dbragg
Assignee | ||
Comment 21•25 years ago
|
||
dbragg, yeah this is a band aid fix.
if I check it in, I'll open a new bug to rip it out once we fix the real bug.
Assignee | ||
Comment 22•25 years ago
|
||
gagan, you want to sr= this?
Whiteboard: [rtm need info] → [rtm need info] r=dbragg, sr=?
Comment 23•25 years ago
|
||
Patch looks good, and it works as it should. Mozilla now load pages
after profile migration even if 4.x profile has autoproxy on.
Comment 24•25 years ago
|
||
sr=mscott pending a final review from gagan as well.
Assignee | ||
Comment 25•25 years ago
|
||
this fix would be branch only.
on the trunk, we'll let auto-config stay broken until #53080 gets fixed.
Whiteboard: [rtm need info] r=dbragg, sr=? → [rtm+] r=dbragg, r=gagan, sr=mscott, tested by Tomi
Comment 26•25 years ago
|
||
PDT marking [rtm need info]. We're unconvinced that the right approach is to
blast away the prefs, vs. changing the PAC backend to ignore the pref. Gagan or
Seth, please come see us tomorrow to talk about these two options.
Whiteboard: [rtm+] r=dbragg, r=gagan, sr=mscott, tested by Tomi → [rtm need info] r=dbragg, r=gagan, sr=mscott, tested by Tomi
Comment 27•25 years ago
|
||
Nobody responded to Phil's request. We're fast approaching defacto rtm-...
Assignee | ||
Comment 28•25 years ago
|
||
I'm not affected by this, and there is a workaround.
if this doesn't make rtm, it would not be the end of the world for me.
Tomi, how about for you?
gagan, this is all up to you.
my finger is on the [rtm-] button.
Assignee | ||
Comment 29•25 years ago
|
||
marking [rtm-] to get it off the pdt radar.
gagan, if you feel otherwise talk to the pdt
Whiteboard: [rtm need info] r=dbragg, r=gagan, sr=mscott, tested by Tomi → [rtm-] r=dbragg, r=gagan, sr=mscott, tested by Tomi
Comment 30•25 years ago
|
||
Our domain really needs this, many 4.x browsers use proxyautoconfig
now, when they upgrade to 6.0, they cant visit a single page :(
This hack fixes that nicely, and users could easily put that pref back
when working browser comes. They can also use gagans workaround
for whole autoproxy thing. If that proxytype=2 is ingnored completely,
that workaround coudnt be used.
Comment 31•25 years ago
|
||
I don't think we can rtm- this, we get complaints about this all the time and
the users are quite mystified.
Assignee | ||
Comment 32•25 years ago
|
||
never made it for 6.0, and it's not going to land on the trunk since we should
really just fix 53080
marking wont fix.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•