Closed Bug 806688 Opened 7 years ago Closed 7 years ago

Port browser_privatebrowsing_localStorage_before_after.js to the new per-window PB APIs

Categories

(Firefox :: Private Browsing, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 20

People

(Reporter: ehsan, Assigned: marioalv)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

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.
Blocks: pbngentest
Assignee: nobody → marioalv.mozilla
Status: NEW → ASSIGNED
Removed an unused function from the patch.
Attachment #683439 - Attachment is obsolete: true
Attachment #683439 - Flags: review?(ehsan)
Attachment #683623 - Flags: review?(ehsan)
Attachment #683623 - Flags: review?(ehsan) → review+
https://hg.mozilla.org/mozilla-central/rev/bc10a4e38e7a
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in before you can comment on or make changes to this bug.