Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Dragging Private Tabs to non-private window malfunctions #242
If you create a private Tab and use Drag & Drop to move so it would create a new Firefox Window a new window gets created but the Tab itself becomes useless. The URL is gone, you cannot close the tab and you cannot load a new URL. The new window itself is fine and new tabs (even private) can be created.
If you Drag & Drop tabs from a private window it does work normally.
I played a bit with that and found the following: If you move the private tab to a non-private windows the explained error happens. White window, tab unusable and unclosable. I even tried a fresh Firefox Profile, it still happens.
If you drag the private tab out of a non-private window into a private one it works as intended, the other way around also produces the error.
Also see #237 (comment) and https://bugzilla.mozilla.org/show_bug.cgi?id=1279094 (for e10s, but looks like something related).
And for now works better with enabled e10s.
gBrowser.selectedBrowser.docShell .QueryInterface(Components.interfaces.nsILoadContext) .usePrivateBrowsing = true;
(that used inside Private Tab to toggle built-in private mode)
Looks like works trick with docShell.inheritPrivateBrowsingId = false (for disabled e10s) Thanks to Dumby: https://forum.mozilla-russia.org/viewtopic.php?pid=737516#p737516 (#242)