Closed Bug 767836 Opened 13 years ago Closed 13 years ago

show custom newtab page in private browsing mode if configured

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 16

People

(Reporter: ttaubert, Assigned: sawrubh)

References

Details

(Whiteboard: [good first bug][mentor=ttaubert][lang=js])

Attachments

(1 file, 2 obsolete files)

When implementing the solution for new tab in private browsing mode in bug 763468 (described in bug 762938 comment #13) we forgot to always show the custom new tab page if the user configured one.
Hi, Can i get some help in getting this bug assigned to me?
Madhavan, Sorry but I had worked on the previous bug (See 763468) and have started working on this one. Can you please find some other bug ? Thanks.
Assignee: nobody → saurabhanandiit
Status: NEW → ASSIGNED
Attached patch Patch v1(Includes the test) (obsolete) — Splinter Review
Attachment #638797 - Flags: review?(ttaubert)
Attached patch Patch v2 - Rebased Patch v1 (obsolete) — Splinter Review
Attachment #638797 - Attachment is obsolete: true
Attachment #638797 - Flags: review?(ttaubert)
Attachment #638807 - Flags: review?(ttaubert)
Comment on attachment 638807 [details] [diff] [review] Patch v2 - Rebased Patch v1 Review of attachment 638807 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, Saurabh! r=me with the nit fixed. Please send it to try before we can land it. ::: browser/base/content/test/browser_bug767836.js @@ +6,5 @@ > +const pb = Cc["@mozilla.org/privatebrowsing;1"]. > + getService(Ci.nsIPrivateBrowsingService); > +const PREF = "browser.newtab.url"; > +const newTabUrl = Services.prefs.getCharPref(PREF) || "about:blank"; > +const testURL = "http://example.com/"; Nit: these two consts should be upper case.
Attachment #638807 - Flags: review?(ttaubert) → review+
Attached patch Patch v3Splinter Review
Fixed nit.
Attachment #638807 - Attachment is obsolete: true
Whiteboard: [good first bug][mentor=ttaubert][lang=js] → [good first bug][mentor=ttaubert][lang=js][fixed-in-fx-team]
Target Milestone: --- → Firefox 16
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][mentor=ttaubert][lang=js][fixed-in-fx-team] → [good first bug][mentor=ttaubert][lang=js]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: