Commit graph

226 commits

Author SHA1 Message Date
Gijs Kruitbosch
bc5ac03ed0 Bug 1254503 - ignore exceptions from trying to fix up obviously broken URIs, r=mak
MozReview-Commit-ID: 7fdJZmtc1zK

--HG--
extra : rebase_source : 0b0620a9e9c67900cd9a19aa0362118285de9ff5
extra : amend_source : 0e409a6b97e981f2fb4511658c94a041fabb24a4
2016-03-08 17:12:01 +00:00
Dave Townsend
0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Olivier Yiptong
34b9965e0a Bug 1240169 - Revert to returning a dynamic newtab URL for BROWSER_NEW_TAB_URL r=mconley
--HG--
extra : commitid : 29XwjrFyLy7
extra : rebase_source : 401613c7d6539d615392bc6a02e819abe1f419ab
2016-01-23 01:17:55 -05:00
Jared Wein
b82fbe3699 Bug 1238712 - Move duplicated shell-service code to a shared JSM. r=gijs
--HG--
extra : commitid : 5Dm73Qky4vC
extra : rebase_source : 081f9eb19df15bcde305e87dbacea64cfe488249
2016-01-15 12:35:15 -05:00
Olivier Yiptong
05ae43811e Bug 1218996 - AboutRedirector uses aboutNewTabService exclusively for about:newtab r=mconley
--HG--
extra : rebase_source : 69dc781b09b42ac09a5318baec82d5f78de12765
2016-01-11 20:30:07 -05:00
Wes Kocher
1f00d8d838 Backed out 4 changesets (bug 1218996) for talos svg failures CLOSED TREE
Backed out changeset ba750628c4f3 (bug 1218996)
Backed out changeset 2205cce34824 (bug 1218996)
Backed out changeset 9410cbc0545e (bug 1218996)
Backed out changeset 7839222071ac (bug 1218996)

--HG--
extra : commitid : Ju4TBTVoAIr
2015-12-23 11:09:05 -08:00
Olivier Yiptong
b27d95d0b3 Bug 1218996 - AboutRedirector uses aboutNewTabService exclusively for about:newtab r=marcosc,mconley
--HG--
extra : rebase_source : 0fff8d01aa58f86c018dc2c2e73490f3b8fe8e9a
2015-12-21 16:14:23 -05:00
Felipe Gomes
087db58d94 Bug 1228655 - Remove ifdefs from utilityOverlay. r=Gijs 2015-12-01 20:06:16 -02:00
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