Dão Gottwald
bfd25b09a2
Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian
...
MozReview-Commit-ID: 53Mu4zb9X1C
2018-08-04 13:27:40 +02:00
Boris Zbarsky
df1e81934e
Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs
2018-08-01 13:07:10 -04:00
Kris Maglione
44a1aa9096
Bug 1479288: Fix botched browserDOMWindow lookup. r=trivial
2018-07-29 12:13:06 -07:00
Kris Maglione
e97c582e3f
Bug 1463291: Move docShell getter from Document to Window. r=bz
...
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.
MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Kris Maglione
9ba14892f2
Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
...
MozReview-Commit-ID: FRRAdxLHRtG
2018-05-20 18:10:16 -07:00
Narcis Beleuzu
749f83cc65
Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
...
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
6dcf46ad68
Bug 1463291: Move docShell getter from Document to Window. r=bz
...
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.
MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Kris Maglione
86fbdd6653
Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
...
MozReview-Commit-ID: FRRAdxLHRtG
2018-05-20 18:10:16 -07:00
Brian Grinstead
3097f96e03
Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
...
Before this change, we accessed the browser URL in the following ways:
- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js
MozReview-Commit-ID: I5vtRke1x9t
2018-07-24 08:12:50 -07:00
Axel Hecht
28138483f9
Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws
...
Also changes the tooltip on the home button to be independent of the URLs
it opens, per dolske.
Some tests explicitly set browser.startup.homepage, but only through
SpecialPowers.putPrefEnv. That's a good compromise, given the extra
functionality there.
MozReview-Commit-ID: FPLxzi3jQAP
2018-05-28 12:38:01 +02:00
Kris Maglione
582a21b473
Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
...
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.
MozReview-Commit-ID: 8OzglraowZt
2018-04-23 12:58:34 -07:00
Kris Maglione
fd7e9e6a69
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Mike de Boer
15e60d9e71
Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
...
MozReview-Commit-ID: EvgAhq4uR3a
2018-04-11 12:05:59 +02:00
Mike de Boer
2271d50b55
Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
...
MozReview-Commit-ID: 9qzq1aGvjDu
2018-04-11 12:05:56 +02:00
Florian Quèze
0dcb9c597c
Bug 1450999 - always provide a null argument when opening a window for the -chrome command line parameter, otherwise the opened window is non-resizable, r=mconley.
2018-04-09 16:23:50 +02:00
Florian Quèze
3387813335
Bug 1449925 - follow-up to fix conflict with bug 1450242, rs=bustage-fix, a=bustage-fix on CLOSED TREE
2018-04-04 21:48:49 +02:00
Florian Quèze
df41ea7e19
Bug 1449925 - make the --private command line parameter work when browser.startup.blankWindow is true, r=Ehsan.
2018-04-04 21:29:16 +02:00
Felipe Gomes
df9f340e0a
Bug 1429122 - Policy: Override or disable post-update (what's new) page. r=mhowell
2018-04-03 15:39:35 -03:00
Ludovic Hirlimann
48eb84e9e4
Bug 1449940 - Merge nsSetDefaultBrowser.js into nsBrowserContentHandler.js to remove one xpcom component loaded at startup, r=florian.
2018-03-31 15:04:01 +02:00
Florian Quèze
8f3042e112
Bug 1450242 - Remove useless constants at the top of nsBrowserContentHandler.js, r=Standard8.
2018-04-03 15:44:05 +02:00
Florian Quèze
9f4fa41252
Bug 1448135 - re-use the blank window whenever possible in nsBrowserContentHandler.js, r=mconley.
2018-03-30 14:03:46 +02:00
Michael Kaply
c52f2aea15
Bug 1442749 - Add back line accidentally removed in bug 1432355. r=Gijs
...
MozReview-Commit-ID: B6BfCzwfeuc
2018-03-09 15:30:33 -06:00
Michael Kaply
97e2f5fdd4
Bug 1432355 - Add a policy to disable private browsing. r=Gijs
...
MozReview-Commit-ID: AprbL6usEv5
2018-03-01 10:20:38 -06:00
Florian Quèze
f6add2cafd
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Florian Quèze
7e376f1716
Bug 1336227 - Show about:blank as soon as possible during startup (pref'ed off), r=mconley.
2018-02-10 15:07:48 +01:00
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Gijs Kruitbosch
2f57967920
Bug 1430964 - ignore firefoxurl commandline junk no matter its case, r=florian
...
MozReview-Commit-ID: KfqkF7fctuE
2018-01-17 11:14:37 +00:00
Brendan Dahl
b2daa719b3
Bug 1414403 - Display screenshot help message on all platforms. r=mossop
...
MozReview-Commit-ID: JSxTrXt9tnL
2017-11-06 10:42:32 -08:00
Dan Banner
5af4450327
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Benjamin Dahse
190a02a905
Bug 1378010 - screenshot from command line with headless; r=mossop
...
Add a `--screenshot` argument that implies `--headless` and is used to take a screenshot of a page from the command line.
Default is a full page screenshot, but `--window-size=width[,height]` can change this.
A path for the screenshot can be supplied with `--screenshot=/path/to/file`.
MozReview-Commit-ID: 13tUjk2Yrsl
2017-09-12 16:55:27 -07:00
Alessio Placitelli
cc37955cfb
Bug 1380256 - Implement the update ping with reason "success". r=chutten,mhowell,rweiss+418169
...
This patch enables sending the "update" ping with reason "success"
after the browser is restarted when an update is successfully applied.
MozReview-Commit-ID: 8LYxhTTrs7l
2017-08-21 11:50:59 +02:00
Robert Strong
27cbc08a43
Bug 1386224 - use the active update and fallback to the latest update in the update history when determining whether to show the what's new page. r=mhowell
2017-08-18 12:06:10 -07:00
Masatoshi Kimura
0af76969af
Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
...
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Christoph Kerschbaumer
62012a3546
Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku
2017-07-05 21:58:21 +02:00
Fischer.json
b2508dd4e6
Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
...
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Mike Conley
97b8830085
Bug 1362103 - Suppress animation on first window opening. r=florian
...
Enabled by default behind the browser.suppress_first_window_animation pref.
MozReview-Commit-ID: 4mzy4Qif0LX
2017-05-04 12:42:27 -04:00
Florian Queze
aca1103c68
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Sebastian Hengst
4189eac09e
Backed out changeset e1f191aad863 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
6c119a88d3
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Mark Banner
7945b07153
Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
...
MozReview-Commit-ID: KVrAnAjMD1E
2017-04-03 11:46:56 +01:00
Jared Wein
5a181760cc
Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
...
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.
MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Florian Quèze
c7eae86054
Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
2017-03-07 15:29:48 +01:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
380ca69b3c
Bug 1324865 - Remove the FX_STARTUP_EXTERNAL_CONTENT_HANDLER telemetry probe now that it is expired. r=rstrong
...
MozReview-Commit-ID: 7bQQadOJIhL
2016-12-20 14:23:59 -05:00
Gijs Kruitbosch
79fb3d3489
Bug 1322720 - don't show the homepage on firstrun if a pref is flipped, r=dao
...
MozReview-Commit-ID: FhWyo7omun3
2016-12-15 15:40:50 +00:00