Closed
Bug 140149
Opened 22 years ago
Closed 22 years ago
Disable cookies pref for MailNews disappears on 2nd app launch (MAC OS X ONLY).
Categories
(MailNews Core :: Security, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: stephend, Assigned: naving)
Details
(Whiteboard: [adt2 rtm])
Attachments
(1 file)
1021 bytes,
patch
|
racham
:
review+
mscott
:
superreview+
jud
:
approval+
|
Details | Diff | Splinter Review |
Build ID: 2002-04-25-08 Trunk Mozilla, Mac OS X 10.1.4 Summary: Disable cookies pref for Mailnews disappears on 2nd app launch (MAC ONLY). This is _so_ strange, but here goes: Steps to Reproduce: After deleting both the Documents:Mozilla folder on OS X and my profile, then running Mozilla, the 1st time I've launched the build, the preference 'Disable cookies in Mail & Newsgroups' and the checkbox are both existent. However, the 2nd time I launch the app, that whole pref just disappears from the UI. The pref isn't gone - it still exists in all.js. For some reason, this JS routine is failing to find out if we have Mail installed on Mac OS X 10.1.3 and Mac OS 9.2.2 pref-cookies.xul: + // if mailnews is installed then we will have networkCookieBehaviorForMailNews checkbox + if (document.getElementById('networkDisableCookieForMailNews')) + { + var networkDisableCookieForMailNews = document.getElementById("networkDisableCookieForMailNews"); + networkDisableCookieForMailNews.disabled = cookieBehavior.value == cookies_disabled; + } I'm also wondering if there is some mac-centricness going on with: mailPrefsOverlay.xul where once we've gotten the pref's state, we insert this into the UI: + <page id="cookiesPanel"> + <checkbox id="networkDisableCookieForMailNews" + label="&disableCookieForMailNews.label;" accesskey="&disableCookieForMailNews.accesskey;" + pref="true" preftype="bool" prefstring="network.cookie.disableCookieForMailNews" + prefattribute="checked" insertafter="networkCookieBehaviorSeparator"/> + </page> Sorry to ramble/guess - here's the full patch: http://bugzilla.mozilla.org/showattachment.cgi?attach_id=78375
Reporter | ||
Comment 1•22 years ago
|
||
Over to Navin who implemented this feature.
Assignee: mstoltz → naving
QA Contact: junruh → stephend
Assignee | ||
Comment 2•22 years ago
|
||
Is this just MAC OSX or Mac OS 9 also ?
Reporter | ||
Comment 3•22 years ago
|
||
From comment 1 - For some reason, this JS routine is failing to find out if we have Mail installed on Mac OS X 10.1.3 and Mac OS 9.2.2 Both.
Comment 5•22 years ago
|
||
nsbeta1+ per mail triage. Is this happening on the branch using an NS build? If not, please remove the nsbeta1+ and adt markings.
Reporter | ||
Comment 6•22 years ago
|
||
Yes, still occuring with the 5-17 Mozilla1.0.0 Commercial Branch build on OS X 10.1.4.
Assignee | ||
Comment 7•22 years ago
|
||
This patch fixes the problem on MAC OS X commercial. I think it is because pref by default is false on commerical build and MAC does not like this(it seems).
Assignee | ||
Comment 8•22 years ago
|
||
cavin, can I get a review, thx.
Assignee | ||
Comment 9•22 years ago
|
||
bhuvan, can I get r=? thx
Comment 10•22 years ago
|
||
Comment on attachment 84687 [details] [diff] [review] proposed fix r=bhuvan
Attachment #84687 -
Flags: review+
Comment 11•22 years ago
|
||
Comment on attachment 84687 [details] [diff] [review] proposed fix sr=mscott
Attachment #84687 -
Flags: superreview+
Assignee | ||
Comment 12•22 years ago
|
||
fixed on trunk
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 13•22 years ago
|
||
Sorry, this still isn't fixed on trunk builds: Mac OS 9.2.2 - 2002-05-24-03 Mac OS X 10.1.4 - 2002-05-24-08 In fact, I no longer ever see the pref, as opposed to seeing it manifest the 1st time, then disappear upon app relaunch. Re-opening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 14•22 years ago
|
||
removing the nomination since it isn't fixed on the trunk.
Keywords: adt1.0.0
Assignee | ||
Comment 15•22 years ago
|
||
This is fixed on mac os 9.x. I will have to try MAC OS X.
Summary: Disable cookies pref for MailNews disappears on 2nd app launch (MAC ONLY). → Disable cookies pref for MailNews disappears on 2nd app launch (MAC OS X ONLY).
Reporter | ||
Comment 16•22 years ago
|
||
Only on the trunk - on the branch, OS 9.2.2 displays this pref the 1st time, but on relaunch it disappears, as well. Sigh.
Assignee | ||
Comment 17•22 years ago
|
||
This fix was never checked on the branch.
Reporter | ||
Comment 18•22 years ago
|
||
ah, yes, right! good thing it works now on OS 9.2.2 then.
Comment 19•22 years ago
|
||
It sounds like this actually works on the trunk, so I think this can marked verified. Nominating for branch.
Keywords: adt1.0.1,
mozilla1.0.1
Reporter | ||
Comment 20•22 years ago
|
||
Indeed it is, I'll now mark it as such. What happened to make this work all of a sudden?
Status: REOPENED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 21•22 years ago
|
||
Verified on trunk with build: 2002-06-05-08, Mac OS X 10.1.5
Status: RESOLVED → VERIFIED
Comment 22•22 years ago
|
||
adding adt1.0.1+. Please get drivers approval before checking into the branch.
Updated•22 years ago
|
Attachment #84687 -
Flags: approval+
Updated•22 years ago
|
Keywords: mozilla1.0.1 → mozilla1.0.1+
Target Milestone: --- → mozilla1.0.1
Comment 23•22 years ago
|
||
Navin, can you check this in ASAP to the branch.
Assignee | ||
Comment 24•22 years ago
|
||
The branch is currently closed. I'll check it in, once it reopens.
Reporter | ||
Comment 26•22 years ago
|
||
Verified FIXED with: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0) Gecko/20020613 Netscape/7.0b1 on Mac OS X 10.1.5
Keywords: fixed1.0.1 → verified1.0.1
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•