http://mxr.mozilla.org/mozilla-central/source/browser/components/tabview/test/browser_tabview_bug650280.js In order to port this test, the file needs to be copied to the same directory (perhaps with "_perwindowpb" appended to its file name), 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 original test should only be added to the list of test files in Makefile.in ifndef MOZ_PER_WINDOW_PRIVATE_BROWSING, and the new test file should be added to the list with the reverse condition.
Created attachment 688836 [details] [diff] [review] Ported testcase
Attachment #688836 - Flags: review?(ehsan)
Attachment #688836 - Flags: review?(ehsan) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in before you can comment on or make changes to this bug.