Closed Bug 806721 Opened 7 years ago Closed 7 years ago

Port browser_webconsole_bug_618311_private_browsing.js to the new per-tab PB APIs

Categories

(Firefox :: Private Browsing, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 19

People

(Reporter: ehsan, Assigned: ehsan)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

http://mxr.mozilla.org/mozilla-central/source/browser/devtools/webconsole/test/browser_webconsole_bug_618311_private_browsing.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.
Hmm, this test doesn't make any sense in the case of per-window PB, so I guess we can just remove it for those types of builds.
Assignee: nobody → ehsan
Attached patch Patch (v1)Splinter Review
Attachment #679515 - Flags: review?(josh)
Attachment #679515 - Flags: review?(josh) → review+
https://hg.mozilla.org/mozilla-central/rev/463e747a00de
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
You need to log in before you can comment on or make changes to this bug.