Commit Graph

245 Commits

Author SHA1 Message Date
Michael Kaply
73f4e0c480 Bug 1496855 - Switch PDF policy to use pdfjs.disabled. r=Felipe
pdfjs.disabled now works from policy, so use it

Differential Revision: https://phabricator.services.mozilla.com/D8237
2018-10-10 21:57:34 +00:00
Mark Striemer
db07e6081f Bug 1469696 - Part 5: Test listing and installing AMO langpacks r=aswan,jaws
Differential Revision: https://phabricator.services.mozilla.com/D6315
2018-10-02 17:57:33 +00:00
Mark Striemer
aa41a46327 Bug 1469696 - Part 2: Allow installing langpacks from AMO in prefs r=flod,aswan,zbraniecki,jaws
Differential Revision: https://phabricator.services.mozilla.com/D6312
2018-10-03 14:07:14 +00:00
Zibi Braniecki
a968635d1d Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924

Differential Revision: https://phabricator.services.mozilla.com/D6339
2018-09-21 15:30:37 +00:00
Botond Ballo
16441ed065 Bug 1488908 - QI the elements of nsIGIOservice.getAppsForURIScheme() to nsIHandlerApp. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D5886
2018-09-14 17:59:28 +00:00
Kris Maglione
fff254b816 Bug 1486249: Part 2 - Convert JS nsISimpleEnumerator implements to JS enumerators. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D4291
2018-08-25 18:31:44 -07:00
Florian Quèze
491e7751f8 Bug 1488232 - add a Google translation backend, r=felipe. 2018-09-03 19:15:56 +02:00
Jared Wein
c2baa54f74 Bug 1487404 - Coalesce multiple appendChild calls to one appendChild call when building the application handlers list. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D4697
2018-08-31 17:50:17 +00:00
Mark Banner
462116b7f9 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00
Mark Striemer
997e094b3d Bug 1469688 - Part 3: Maintain the order of browser languages dialog r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4488
2018-08-28 11:04:02 -05:00
Mark Striemer
679446fa42 Bug 1469688 - Part 2: Allow reordering of browser languages in prefs r=Gijs,zbraniecki,flod
Differential Revision: https://phabricator.services.mozilla.com/D3137
2018-08-28 16:26:06 -05:00
Mark Striemer
8986535645 Bug 1469688 - Part 1: Generalize language switching code in prefs r=jaws,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D3136
2018-08-10 15:45:39 -05:00
Kris Maglione
95ade8d85e Bug 1486182: Part 2a - Add Services.catMan getter for the category manager. r=mossop
This makes it much easier to update existing consumers of
XPCOMUtils.enumerateCategoryEntries to use the category manager directly.

It also, unfortunately, requires updating existing category manager consumers
to use the Services getter in order to avoid ESLint errors.

Differential Revision: https://phabricator.services.mozilla.com/D4278
2018-08-24 22:13:57 -07:00
Brendan Dahl
532fe1f6b0 Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
Preparing for transitioning to XHTML.

MozReview-Commit-ID: JLlmUxsvhIB

Differential Revision: https://phabricator.services.mozilla.com/D4265
2018-08-25 00:16:27 +00:00
Kris Maglione
f6a4413b4c Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729
2018-08-18 19:27:33 -07:00
Jonathan Kingston
07af5c5572 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2046
2018-07-06 15:14:54 +01:00
Mark Striemer
caa7773144 Bug 1479377 - Provide fallbacks for switch language in Prefs message r=gandalf
MozReview-Commit-ID: G3oeSWl1Rtf
2018-07-30 15:03:51 -05:00
Mark Striemer
442fc838f2 Bug 1469684 - Allow switching between installed locales r=flod,jaws
MozReview-Commit-ID: 1MkkZUfpJ8O
2018-06-21 17:16:25 -05:00
Gijs Kruitbosch
0ed5658d73 Bug 1477670 - remove content handler code from browser/, r=florian,jkt
MozReview-Commit-ID: 3kS7yPdkjGs
2018-07-24 17:54:40 +01:00
Dão Gottwald
57b4efa3b3 Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
MozReview-Commit-ID: 5lmOj3k4tFf
2018-07-26 11:13:34 +02:00
Narcis Beleuzu
b814f4ff26 Backed out 1 changesets (bug 1473595) for debug-mochitest-chrome failures on test_key_event_counts.xul and test_htmleditor_keyevent_handling.html. CLOSED TREE
Backed out changeset a3140755de69 (bug 1473595)
2018-07-26 13:58:57 +03:00
Dão Gottwald
7c7e7b13ea Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
MozReview-Commit-ID: 5lmOj3k4tFf
2018-07-26 11:13:34 +02:00
Kirk Steuber
bac30375de Bug 1420514 - Remove the UI for app.update.enabled in about:preferences r=jaws
MozReview-Commit-ID: 9weVpw98D3R
2018-05-17 12:19:55 -07:00
Andreea Pavel
044d437861 Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Kirk Steuber
f33094a3e5 Bug 1420514 - Remove the UI for app.update.enabled in about:preferences r=jaws
MozReview-Commit-ID: 9weVpw98D3R
2018-05-17 12:19:55 -07:00
Dave Townsend
0f2c3bd648 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan, r=mixedpuppy
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
Differential Revision: https://phabricator.services.mozilla.com/D1869
2018-06-28 16:06:09 -07:00
Brindusan Cristian
d94fd86e60 Backed out changeset b11aa832c41a (bug 1453751) for Mochitest-15 failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_filter.html. CLOSED TREE 2018-06-28 23:15:49 +03:00
Dave Townsend
ebc2c6ff75 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
Differential Revision: https://phabricator.services.mozilla.com/D1850
2018-06-04 12:53:55 -07:00
Cosmin Sabou
42e854deed Backed out changeset 638eb8a41245 (bug 1453751) for frequent linux debug e-10s failures on test_ext_webrequest_filter.html 2018-06-26 07:29:35 +03:00
Dave Townsend
e6cce6de21 Bug 1453751: Load favicons in the content process. r=mak, r=gijs, r=aswan
Summary:
This moves the load of favicons into the content process. We use the same logic
for finding favicons (based on waiting until none have shown up for a short
time) but then load the favicon and convert it to a data uri which we then
dispatch to the parent process. Along the way this fixes asssociating the load
with the tab for WebExtension and devtools, fixes CSP usage for the load, fixes
expiry detection of the favicon and stops us from loading the same resource
twice.

This change also merges the prefs browser.chrome.site_icons and
browser.chrome.favicons leaving just the former controlling favicon loading. It
adds the pref browser.chrome.guess_favicon to allow disabling guessing where
a favicon might be located for a site (at <hostname>/favicon.ico). This is
mainly to allow disabling this in tests where those additional yet automatic
requests are uninteresting for the test.

There are multiple clean-ups that can follow this but this is a first step along
that path.

MozReview-Commit-ID: E0Cs59UnxaF

Reviewers: mak

Tags: #secure-revision

Bug #: 1453751

Differential Revision: https://phabricator.services.mozilla.com/D1672
Differential Revision: https://phabricator.services.mozilla.com/D1673
Differential Revision: https://phabricator.services.mozilla.com/D1674
2018-06-04 12:53:55 -07:00
Paolo Amadini
4dfb529a97 Bug 1459556 - Part 2 - Remove the "handler" binding. r=bgrins
MozReview-Commit-ID: GOUOKuoR1rs
2018-05-22 18:39:28 +01:00
Paolo Amadini
41a6515106 Bug 1459556 - Part 1 - Remove the implementation from the "handler" binding. r=jaws
MozReview-Commit-ID: IN1C5NC9Rzb
2018-05-16 11:45:19 +01:00
Zibi Braniecki
25701066bc Bug 1461048 - Convert Fluent API calls to FluentDOM 0.3.0. r=mossop
MozReview-Commit-ID: K3eA8blcP2x
2018-05-14 12:37:41 -07:00
Paolo Amadini
57cb774050 Bug 1457027 - Part 8 - Add a HandlerListItem class. r=jaws
MozReview-Commit-ID: 2ohtRX1w0D3
2018-05-04 15:57:43 +01:00
Paolo Amadini
4db7cff22c Bug 1457027 - Part 7 - Move action icon getters to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 9wRCqdtIqiG
2018-05-04 15:07:41 +01:00
Paolo Amadini
19193c4dbc Bug 1457027 - Part 6 - Move _describePreferredAction to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: 8b0H6g9qawF
2018-05-04 14:39:18 +01:00
Paolo Amadini
e5cc2fb617 Bug 1457027 - Part 5 - Move _describeType to HandlerInfoWrapper. r=jaws
MozReview-Commit-ID: NjmxPwLngc
2018-05-04 14:17:50 +01:00
Paolo Amadini
6b5debbfc8 Bug 1457027 - Part 4 - Use class syntax for the HandlerInfoWrapper hierarchy. r=jaws
This also does some minor clean up of declarations and code comments.

MozReview-Commit-ID: 31uRma7NDl8
2018-05-07 09:33:36 +01:00
Paolo Amadini
b4a42ace63 Bug 1457027 - Part 3 - Unify references to bundlePreferences. r=jaws
MozReview-Commit-ID: G2kfPdCyaXx
2018-05-04 14:10:10 +01:00
Paolo Amadini
70cd3b19ea Bug 1457027 - Part 2 - Define services using defineLazyServiceGetters. r=jaws
MozReview-Commit-ID: J33LwkbMhS1
2018-05-03 14:39:42 +01:00
Paolo Amadini
de602e322f Bug 1457027 - Part 1 - Don't persist the last selected handler. r=jaws
We plan to remove XUL persistence eventually, and this is a special case that uses the feature with an unusual attribute. This change also prevents pitfalls with getElementsByAttribute when the richlistitem descendants are made non-anonymous.

Some unneeded attributes in both the handlers and the containers richlistbox items are also cleaned up.

MozReview-Commit-ID: C05ArQGZb95
2018-04-30 11:11:48 +01:00
Paolo Amadini
1cd04ad0d5 Bug 1457720 - Force the left-to-right direction when displaying a custom download path. r=gandalf
MozReview-Commit-ID: B7hYMi96Zyg
2018-05-01 17:12:31 +01: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
Zibi Braniecki
acfebf271f Bug 1438375 - Refactor "extensionControlled" Preferences code to use Fluent. r=flod,Gijs
MozReview-Commit-ID: 9XJxyuMUCHV
2018-04-17 15:31:50 -07:00
Andreea Pavel
e8a7599ff2 Backed out changeset fb836a045f20 (bug 1438375) for browser chrome failres at browser/components/preferences/in-content/tests/browser_extension_controlled.js 2018-04-26 10:45:11 +03:00
Zibi Braniecki
8d1fc73508 Bug 1438375 - Refactor "extensionControlled" Preferences code to use Fluent. r=flod,Gijs
MozReview-Commit-ID: 9XJxyuMUCHV
2018-04-17 15:31:50 -07:00
k88hudson
6bbdd2fd81 Bug 1448971 - Replace "when Firefox starts" section in about:preferences#general with checkbox r=flod,jaws
MozReview-Commit-ID: JHL20S5gZq2
2018-04-04 12:28:22 -04:00
Paolo Amadini
8967cda78b Bug 1452624 - Part 1 - Replace the "filefield" binding with a regular textbox. r=jaws
MozReview-Commit-ID: jTKvyiRNdw
2018-04-17 14:26:00 +01:00
Zibi Braniecki
14ca017d5f Bug 1453480 - Migrate Fluent resources to use DOM Overlays v2. r=flod
MozReview-Commit-ID: IsaYQFyPAxd
2018-04-11 16:09:31 -07:00