http://mxr.mozilla.org/mozilla-central/source/browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after.js In order to port this test, the file needs to be copied to the perwindow/ directory, and then instead of setting privateBrowsingEnabled, we need to open a new private browsing window and then run the test on that window. Note that the per-window version of this test can have both the private and non-private window simultaneously open as opposed to the current way that the test is structured. Specifically it should avoid setting usePrivateBrowsing directly.
Created attachment 683439 [details] [diff] [review] Patch to migrate the test to the new per window private mode
Created attachment 683623 [details] [diff] [review] Patch to migrate the test to the new per window private mode Removed an unused function from the patch.
Attachment #683623 - Flags: review?(ehsan) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in before you can comment on or make changes to this bug.