Closed
Bug 218584
Opened 22 years ago
Closed 22 years ago
about:config uses nsHttpChannel::Open
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.6alpha
People
(Reporter: Biesinger, Assigned: neil)
References
Details
Attachments
(1 file)
|
872 bytes,
patch
|
darin.moz
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
note:this is a _very_ special 1.4 branch build. need to verify on trunk (though
I don't think httpchannel::open asserts there)
for some reason, about:config tries to use nsHttpChannel::Open several times
that might be rather bad once that function gets implemented
| Reporter | ||
Comment 1•22 years ago
|
||
oh, this sucks...
about:config tries to interpret each preference value as a localized pref (if it
has no user-set value):
http://lxr.mozilla.org/seamonkey/source/xpfe/global/resources/content/config.js#284
Getting a localized pref means that a stringbundle will be loaded from the given
url (or at least, that is attempted)
This uses ::Open on the channel created from the url, and then loads that url.
So - when bug 192284 is fixed, about:config will try to load all throbber urls,
among probably other things (home page e.g.)
I suppose a check if the url starts with chrome: would be a good idea before
trying to interpret the pref as localized pref
Blocks: 192284
| Assignee | ||
Comment 2•22 years ago
|
||
This might also speed about:config up a bit.
Comment 4•22 years ago
|
||
Comment on attachment 131081 [details] [diff] [review]
Proposed patch
r/sr=bzbarsky (pick one)
Attachment #131081 -
Flags: superreview+
Comment 5•22 years ago
|
||
Comment on attachment 131081 [details] [diff] [review]
Proposed patch
r/sr=darin
Attachment #131081 -
Flags: review+
| Reporter | ||
Updated•22 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
| Assignee | ||
Updated•22 years ago
|
Target Milestone: --- → mozilla1.6alpha
| Assignee | ||
Comment 6•22 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 7•22 years ago
|
||
*** Bug 234006 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•