Closed Bug 496335 Opened 16 years ago Closed 15 years ago

Don't restart Necko on Private Browsing mode transitions

Categories

(Firefox :: Private Browsing, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.6a1
Tracking Status
status1.9.1 --- .4-fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

(Keywords: verified1.9.1)

Attachments

(1 file)

Bug 463256 which caused SSL pages not to load after transitioning the private browsing mode was fixed by a drastic approach: restarting the entire Necko library on transitions of private browsing mode. This is absolutely less than perfect but it was the best solution at hand back when bug 463256 was fixed. This causes problems such as bug 488772, Chatzilla (and possibly other extensions which open their own network connections) to drop its connection when turning Private Browsing mode on or off, and also caused some craziness with our unit test frameworks (see bug 486640). Bug 480619 provides a clean fix for the underlying issue, and once that bug is fixed, we can mostly backout the changes committed as part of bug 463256 and Necko will behave correctly once the private browsing mode is changed. This is a really really wanted fix for 1.9.1. I'm requesting blocking to get this on radar, but I expect this to make it's way into a dot release.
Flags: blocking-firefox3.5?
This can't end up blocking+ if it's blocked on a bug that's blocking-...
(In reply to comment #1) > This can't end up blocking+ if it's blocked on a bug that's blocking-... Yes... wanted1.9.1.x flag is disabled for me on all bugs, otherwise I would choose that instead...
Flags: wanted1.9.1.x?
Flags: blocking-firefox3.5?
Flags: blocking-firefox3.5-
The patch I have for this bug enables the sslsite transition test, so it would fix bug 486640 as well.
Blocks: 486640
Attached patch Patch (v1) (deleted) — Splinter Review
This patch removes the offline code magic, enables the sslsite transition test, and adjusts the xpcshell test to make sure no offline mode change happens when changing the private browsing status.
Attachment #386259 - Flags: review?(mconnor)
Attachment #386259 - Flags: review?(mconnor) → review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.6a1
Attachment #386259 - Flags: approval1.9.1.1?
Verified fixed on trunk with the debug build Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090711 Minefield/3.6a1pre ID:20090711205434. I made a test-run with the existent Mozmill tests for Private Browsing. All were processed to the end now. It would be fantastic to get the fix in 1.9.1 so we can run functional tests for one of our major new features.
Status: RESOLVED → VERIFIED
This can't be taken on 1.9.1.1 until bug 480619 (current status is approval191-) is taken, so someone should probably request approval on that bug first...
The change for this bug is suspected as a possible cause of bug 503418, and/or bug 489880, which are seen only on the trunk where this patch was committed.
Depends on: 503418
Depends on: 489880
(In reply to comment #8) > The change for this bug is suspected as a possible cause of bug 503418, > and/or bug 489880, which are seen only on the trunk where this patch was > committed. See bug 503418 comment 29.
Attachment #386259 - Flags: approval1.9.1.1? → approval1.9.1.2?
Comment on attachment 386259 [details] [diff] [review] Patch (v1) Please renominate once we can determine definitively if this was or was not the cause of bug 503418
Attachment #386259 - Flags: approval1.9.1.2? → approval1.9.1.2-
Flags: wanted1.9.1.x?
No longer depends on: 503418
Comment on attachment 386259 [details] [diff] [review] Patch (v1) (In reply to comment #11) > (From update of attachment 386259 [details] [diff] [review]) > Please renominate once we can determine definitively if this was or was not the > cause of bug 503418 Based on bug 503418 comment 32 and bug 503418 comment 34, this is not the cause of bug 503418, so I'm nominating again. Please note that the test case for bug 480619 has also landed, and approval on this requires approval on bug 480619 as well.
Attachment #386259 - Flags: approval1.9.1.3?
Attachment #386259 - Flags: approval1.9.1.3? → approval1.9.1.4+
Comment on attachment 386259 [details] [diff] [review] Patch (v1) Approved for 1.9.1.4, a=dveditz for release-drivers
Verified fixed with our Mozmill tests and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.4pre) Gecko/20090831 Shiretoko/3.5.4pre ID:20090831030742
Keywords: verified1.9.1
Blocks: 510864
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: