Bug 1857834 - auto-formatting with Prettier v3 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,reusable-components-reviewers,profiler-reviewers,dom-storage-reviewers,android-reviewers,firefox-ai-ml-reviewers,hjones,mcheang,mstange,sparky,janv,nchevobbe,tarek,Standard8,markh
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D230598
This commit is contained in:
@@ -330,9 +330,8 @@ function openBrowserWindow(
|
||||
win.document.documentElement.removeAttribute("windowtype");
|
||||
|
||||
if (forcePrivate) {
|
||||
win.docShell.QueryInterface(
|
||||
Ci.nsILoadContext
|
||||
).usePrivateBrowsing = true;
|
||||
win.docShell.QueryInterface(Ci.nsILoadContext).usePrivateBrowsing =
|
||||
true;
|
||||
|
||||
if (
|
||||
AppConstants.platform == "win" &&
|
||||
@@ -654,9 +653,8 @@ nsBrowserContentHandler.prototype = {
|
||||
if (cmdLine.state == Ci.nsICommandLine.STATE_INITIAL_LAUNCH) {
|
||||
let win = Services.wm.getMostRecentWindow("navigator:blank");
|
||||
if (win) {
|
||||
win.docShell.QueryInterface(
|
||||
Ci.nsILoadContext
|
||||
).usePrivateBrowsing = true;
|
||||
win.docShell.QueryInterface(Ci.nsILoadContext).usePrivateBrowsing =
|
||||
true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user