Closed
Bug 310162
Opened 19 years ago
Closed 19 years ago
Changing proxy settings is slow and throws multiple javascript errors
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mossop, Assigned: mossop)
Details
(Keywords: fixed1.8)
Attachments
(1 file)
|
1.89 KB,
patch
|
mconnor
:
review+
asa
:
approval1.8b5+
|
Details | Diff | Splinter Review |
Changing the proxy settings throws the following message lots of times: Error: document has no properties Source File: chrome://global/content/bindings/preferences.xml Line: 94 Don't seem to be able to reproduce this on branch.
| Assignee | ||
Comment 1•19 years ago
|
||
Silly me, my branch install didnt have console logging. This does occur on branch.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•19 years ago
|
||
When child prefwindows are accepted, they create preference elements in the parent to hold their state. Unfortunatly these elements have a blank name and so the preference observer is called once for every one of these elements, everytime a preference changes. This patch re-registers the preference observer when the preference element's name changes. It might also be sensible to do some other things on preference name change, retrieve the value from preferences perhaps? I confess to not being totally sure what is causing the specific error message, but it happens at the same time as the pref observer being called about 10 times for the same preference, and this patch seems to resolve it for me.
Attachment #197587 -
Flags: review?(mconnor)
Comment 3•19 years ago
|
||
Comment on attachment 197587 [details] [diff] [review] Re-registers preference observer as necessary another example of making the widget better before people really start using it
Attachment #197587 -
Flags: review?(mconnor) → review+
Comment 4•19 years ago
|
||
Trunk: mozilla/toolkit/content/widgets/preferences.xml; new revision: 1.40;
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Flags: blocking1.8b5?
Resolution: --- → FIXED
Updated•19 years ago
|
Attachment #197587 -
Flags: approval1.8b5?
Updated•19 years ago
|
Attachment #197587 -
Flags: approval1.8b5? → approval1.8b5+
Updated•19 years ago
|
Whiteboard: [checkin needed][a+]
Comment 6•19 years ago
|
||
I probably won't be able to check this in today. Asaf, do you mind checking this in on the branch?
| Assignee | ||
Comment 7•19 years ago
|
||
Forgot to mark this, timeless checked it in a short while ago.
Flags: blocking1.8b5?
Whiteboard: [checkin needed][a+] → fixed1.8
You need to log in
before you can comment on or make changes to this bug.
Description
•