Commit Graph

149 Commits

Author SHA1 Message Date
Mark Banner
0dc78b7964 Bug 1314918 - Fix most of the remaining no-unused-vars issues for local scope in browser/. r=mossop
MozReview-Commit-ID: LdoXLniNeT7
2016-11-03 11:51:48 +00:00
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Eric Rahm
965e3eada3 Bug 1312901 - Part 2: Use nsIArray for URL argument when opening a window. r=Gijs
This updates the URL argument to use an nsIMutableArray instead of an nsIArray.

MozReview-Commit-ID: 45kvKCBYNK6
2016-10-27 14:22:14 -07:00
Mark Banner
000ab61e95 Bug 1312716 - '-preferences' on the command line no longer works due to an undefined variable. r=jaws
MozReview-Commit-ID: LclZ8IrSPjb
2016-10-25 13:35:43 +01:00
Eric Rahm
544eabdb4d Bug 1311223 - Stop using nsISupportsArray for window args. r=froydnj
WindowWatcher allows for either nsIArray or nsISupports array to be passed in
for the arguments param. This converts all internal usage to nsIArray.

MozReview-Commit-ID: DQjtIkobik0
2016-10-19 16:23:57 -07:00
Gijs Kruitbosch
e195450df1 Bug 1274633 - remove windows 10 welcome page, r=MattN
MozReview-Commit-ID: HI8mqzRmV45
2016-09-28 16:53:46 +01:00
Filipe
b19cd12692 Bug 1287622 - Remove Cortana-related code from Firefox as it no longer works after Microsoft hard-coded search results to Edge. r=jaws 2016-09-15 20:56:58 +02:00
Jared Wein
335d32d40b Bug 1286627 - Check for undefined shell service before dereferencing it in the ShellService proxy. Linux builds that disable gio do not have the shell service defined and the proxy was throwing. r=Gijs
MozReview-Commit-ID: 1wWcEfWFP2c
2016-08-22 20:34:49 -04:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Jared Wein
7c35c99d2d Bug 1292008 - Enable the no-empty rule for eslint. r=markh
MozReview-Commit-ID: EfM3YOUjClW
2016-08-04 00:55:07 -04:00
Jared Wein
2422d7c476 Bug 1276027 - Add a Telemetry probe to track how often Firefox is used as the default handler. r=bsmedberg,rstrong
MozReview-Commit-ID: Ar3MaKeUIdz
2016-06-06 19:36:45 -04:00
malayaleecoder
71c4b8bba2 Bug 1238537 - make nsBrowserContentHandler.js use Services.jsm, r=florian. 2016-02-15 23:49:39 +05:30
Dave Townsend
a2ba043d69 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Gijs Kruitbosch
fae93fb58b Bug 1200639 - add LaterRun.jsm to show pages on the Nth run of a new profile, r=jaws 2016-01-19 15:47:19 +00:00
Gijs Kruitbosch
6ea30766a7 Bug 1200639 - part 0: fix eslint issues in nsBrowserContentHandler.js, r=jaws 2016-01-19 22:03:11 +00:00
Jared Wein
c3f27c3b0d Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs 2016-01-15 12:35:15 -05:00
Florian Quèze
6d9b78e421 Bug 1237648 - Cleanup usage of the search service in nsContextMenu.js and nsBrowserContentHandler.js, r=adw. 2016-01-08 11:27:50 +01:00
Justin Dolske
14c2f555ee Bug 1215948 - Followup, whitelist "WNSSCX" param too. r=trivial 2015-11-30 16:57:24 -08:00
Justin Dolske
d6ee489b42 Bug 1215948 - "Hey Cortana" searches in Windows 10 default to Bing. r=jaws 2015-11-19 15:13:32 -08:00
Matthew Noorenberghe
924b24dec4 Bug 1209140 - Open a second firstrun tab for Tracking Protection promotion. r=jaws 2015-10-15 13:44:18 -07:00
Tooru Fujisawa
89c1c85ec6 Bug 1207491 - Part 8: Remove use of expression closure from browser/components/nsBrowserContentHandler.js. r=Gijs 2015-09-23 18:36:21 +09:00
Jared Wein
f10555e743 Bug 1140495 - Remove support for windowed preferences. r=ttaubert 2015-09-02 12:12:55 -04:00
Jared Wein
d7b51bea7b Bug 1177246 - Implement metrics for OS search query parsing. r=gfritzsche 2015-08-26 13:28:13 -04:00
Florian Quèze
8090dcb2ab Bug 1177443 - Add 'system' purpose for searches coming from outside Firefox, r=MattN. 2015-08-12 16:57:43 +02:00
Jared Wein
522fbc1dcc Bug 1185012 - followup, update the URL used for the first-run-on-windows10 page. r=MattN 2015-07-21 22:47:32 -04:00
Jared Wein
d22151d072 Bug 1185012 - Display a message to a Firefox user the first time they open Firefox in Windows 10. r=MattN 2015-07-17 18:02:05 -04:00
Justin Dolske
131f8dca0f Bug 1184737 - Windows 10 search rewrite should handle more results. r=jaws 2015-07-17 13:24:25 -07:00
Justin Dolske
4c9819fe80 Bug 1182308 - Windows 10 search rewrite should handle more Bing domains. r=jaws 2015-07-16 17:29:32 -07:00
Justin Dolske
4ece471e51 Bug 1177237 - Implement OS query parsing and user search choice. r=jaws 2015-07-06 18:11:05 -07:00
Gijs Kruitbosch
2dc3fc8a6e Bug 1175653 - followup: fix Set instantiation to fix mulet bustage, rs=bustage 2015-07-03 17:16:19 +01:00
Gijs Kruitbosch
e1ac8eb1f3 Bug 1175653 - followup review comments: remove URI_INHERITS_SECURITY_CONTEXT check, r=dveditz 2015-07-03 16:00:21 +01:00
Gijs Kruitbosch
6a7bc1d121 Bug 1175653 - only allow local schemes for the chrome commandline flag, r=dveditz 2015-06-25 13:25:56 -07:00
Gijs Kruitbosch
b90d5da8db Bug 1165321 - focus existing window if Firefox is already open in tablet mode, r=jaws 2015-06-19 16:52:44 +01:00
Masatoshi Kimura
0f65da1786 Bug 1172724 - Use the "openas" verb to select the default HTTP handler on Windows 10. r=jaws, jimm 2015-06-19 08:16:52 +09:00
Mike Hommey
5433d1a252 Bug 1141441 - Make the -remote option return an error code. r=bsmedberg 2015-03-24 09:10:34 +09:00
Nicholas Nethercote
fc9811215d Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Mike Hommey
a218a870bf Bug 1080319 - Remove the -remote option. r=bsmedberg
The -remote option has existed essentially forever, but its usefulness is
questionable:
- It requires a running instance to be any useful, so any script actually
  using it should first do -remote 'ping()' and handle the response properly.
- It is not cross-application. The remote service dispatches the -remote
  commands to the command line handler, and, for example, desktop b2g builds
  don't have handlers for -remote (although thunderbird and seamonkey do).
- It is not a cross-platform option, which leads to the following point:
- There are other command line ways to do the same thing (at least in
  Firefox), without having to jump through hoops with -remote 'ping()',
  because there are command line options to do those same things on non-X11
  platforms.

For the latter, in Firefox case:
- -remote 'openURL(url)' can be replaced with firefox url
- -remote 'openURL(url,new-tab)' can be replaced with firefox -new-tab url
- -remote 'openURL(url,new-window)' can be replaced with firefox -new-window
  url
- -remote 'openfile(file,...)' is the same as -remote 'openurl(file,...) so,
  can be replaced as above
- -remote 'xfedocommand(openbrowser)' is inherited from the mozilla suite and
   doesn't make much sense, but can be replaced with firefox -new-window

The interesting part is that without changing nsBrowserContentHandler.js,
-remote still works, meaning that if people really feel strongly about
-remote, they'll still be able to write an addon to bring it back. This also
means this patch actually doesn't remove -remote for applications other than
Firefox that do support it, although -remote 'ping()' doesn't work as
expected. However, other -remote commands will now work even without a
running instance.
2014-10-14 07:19:52 +09:00
Birunthan Mohanathas
367347da12 Bug 1048622 - Fix 'assignment to undefined variable' warnings in nsBrowserContentHandler.js. r=gavin 2014-08-05 06:47:17 -07:00
Ryan Freebern
a27670928f Bug 1030779 - Add -private-window to command-line help output. r=jdm 2014-07-02 10:58:00 -04:00
Birunthan Mohanathas
065c09876b Bug 960600 - Allow an optional URL to be specified with -private-window. r=ehsan 2014-01-17 07:29:00 +01:00
Christian Legnitto
f7e28b9d25 Bug 935377 - Firefox should fix common scheme typos, r=dolske 2014-01-12 12:02:27 -08:00
Gavin Sharp
073f01829b Bug 957902: back out changeset aeef01e3a52a (bug 950405), disabling the temporary whatsnew page for en-US Nightly users 2014-01-08 19:01:29 -08:00
Gavin Sharp
bde3ebfa2d Bug 950405: add a temporary whatsnew page on Nightly for Australis survey, r=Unfocused 2013-12-14 16:10:52 -08:00
Steven MacLeod
2f938f6bbb Bug 918024 - Remove the synchronous fallback for reading in Session Store initialization. r=Yoric, f=ttaubert 2013-11-19 14:57:46 -05:00
Tim Taubert
2c56e3277a Bug 754344 - Make in-content prefs navigation look like about:addons r=jaws
From 8e5ce19d039052d06c099a87c2c315353bc589cf Mon Sep 17 00:00:00 2001
2013-11-05 13:21:28 +01:00
Gavin Sharp
aa1a3c06c6 Bug 703377: remove now-unused pref override functionality, r=dolske 2011-11-17 13:41:04 -08:00
Dão Gottwald
424562528a Backed out changeset f029edccac09 2013-03-18 16:46:17 +01:00
Josh Matthews
4f33961b66 Bug 847971 - Make openURL select recent windows that match the current privacy state. r=dolske 2013-03-14 17:41:52 -04:00
Josh Matthews
a7874ca868 Bug 843247 - Allow external links to be opened in private windows in perma-private mode. r=ehsan 2013-02-26 18:15:57 -05:00
Ehsan Akhgari
5ab06de081 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium 2013-01-29 13:12:13 -05:00