Closed
Bug 227612
Opened 21 years ago
Closed 21 years ago
[FIX]Cookie settings not shown in preferences
Categories
(SeaMonkey :: Preferences, defect)
SeaMonkey
Preferences
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: hhschwab, Assigned: neil)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
2.37 KB,
patch
|
bzbarsky
:
review+
alecf
:
superreview+
asa
:
approval1.6b-
asa
:
approval1.6+
|
Details | Diff | Splinter Review |
regressed between working nightly BuildID 2003120208 ( directory 2003-12-02-09) and failing tinderbox BuildID 2003120307 ( file time 11h24 ) with current nightly 03120508 I noticed my cookie settings were not shown. I´ve seen only cookies enabled: ALL, could change it, but on reopening pref the change wasn´t shown. The lifetime settings weren´t shown at all, normally I´ve got cookies enabled for session only, and so the box for lifetime in days is gray, but shows a number. Using buggy builds, that box is plain white, no number seen. I created a fresh profile, noc change, but crashed after some opening/changing/reopening the prefs. Going back to BuildID 2003120208 my own default settings were shown. I checked some Builds inbetween BuildID 2003120208 and current nightly 2003120508 using the same profile, always installed ontop, reinstalling 03120208 went back to normal behaviour. Some other checks in the profile: Adding a language worked, removing also. Disabling JS for Navigator didn´t gray out the JS-settings, this is still the case in BuildID 2003120208. Should I file another bug for this? Setting priority blocker to get attention for 1.6b
Reporter | ||
Updated•21 years ago
|
Flags: blocking1.6b?
Comment 1•21 years ago
|
||
> Disabling JS for Navigator didn´t gray out the JS-settings Please file a separate bug for that, cc me and neil.parkwaycc.co.uk@myrealbox.com. That got broken by his patch to bug 181973 -- the Startup() function for that pref panel has a JS error. Investigating the main issue reported here...
Comment 2•21 years ago
|
||
OK, opening that prefs panel gives me: Error: this.mRadioChildren has no properties Source File: chrome://global/content/bindings/radio.xml Line: 202 This is fallout from bug 226549 somehow... Taking.
Assignee: prefs → bz-vacation
Comment 3•21 years ago
|
||
Actually, I filed bug 227623 on the issue in comment 1
Comment 4•21 years ago
|
||
I don't like this much, but... The problem here is some script calls _getRadioChildren before their frames have been constructed, hence before bindings have been attached to them. So the bindings get attached in the middle of the _getRadioChildren() call. But their constructors blow away the mRadioChildren array.... This patch makes us detect that condition, finish iterating over the <radio>s to make sure all their bindings get created, then just call _getRadioChildren() again to get the data it needs.
Comment 5•21 years ago
|
||
Comment on attachment 136920 [details] [diff] [review] Maybe something like this? Neil? Alec? Could you review, please?
Attachment #136920 -
Flags: superreview?(alecf)
Attachment #136920 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•21 years ago
|
OS: Windows 98 → All
Priority: -- → P1
Hardware: PC → All
Summary: Cookie settings not shown in preferences → [FIX]Cookie settings not shown in preferences
Target Milestone: --- → mozilla1.6beta
Assignee | ||
Comment 6•21 years ago
|
||
OK, so what's happening here is that the cookies panel is trying to use xbl on a hidden radio button, which I think is failing for the same reason as bug 90337 i.e. the hidden radio isn't constructed until JS references it. (Normally all xbl is constructed before the load event.) Interestingly having the p3p choice as the selected item masks this bug, I don't understand that bit yet.
Comment 7•21 years ago
|
||
Neil, that's exactly right (the bit about using XBL on display:none things). That's what blows away the array during the treewalk in this case, since that's when the binding is instantiated...
Assignee | ||
Comment 8•21 years ago
|
||
This is based on my patch in bug 223897, but with less of the clean up, and further simplified, and rearranged to resolve this bug.
Comment 9•21 years ago
|
||
Comment on attachment 136953 [details] [diff] [review] I still prefer the "flatter" approach OK, agreed. This is better. r=bzbarsky
Attachment #136953 -
Flags: superreview?(alecf)
Attachment #136953 -
Flags: review+
Updated•21 years ago
|
Attachment #136920 -
Attachment is obsolete: true
Attachment #136920 -
Flags: superreview?(alecf)
Attachment #136920 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 10•21 years ago
|
||
To neil, since it's his patch.
Assignee: bz-vacation → neil.parkwaycc.co.uk
Priority: P1 → --
Target Milestone: mozilla1.6beta → ---
Comment 11•21 years ago
|
||
Comment on attachment 136953 [details] [diff] [review] I still prefer the "flatter" approach sr=alecf
Attachment #136953 -
Flags: superreview?(alecf) → superreview+
Comment 12•21 years ago
|
||
Comment on attachment 136953 [details] [diff] [review] I still prefer the "flatter" approach This is a followup to bug 226549 that fixes more cases where the radiochildren array could go awry... This _should_ be pretty safe.
Attachment #136953 -
Flags: approval1.6b?
Updated•21 years ago
|
Flags: blocking1.6b? → blocking1.6b-
Updated•21 years ago
|
Attachment #136953 -
Flags: approval1.6b?
Attachment #136953 -
Flags: approval1.6b-
Attachment #136953 -
Flags: approval1.6?
Updated•21 years ago
|
Flags: blocking1.6+
Reporter | ||
Comment 13•21 years ago
|
||
*** Bug 227999 has been marked as a duplicate of this bug. ***
Comment 14•21 years ago
|
||
Comment on attachment 136953 [details] [diff] [review] I still prefer the "flatter" approach a=asa (on beahalf of drivers) for checkin to Mozilla 1.6.
Attachment #136953 -
Flags: approval1.6? → approval1.6+
Assignee | ||
Comment 15•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 16•21 years ago
|
||
*** Bug 228381 has been marked as a duplicate of this bug. ***
Comment 17•21 years ago
|
||
*** Bug 228554 has been marked as a duplicate of this bug. ***
Comment 19•21 years ago
|
||
*** Bug 229406 has been marked as a duplicate of this bug. ***
Comment 20•21 years ago
|
||
*** Bug 229542 has been marked as a duplicate of this bug. ***
Comment 21•21 years ago
|
||
*** Bug 229570 has been marked as a duplicate of this bug. ***
Comment 22•21 years ago
|
||
*** Bug 229638 has been marked as a duplicate of this bug. ***
Comment 23•21 years ago
|
||
*** Bug 229884 has been marked as a duplicate of this bug. ***
Comment 24•21 years ago
|
||
*** Bug 231500 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Browser → Seamonkey
This caused bug 285065.
You need to log in
before you can comment on or make changes to this bug.
Description
•