Closed Bug 1488914 Opened 6 years ago Closed 6 years ago

tabs.create and windows.create should open about:privatebrowsing instead of about:newtab in PB

Categories

(WebExtensions :: Frontend, enhancement, P1)

enhancement

Tracking

(firefox64 verified, firefox65 verified)

VERIFIED FIXED
mozilla64
Iteration:
64.2 - Sep 28
Tracking Status
firefox64 --- verified
firefox65 --- verified

People

(Reporter: robwu, Assigned: robwu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

While testing bug 1393570 I found that new windows and new tabs default to about:newtab even in private browsing mode.

When the window is in private browsing mode, the default should be about:privatebrowsing. This expected behavior is the case when a new private tab/window is opened manually by the user.
That's strange, because I notice new windows opening with about:privatebrowsing in tests I've done for bug 1345474.
on second thought, I might not using webext apis to open windows.
Priority: -- → P1
This is actually a regression, and should be fixed before Beta is promoted to stable.

...and windows.create for non-private browsing windows should be about:home (but that is not a regression).
https://phabricator.services.mozilla.com/D4929#inline-20894
Blocks: 1393570
I'm mistaken, this is not a regression. Unlike windows.create, tabs.create does not use newTabService.

The default hoempage of windows.create is still broken though, both for private and non-private windows.
Use a homepage URL instead of a new tab URL by default in
browser.windows.create.
Iteration: --- → 64.2 (Sep 28)
Attachment #9015851 - Attachment is obsolete: true
Pushed by rob@robwu.nl:
https://hg.mozilla.org/integration/autoland/rev/c844033d55eb
Use about:home / about:privatebrowsing in windows.create r=rpl,dao
Flags: needinfo?(rob)
Pushed by rob@robwu.nl:
https://hg.mozilla.org/integration/autoland/rev/cf62153b17ad
Use about:home / about:privatebrowsing in windows.create r=rpl,dao
https://hg.mozilla.org/mozilla-central/rev/cf62153b17ad
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Verified that the issue is no longer occurring on: FF 64.0b3, Nightly 65.0a1 running on Windows 10 x64, using both browser's controls and tab management extensions.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: