Closed Bug 218584 Opened 22 years ago Closed 22 years ago

about:config uses nsHttpChannel::Open

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.6alpha

People

(Reporter: Biesinger, Assigned: neil)

References

Details

Attachments

(1 file)

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
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
Attached patch Proposed patchSplinter Review
This might also speed about:config up a bit.
-> neil
Assignee: cbiesinger → neil.parkwaycc.co.uk
Comment on attachment 131081 [details] [diff] [review] Proposed patch r/sr=bzbarsky (pick one)
Attachment #131081 - Flags: superreview+
Comment on attachment 131081 [details] [diff] [review] Proposed patch r/sr=darin
Attachment #131081 - Flags: review+
OS: Windows 2000 → All
Hardware: PC → All
Target Milestone: --- → mozilla1.6alpha
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 234006 has been marked as a duplicate of this bug. ***
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: