Closed
Bug 806724
Opened 12 years ago
Closed 12 years ago
Port browser_ConsoleStoragePBTest.js to the new per-tab PB APIs
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
FIXED
Firefox 20
People
(Reporter: ehsan.akhgari, Assigned: marioalv)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
7.32 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
http://mxr.mozilla.org/mozilla-central/source/dom/tests/browser/browser_ConsoleStoragePBTest.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.
Reporter | ||
Comment 1•12 years ago
|
||
Removed this test from global PB builds: https://hg.mozilla.org/mozilla-central/rev/fd19c6212b41
Reporter | ||
Comment 2•12 years ago
|
||
s/global/per-window/
Updated•12 years ago
|
Assignee: nobody → marioalv.mozilla
Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #690638 -
Flags: review?(ehsan)
Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 690638 [details] [diff] [review] Patch to migrate the test to the new per window private mode Review of attachment 690638 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/tests/browser/browser_ConsoleStoragePBTest.js @@ +17,5 @@ > > + function getInnerWindowId(aWindow) { > + return aWindow.QueryInterface(Ci.nsIInterfaceRequestor) > + .getInterface(Ci.nsIDOMWindowUtils) > + .currentInnerWindowID; Nit: indentation.
Attachment #690638 -
Flags: review?(ehsan) → review+
Reporter | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3ce22cb51e56
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in
before you can comment on or make changes to this bug.
Description
•