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:
Logan Rosen
2024-11-29 15:18:25 +00:00
parent 73b151f5c9
commit d24c9d9ff4
564 changed files with 2511 additions and 2799 deletions

View File

@@ -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;
}
}
}