mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-08 10:56:36 +00:00
Fixed getting an empty tab user context ID
This commit is contained in:
@@ -140,7 +140,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||||||
|
|
||||||
_initializeEmptyTab() {
|
_initializeEmptyTab() {
|
||||||
gBrowser._forZenEmptyTab = true;
|
gBrowser._forZenEmptyTab = true;
|
||||||
this._emptyTab = gBrowser.addTrustedTab('about:blank', { inBackground: true });
|
this._emptyTab = gBrowser.addTrustedTab('about:blank', { inBackground: true, userContextId: 0 });
|
||||||
this._emptyTab.setAttribute('zen-empty-tab', 'true');
|
this._emptyTab.setAttribute('zen-empty-tab', 'true');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user