Commit graph

268 commits

Author SHA1 Message Date
Felipe Gomes
64cf0b9fdc Bug 1228655 - Remove ifdefs for MOZ_SAFE_BROWSING. r=Gijs 2015-12-01 20:05:48 -02:00
Gijs Kruitbosch
35bed1c0ce Bug 1209591 - allow loadURI consumers to expose whether an error page was immediately loaded as result of an error, r=smaug,mak
--HG--
extra : commitid : 9tlkWrUKl12
extra : rebase_source : bb5b476dc28cebc66a99d23934a5214530e9a008
extra : amend_source : f62e5a91df5af9eea893fbb9a13980e9fdd56a38
2015-10-27 16:44:24 +01:00
Christoph Kerschbaumer
eee83aa5d8 Bug 1204983 - Deprecate NewTabURL and forward calls to AboutNewTabService (r=florian,olivier)
--HG--
rename : browser/components/newtab/tests/xpcshell/test_NewTabURL.js => browser/components/newtab/tests/xpcshell/test_AboutNewTabService.js
2015-10-20 18:51:25 -07:00
Wes Kocher
c6deb98829 Backed out 3 changesets (bug 1204983) for talos(g2) failures
Backed out changeset 00c07b02c8a8 (bug 1204983)
Backed out changeset a4879b180d2d (bug 1204983)
Backed out changeset 38b6f878608a (bug 1204983)
2015-10-19 16:09:33 -07:00
Christoph Kerschbaumer
38062824d0 Bug 1204983 - Deprecate NewTabURL and forward calls to AboutNewTabService (r=florian,olivier)
* * *
Bug 1204983 - Replace NewTabURL.jsm with simpleBrowserServices.js (r=florian)

--HG--
rename : browser/components/newtab/tests/xpcshell/test_NewTabURL.js => browser/components/newtab/tests/xpcshell/test_AboutNewTabService.js
2015-10-19 13:29:33 -07:00
Wes Kocher
e3ef408502 Backed out 3 changesets (bug 1204983) for various talos failures
Backed out changeset 5bdf50e82ca8 (bug 1204983)
Backed out changeset 602e91d48e43 (bug 1204983)
Backed out changeset c7d3635f771a (bug 1204983)
2015-10-16 09:29:36 -07:00
Christoph Kerschbaumer
29b3c0aded Bug 1204983 - Deprecate NewTabURL and forward calls to AboutNewTabService (r=florian,olivier)
* * *
Bug 1204983 - Replace NewTabURL.jsm with simpleBrowserServices.js (r=florian)

--HG--
rename : browser/components/newtab/tests/xpcshell/test_NewTabURL.js => browser/components/newtab/tests/xpcshell/test_AboutNewTabService.js
2015-10-16 06:54:42 -07:00
Steven Englehardt
201f99551c Bug 1191442 - Add "New Container Tab" to File Menu. r=paolo 2015-09-28 13:00:28 -07:00
Steven Englehardt
14376c86b2 Bug 1191442 - Add support for userContextId in New Tab UI r=paolo 2015-09-28 13:00:25 -07:00
Jared Wein
70099b93ec Bug 1140495 - Remove support for windowed preferences. r=ttaubert
--HG--
extra : rebase_source : 2b29244f4813593171b436f551735dfcc13d6474
2015-09-02 12:12:55 -04:00
Edouard Oger
4426a9a7a8 Bug 1152385 - Change sync entries points linking to about:accounts to link to about:preferences#sync. r=markh 2015-08-24 19:40:00 -04:00
Nihanth Subramanya
fb7c08fefa Bug 1118285 - The browser.newtab.url preference is abused and should be removed. 2015-05-27 17:35:03 -07:00
Gijs Kruitbosch
6ac096ebe6 Bug 1044351 - prevent popup blocker from blocking windows opened by loaded javascript: URIs by allowing popups for such loads from the location bar. r=mak/mrbkap 2015-06-16 16:26:36 -04:00
Alex Verstak
673fbec87c Bug 1113431 - Propagate referrer policy throughout the UI: command-click and context menu open link in new tab/window. r=gijskruitbosch 2015-03-04 23:29:55 -08:00
Gijs Kruitbosch
10efcb7f71 Bug 1019828 - openPreferences should also work if no windows are open, r=jaws 2015-03-04 16:02:21 +00:00
Nathan Froyd
ed1b0adc6c Bug 1133201 - part 2 - don't send referrer information when opening new windows via context menu; r=Gijs,mconley
Part 1 fixed sending referrer information when opening a plain text
"link" in a new tab through the context menu.  This patch fixes the same
problem, but for the case of opening in a new window, since we take
slightly different paths through |openLinkIn| for tabs vs. windows.
2015-02-17 16:17:06 -05:00
Nathan Froyd
d5dc59ac0e Bug 1118502 - part 2 - ensure addOneTab sees a referrer URI if it was available; r=mconley
addOneTab uses the existence of a referrer URI to determine where to
position the newly opened tab.  Bug 1031264 changed callsites so that a
referrer URI was no longer passed in if the opening link had
rel=noreferrer set on it.  This change, then, broke placement of newly
opened tabs if their opening link had rel=noreferrer on it.

Instead of not passing in the referrer URI if rel=noreferrer, let's
instead explicitly tell addOneTab whether rel=noreferrer was present on
the opening link.  Then addOneTab can hide the referrer URI from the
actual network request, while still using the referrer URI to determine
tab placement.
2015-02-06 14:00:45 -05:00
Birunthan Mohanathas
e597ad29ec Bug 1093101 - Use user-set browser.newtab.url pref for new tabs in private windows. r=dao 2015-01-13 06:41:15 +02:00
Dão Gottwald
3db60dbec7 Bug 1108555 - [e10s] closing last tab does not focus urlbar (browser.tabs.closeWindowWithLastTab = false). r=jimm,mconley 2014-12-17 18:17:38 +01:00
Gijs Kruitbosch
c3882b9ccd Bug 1094179 - use uriFixup for trimURL, r=dao
--HG--
extra : rebase_source : 2b779b615854513d0bfdce6f13fc56f00e69d29d
2014-11-05 14:17:42 +00:00
Gijs Kruitbosch
1280113569 Bug 690307 - make trimURL not generate URLs that parse back into search queries, r=mak
--HG--
extra : rebase_source : ef509eef3a3427288ba204b32046c4565f3c5cc2
2014-11-01 22:57:56 +00:00
Birunthan Mohanathas
b9d87d3910 Bug 1074081 - Part 2: Focus location bar when opening new private windows regardless of the browser.newtab.url pref. r=ehsan,gavin 2014-10-14 17:32:15 +03:00
Mike Conley
d3974cd62a Bug 1050447 - Skip focusing content if we're opening a new about:blank or about:newtab tab. r=dao, feedback=jimm.
This fixes a change in order of focus events for e10s after bug 1009628 landed.
We were accidentally focusing the content after focusing the URL bar for new
tabs. We now skip focusing the content entirely when opening a new tab.

--HG--
extra : histedit_source : a6c140d4e2b4677209b039880922c29e7c24b584
2014-08-20 11:23:43 -04:00
Mike Conley
29344471e8 Backing out 3031346b1104 (bug 1050447) for not fixing the bug at all. 2014-08-16 15:44:10 -04:00
Mike Conley
141477bfbd Bug 1050447 - Skip focusing content if we're opening a new about:blank or about:newtab tab. r=Unfocused.
This fixes a change in order of focus events for e10s after bug 1009628 landed.
We were accidentally focusing the content after focusing the URL bar for new
tabs. We now skip focusing the content entirely when opening a new tab.

--HG--
extra : histedit_source : ce4239e776b58992ccec65d2ade578e68978240c%2Cb9bded035324f4bdc3e6533c1edffb8dc0107ff3
2014-08-15 10:42:37 -04:00
Dão Gottwald
9b787b8c8f Bug 1039904 - Changing the URL in a pinned tab shouldn't open a new tab. r=gavin 2014-08-01 18:20:57 +02:00
Trishul Goel
e3a2c2e2fb Bug 1038604 - Rename disableMCB to allowMixedContent. r=dao 2014-07-16 22:03:15 +02:00
Dão Gottwald
39e4605c54 Bug 1034845 - Re-enable pasting data URIs to the location bar. r=gijs
--HG--
extra : rebase_source : e03b3d39e47dd1c917e0e343621d8c51f500685e
2014-07-11 00:39:55 +02:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Jared Wein
40d61b3372 Bug 754304 - make in-content preferences linkable via URL, follow-up to use the ignoreFragment API change that bug 1025195 landed. r=me
--HG--
extra : rebase_source : 6405245a2ccfdd09cc3cad86cf846d8c71c5abf7
2014-06-20 00:32:58 -04:00
Jared Wein
9954500055 Bug 754304 - make in-content preferences linkable via URL. r=mattn 2014-06-19 16:12:52 -04:00
Jared Wein
f2734dc7d4 Bug 741047 - Implement opening in-content preferences to a given view. r=Gijs
--HG--
extra : rebase_source : 9b9c58a967bb52b596457f41b697085c46fb0ba6
2014-05-11 15:52:33 -04:00
Carsten "Tomcat" Book
b81afe3348 Backed out changeset 49859608dbb8 (bug 741047) for bc1 memory leaks 2014-05-15 10:31:36 +02:00
Jared Wein
9956304a3f Bug 741047 - Implement opening in-content preferences to a given view. r=Gijs
--HG--
extra : rebase_source : cf486a6e5c8673d66a57e3b726b58073c694a338
2014-05-11 15:52:33 -04:00
Jared Wein
f41c47ecca Backed out changeset 0e11a16741bf (bug 741047) 2014-05-11 17:37:57 -04:00
Jared Wein
7a8afd9c0f Bug 741047 - Implement opening in-content preferences to a given view. r=Gijs 2014-05-11 15:52:33 -04:00
Allison Naaktgeboren
9ae4ef91c3 Bug 921947 - openNewTabWith/openNewWindowWith reference content document which may be null. r=felipc 2014-04-24 12:43:00 -04:00
Blair McBride
f5122b2661 Bug 966933 - [Australis] UITour: Add a UI tour link in the Help menu. r=Gijs 2014-03-06 14:41:43 +13:00
Mike Conley
ea09fc2f9e Bug 979031 - [Australis] Don't animate the opening of the about:customizing tab. r=dao. 2014-03-04 10:24:00 -05:00
Mike Cooper
54df751646 Bug 970337 - Switch Help->Submit feedback to use a product url. r=mak 2014-02-24 09:57:30 -05:00
Bill McCloskey
c6980cd416 Bug 961529 - Add Feeds module (r=felipe) 2014-02-08 17:41:30 -08:00
Ehsan Akhgari
401caf814b Bug 958985 - Fix the variable names (pushed the wrong patch) 2014-01-14 08:44:11 -05:00
Ehsan Akhgari
b1d4e4a699 Bug 958985 - Make isBidiEnabled check the intl.uidirection.<locale> pref; r=smontagu 2014-01-14 08:41:41 -05:00
Christian Legnitto
a7ce12665b Bug 935377 - Firefox should fix common scheme typos, r=dolske 2014-01-12 12:02:27 -08:00
Henri Sivonen
3874104ae5 Bug 945627 - Remove tracking of URL UTF-8ness. r=dao,bzbarsky. 2013-12-05 18:03:12 +02:00
Christoph Kerschbaumer
2df9d73cd4 Bug 906190 - Persist 'disable protection' option for Mixed Content Blocker in child tabs - tabbrowser part. r=gavin 2013-10-10 21:26:32 -07:00
Tim Taubert
43df2515e7 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
992c46c5f1 Bug 922338: update link to phishing protection info in Firefox, r=dao,wesj,mbrubeck,fabrice 2013-10-08 14:00:48 -07:00
Boris Zbarsky
0c4e2cc50c Bug 913855. Fix consumers of window mediator to be more consistent in their checking for closed windows. r=dolske
Note that we can't just stop returning closed windows from the window
mediator, because some consumers (e.g. session restore) rely on seeing
closed windows in the list so they can remove them from their internal
data structures expeditiouly.
2013-09-13 17:29:51 -04:00
Sebastian Hengst
daca5fa69c Bug 906465 - gatherTextUnder in utilityOverlay.js returns only alt text for image (img) if found. r=dao 2013-08-18 21:40:47 +02:00
Michael Harrison
727f972af5 Bug 890367 - Correctly handle non-ASCII text in browser.newtab.url. r=ttaubert 2013-07-23 10:52:20 -04:00
Dão Gottwald
50d99510cf Backed out changeset f029edccac09 2013-03-18 16:46:17 +01:00
Josh Matthews
1a96454dca Bug 847971 - Make openURL select recent windows that match the current privacy state. r=dolske
--HG--
rename : browser/modules/RecentWindow.jsm => toolkit/modules/RecentWindow.jsm
2013-03-14 17:41:52 -04:00
Josh Matthews
ffa62e6b81 Bug 847952 - Make utility function to return the topmost window discriminate between public and private windows. r=dao 2013-03-17 11:12:54 -04:00
Dão Gottwald
ccb7ee887a Backed out changeset 3f534921cf61 2013-03-17 22:44:57 +01:00
Josh Matthews
870c8b66d3 Bug 847952 - Make utility function to return the topmost window discriminate between public and private windows. r=ehsan 2013-03-17 11:12:54 -04:00
Raymond Lee
f4964ef4b1 Bug 840678 - Use HTTPS instead of HTTP for input.mozilla.org submissions. r=gavin 2013-03-06 12:03:25 +08:00
Dão Gottwald
861a73ed10 Bug 846707 - Let openLinkIn raise the target window unconditionally. r=enn 2013-03-04 19:11:23 +01:00
Dão Gottwald
dcf1e37fc3 Bug 845811 - openLinkIn should use the target window's isBlankPageURL function. r=ehsan
--HG--
extra : rebase_source : ca94dd1d85f6f51e5a600f972840f4a95ec47851
2013-02-28 19:18:41 +01:00
Andre Reinald
553e7f2f76 Bug 809254 - New Tab (⌘T) while minimized leaves the window minimized. r=dao 2013-02-26 18:18:26 +01:00
Ehsan Akhgari
565d0479c3 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Mike Connor
d4fe13826f bug 830418 - hide health report menu items if health report is disabled, r=rnewman 2013-01-14 19:55:43 -05:00
Mike Connor
c6f8294a6c bug 719484 - build about:healthreport, r=dolske
--HG--
extra : rebase_source : 54dac2005640bcf6f0b37c16cfbf04bb11d5def1
2013-01-11 15:31:38 -08:00
Ehsan Akhgari
9637763028 Bug 822008 - Only listen to private-browsing-transition-complete in global PB builds for determining the new tab URL; r=jdm 2012-12-15 12:10:05 -05:00
Ehsan Akhgari
e27cd9a016 Followup for bug 456884 - Fix the variable name to match the surrounding ones
DONTBUILD
2012-11-30 11:32:36 -05:00
Ehsan Akhgari
df05f3974e Bug 456884 - Provide a way to open a link into private browsing mode; r=dao ui-r=madhava 2012-11-27 10:09:24 -05:00
Marco Bonardo
7e9e3b522a Bug 814264 follow-up: change the error text. DONTBUILD
r_irc=gavin
2012-11-28 18:26:02 +01:00
Marco Bonardo
6e12b280a6 Bug 814264 - Restore the ability to call openUILink without an event parameter.
r=gavin
2012-11-27 17:06:17 +01:00
Ed Morley
b20dd8a90e Backout fae627fef335 (bug 795065) for browser-chrome failures 2012-11-27 17:34:42 +00:00
Marco Bonardo
51bebb457c Bug 814264 - bug 795065 broke calling openUILink without an event parameter.
r=gavin
2012-11-27 17:06:17 +01:00
Ehsan Akhgari
f1d775755a Bug 799780 - Remove gPrivateBrowsingUI.autoStarted and move that API to PrivateBrowsingUtils; r=jdm 2012-10-09 20:34:59 -04:00
Ed Morley
9b9179d8dc Backout 6e26bb277c64 (bug 799780), cb395ed2de20 (bug 799664), cd5679486c7b (bug 799526) for causing frequent failures in browser_bug400731.js 2012-10-11 15:00:05 +01:00
Ehsan Akhgari
8101798633 Bug 799780 - Remove gPrivateBrowsingUI.autoStarted and move that API to PrivateBrowsingUtils; r=jdm 2012-10-09 20:34:59 -04:00
Ehsan Akhgari
0d95057a75 Bug 798516 - Remove support for gPrivateBrowsingUI.privateWindow; r=jdm
This patch replaces the privateWindow API with the toolkit
PrivateBrowsingUtils.isWindowPrivate API, which is better in the sense
that it is chrome/content agnostic and is not browser/ specific.
2012-10-05 19:25:52 -04:00
Josh Matthews
be721d5624 Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz 2012-10-03 13:10:20 -04:00
Abhishek Potnis
74a83a6378 Bug 691925 - Replaced content.focus() with gBrowser.selectedBrowser.focus() and/or window.focus(). r=dao 2012-09-19 12:59:26 +02:00
Justin Dolske
2782385573 Bug 769960 - Refactor the terrifying code in nsSafebrowsingApplication.js. r=fryn, f=gcp 2012-07-27 23:25:11 -07:00
Saurabh Anand
1c547314a0 Bug 774660 - openPreferences should consistently not return a window object; r=dao 2012-07-18 20:48:11 +05:30
Saurabh Anand
8c8275699b Bug 767836 - show custom newtab page in private browsing mode if configured; r=ttaubert 2012-07-04 02:37:22 +05:30
Ehsan Akhgari
5e8b4e4f9c Bug 767835 - Avoid using about:privatebrowsing as the new tab URL when permanent private browsing has been turned on; r=ttaubert 2012-06-25 13:00:32 -04:00
Ed Morley
df9d145497 Backout 4e195dd3a989 (bug 767835) for mochitest-browser-chrome failures 2012-06-26 09:23:16 +01:00
Ehsan Akhgari
212be4835a Bug 767835 - Avoid using about:privatebrowsing as the new tab URL when permanent private browsing has been turned on; r=ttaubert 2012-06-25 13:00:32 -04:00
Saurabh Anand
2bc8a651e6 Bug 763468 - Use about:privatebrowsing for new tabs opened in private browsing mode; r=ttaubert 2012-06-21 03:13:19 +05:30
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Devan Sayles
1588bcb0ed Bug 735471 - Add a pref to switch between window'd preferences and in-content preferences. r=jaws,bmcbride 2012-05-08 19:31:51 -07:00
Dão Gottwald
eca3eda57d Bug 740389 - Clean up openTopWin and mark it as deprecated. r=gavin 2012-03-29 19:46:26 +02:00
Dão Gottwald
a5c28052c9 Bug 631500 - Let openUILink accept an object with named parameters. r=gavin 2012-03-17 20:39:08 +01:00
Tim Taubert
51287dfa45 Bug 722263 - New Tab Page: changing browser.newtab.url require restart; r=dao 2012-03-13 03:03:46 +01:00
Johan Charlez
f636800252 Bug 713052 - Add preference for disabling ALT-clicks to save links. r=gavin 2012-03-01 17:08:03 -05:00
Ryan VanderMeulen
609a137d6f Backout bug 713052 (rev 5c84280687df). The checkin-needed flag was removed as a mid-air collision when I committed this. 2012-02-28 18:47:32 -05:00
Johan Charlez
c290de958c Bug 713052 - Add preference for disabling ALT-clicks to save links. r=gavin 2012-02-28 18:40:38 -05:00
Dan Witte
3554776016 Bug 729363 - Don't dump to console when shell service unavailable. r=gavin 2012-02-22 14:06:55 +01:00
Tim Taubert
3034f95b20 Bug 455553 - Part 3 - about:newtab integration; r=fryn,gavin 2012-01-25 23:43:27 +01:00
Tim Taubert
6210f83731 Backed out changeset 746adaa9c9da (bug 455553) 2012-01-26 18:27:49 +01:00
Tim Taubert
ea80ee7eb8 Bug 455553 - Part 3 - about:newtab integration; r=fryn,gavin 2012-01-25 23:43:27 +01:00
Dão Gottwald
0822b0d798 Bug 485237 - Use \!toolbar.visible instead of the chromehidden attribute existence to identify popups. r=gavin
--HG--
extra : rebase_source : e5a18e5dca37e8ce3a0b5c832b376787d269b310
2012-01-24 01:37:54 +01:00
Reuben Morais
07000b58d8 Bug 490225 - Open new tabs in existing browser window if there is one. r=dao 2011-12-20 14:02:48 +01:00
Dão Gottwald
15504d8795 Bug 707672 - openUILink[In] behavior should not be determined by browser.tabs.loadBookmarksInBackground. r=mak
--HG--
extra : rebase_source : a4bb56be12da09134fb83c9b6dee6edee4030a54
2011-12-20 01:17:08 +01:00
Paul Rouget
b8c9f283b0 Bug 710878 - Bookmark label can omit part of the text in the link; r=dietrich 2011-12-15 19:42:12 +01:00
Masatoshi Kimura
207912d4cd Bug 700566 - Pressing enter or copying URL on an http:// site whose hostname begins with "ftp<digit>" results in incorrect URL being loaded/copied. r=gavin 2011-11-10 14:55:07 +01:00