Commit Graph

19034 Commits

Author SHA1 Message Date
Kris Maglione
fcedebb912 Bug 1471102: Move more code out of ExtensionUtils.jsm. r=aswan
MozReview-Commit-ID: Fqlv5BRuuW8

--HG--
extra : rebase_source : 348f037abd9cecfa080183bc365e5f005eac1bd6
extra : amend_source : 05dbfd12f553fc3f2a93374402e34d271e26d767
2018-06-25 19:30:21 -07:00
Coroiu Cristina
4dfea54f1d Merge inbound to mozilla-central a=merge 2018-06-30 00:52:37 +03:00
Dave Townsend
d8b7fb22e3 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

--HG--
rename : browser/base/content/test/general/browser_bug408415.js => browser/base/content/test/favicons/browser_bug408415.js
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/favicons/browser_bug550565.js
rename : browser/base/content/test/general/browser_favicon_change.js => browser/base/content/test/favicons/browser_favicon_change.js
rename : browser/base/content/test/general/browser_favicon_change_not_in_document.js => browser/base/content/test/favicons/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/general/browser_subframe_favicons_not_used.js => browser/base/content/test/favicons/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon1.ico
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_bug970276_favicon2.ico
rename : browser/base/content/test/general/file_bug970276_popup1.html => browser/base/content/test/favicons/file_bug970276_popup1.html
rename : browser/base/content/test/general/file_bug970276_popup2.html => browser/base/content/test/favicons/file_bug970276_popup2.html
rename : browser/base/content/test/general/file_favicon_change.html => browser/base/content/test/favicons/file_favicon_change.html
rename : browser/base/content/test/general/file_favicon_change_not_in_document.html => browser/base/content/test/favicons/file_favicon_change_not_in_document.html
rename : browser/base/content/test/general/file_bug970276_favicon1.ico => browser/base/content/test/favicons/file_generic_favicon.ico
rename : browser/base/content/test/general/file_with_favicon.html => browser/base/content/test/favicons/file_with_favicon.html
extra : rebase_source : 6372b2681a59d267f966e9fa2ca9a54e3ff0cea0
extra : intermediate-source : b11aa832c41ac5beef9065f804d11fb7c9887990
extra : source : 638eb8a41245f6d9932861afda21edd5e0b2618a
2018-06-28 16:06:09 -07:00
Michael Kaply
df559c955a Bug 1463846 - Switch enterprise only policies to be machine on Windows. r=Felipe
MozReview-Commit-ID: 3lWwfzjVbhS

--HG--
extra : rebase_source : ab618361eed0ceaba64a50865ff4c628101c5922
2018-06-28 14:33:32 -05:00
Michael Kaply
0a4b780d16 Bug 1471355 - Block all chrome URLS if about: policy is active. r=Felipe
MozReview-Commit-ID: Ei1HglhfHjo

--HG--
extra : rebase_source : db67b71f759a3ae398d4c181e1354bb8b120387d
2018-06-26 16:08:16 -05:00
James Teh
970e561de6 Bug 1470779: label History and Bookmarks sidebar containers for accessibility. r=mak
Without this, accessibility reports the chrome:// URL of the page element as the label, which is ugly for screen reader users in particular.

MozReview-Commit-ID: AIInSb79YcN

--HG--
extra : rebase_source : d39f2bc627eeb521122dbbcbdc4699af3942ca23
2018-06-27 10:53:03 +10:00
shindli
c57ab475c6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-29 01:51:06 +03:00
Michael Kaply
1a987ee809 Bug 1471651 - Allow Non FQDN to be specified in policy. r=Felipe
MozReview-Commit-ID: 4mVbOfTGIak

--HG--
extra : rebase_source : ed5527a6a2910f63ad80d3d9b6611ab486580bc9
2018-06-27 12:11:49 -05:00
Cosmin Sabou
a612a6fdf5 Merge mozilla-central to mozilla-inbound. a=merge 2018-06-28 13:13:46 +03:00
Cosmin Sabou
f4b3baf021 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-28 13:04:23 +03:00
Michael Kaply
2ae80170f9 Bug 1463902 - Remove first_available annotation. r=Felipe DONTBUILD
MozReview-Commit-ID: 1pJ1ZmoVMqt

--HG--
extra : rebase_source : 994e919cbb0eb9110bffae1adf6a22f23044fc62
2018-06-27 13:49:45 -05:00
Kris Maglione
c1c1de7ce8 Bug 1467695: Wait for async disable operations to finish when calling addonChanged listeners. r=aswan
MozReview-Commit-ID: 1vsevE8IgYU

--HG--
extra : source : 46e5404ad50cf39cfe8b10bbd9c45b4325d95d6e
extra : amend_source : 0bfd172b9ec37e7f169269aa37cbe547d2156c6d
extra : intermediate-source : c0ebdd0be6ba6f9748690d0ae5479977e2ea54bb
2018-06-08 13:02:43 -07:00
Kanika Saini
7200618ade Bug 1465950 - Keep parsed policies stored by EnterprisePolicies.js to display them on about:policies page. r=felipe 2018-06-20 22:48:12 +05:30
Andreea Pavel
6fdc08bb18 Backed out changeset ce5b67578d0c (bug 1465950) for failing eslint at /builds/worker/checkouts/gecko/browser/components/enterprisepolicies/tests/browser/browser_policies_getActivePolicies.js on a CLOSED TREE 2018-06-27 20:24:23 +03:00
Kanika Saini
54c056cf0b Bug 1465950 - Keep parsed policies stored by EnterprisePolicies.js to display them on about:policies page. r=felipe 2018-06-20 22:48:12 +05:30
Dorel Luca
d296624690 Backed out 5 changesets (bug 1340498) for build bustage due to conflicts with bug 1470325. a=backout
Backed out changeset 28bedb658af4 (bug 1340498)
Backed out changeset f950a2310e26 (bug 1340498)
Backed out changeset 5fcd31c65fe0 (bug 1340498)
Backed out changeset 515bb5e24dd7 (bug 1340498)
Backed out changeset 79a8619bd3e2 (bug 1340498)
2018-06-27 14:05:20 +03:00
Dorel Luca
f51c4fa5d9 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-27 13:26:49 +03:00
Christoph Kerschbaumer
25caec9ca2 Bug 1463663 - Prefix exported functions of the RemotePageManager with RPM. r=mossop 2018-06-27 09:08:32 +02:00
Gurzau Raul
78f3442000 Backed out changeset 04352a50d097 (bug 1465950) for linting failure on /enterprisepolicies/tests/browser/browser_policies_getActivePolicies.js on a CLOSED TREE 2018-06-27 06:55:53 +03:00
Sam Foster
458a39e2cd Bug 1471263 - Unbork and un-skip the test_show_field_specific_error_on_addresschange test. r=jaws,MattN
MozReview-Commit-ID: BNvWDBF5HDH

--HG--
extra : rebase_source : 17ddaa6da49d74fedd2412cc601f63ba2f2050e8
2018-06-26 16:56:20 -07:00
Kanika Saini
4a97b2fd54 Bug 1465950 - Keep parsed policies stored by EnterprisePolicies.js to display them on about:policies page. r=felipe 2018-06-20 22:48:12 +05:30
Gurzau Raul
729b75ccb4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-27 00:55:38 +03:00
Kris Maglione
33d055eb2d Bug 1470023: Lazily load PluginContent.jsm when it's first required. r=felipe
MozReview-Commit-ID: 2n9NP5mEEcG

--HG--
extra : source : 064e448df638efc4a99fdf9f400d1eac2b7505ca
extra : amend_source : 66687c347238d43c24e5cc8080b102097b43b3ac
extra : intermediate-source : 1adc0372343e6ca2248f3c16cede6a103aebcaa7
2018-06-24 17:33:55 -07:00
shindli
13098ab1ef Backed out 3 changesets (bug 1470023, bug 1469719, bug 1470965) for | toolkit/components/perfmonitoring/tests/browser/browser_compartments.js on a CLOSED TREE
Backed out changeset bab121b4dd84 (bug 1469719)
Backed out changeset d28d3a80e781 (bug 1470965)
Backed out changeset 1adc0372343e (bug 1470023)
2018-06-26 22:57:54 +03:00
Kris Maglione
d9da2cdb02 Bug 1470023: Lazily load PluginContent.jsm when it's first required. r=felipe
MozReview-Commit-ID: 2n9NP5mEEcG

--HG--
extra : rebase_source : 4357e78d02e7c3f6af6cfea1e0681e50476bddcb
extra : source : 064e448df638efc4a99fdf9f400d1eac2b7505ca
2018-06-24 17:33:55 -07:00
Paolo Amadini
f4e92eb3d5 Bug 1435688 - Part 2 - Replace "listitem-iconic" with "richlistitem" in the application manager dialog and adjust the styling. r=bgrins
MozReview-Commit-ID: 9qykVWLV23j

--HG--
extra : rebase_source : b3f54ee3e9f6d12385fa10abd8ed6bc5a64b5775
2018-06-23 20:59:01 +01:00
Bogdan Tara
d2fb3a8812 Backed out 5 changesets (bug 1340498) for build bustages on nsDOMCSSAttrDeclaration.h CLOSED TREE
Backed out changeset 9ebcdb66ceff (bug 1340498)
Backed out changeset 63321093bb70 (bug 1340498)
Backed out changeset f8c799971f81 (bug 1340498)
Backed out changeset 21d8c1fbbbd1 (bug 1340498)
Backed out changeset fa40c179eb0d (bug 1340498)
2018-06-26 21:31:09 +03:00
Paolo Amadini
95b335127c Bug 1446362 - Part 2 - Remove "tree" from the permission preferences. r=johannh
MozReview-Commit-ID: 9IYpH8SvsCw

--HG--
extra : rebase_source : bf625a793c01da4bcc45e8b92214e6ee73cc6cc5
2018-06-22 14:13:53 +01:00
Paolo Amadini
cf5bc9aab8 Bug 1446362 - Part 1 - Refactor tests to reduce some duplication. r=johannh
MozReview-Commit-ID: 2m0Oymlh51z

--HG--
extra : rebase_source : 6bdd2102000e9db1b213783c39d56a729a4a29c0
2018-06-22 14:13:41 +01:00
arthur.iakab
fc7e217166 Backed out 5 changesets (bug 1340498) for build bustages on SelectionChangeListener.h on a CLOSED TREE
Backed out changeset c89b86622d38 (bug 1340498)
Backed out changeset b270d4a01986 (bug 1340498)
Backed out changeset 8ed32495b46f (bug 1340498)
Backed out changeset df9a67c58183 (bug 1340498)
Backed out changeset a5977e0708ea (bug 1340498)
2018-06-26 07:59:01 +03:00
Doug Thayer
f111638b21 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 98df93506a64113d09cfd0926257dbf5f84720b5
2018-02-14 09:17:41 -08:00
Doug Thayer
c4f5b4ecdb Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 126587e26e6625dee53a7e40d8a9d5bdf426978a
2018-02-14 09:17:41 -08:00
Doug Thayer
421ce10d38 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : eeb3a99e07e3e5a39d716760cd26795f28f9a74b
2018-02-14 09:17:41 -08:00
Doug Thayer
763d6c428f Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : eeb3a99e07e3e5a39d716760cd26795f28f9a74b
2018-02-14 09:17:41 -08:00
Doug Thayer
0a912f9667 Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : fd064e53e8645c3914188c05e71c8800d6f2174b
2018-02-14 09:11:49 -08:00
Doug Thayer
abe46fa52a Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : ef8fa174f902e6abd397fb80294e83843120aa81
2018-02-14 09:11:49 -08:00
Doug Thayer
4dd5940382 Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : 1190d4f127453cdcb692deb5982e92a93e236b9e
2018-02-14 09:11:49 -08:00
Doug Thayer
22f93b18ef Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : 1190d4f127453cdcb692deb5982e92a93e236b9e
2018-02-14 09:11:49 -08:00
Mark Banner
7db339076c Bug 1471215 - Remove now unnecessary classInfo definition in PlacesTreeView. r=mak
MozReview-Commit-ID: 2BJGohgrA2l

Differential Revision: https://phabricator.services.mozilla.com/D1828
2018-06-26 20:45:41 +00:00
Oriol Brufau
050e9292da Bug 1465170 - Implement support for the 'highlighted' API for multiselect tabs with tabs.query r=jaws,mixedpuppy
MozReview-Commit-ID: 6eFnxrXJXXB

--HG--
extra : rebase_source : f0afa7ab08d32d7751c5bcbf1ed9fc65a1fba16b
2018-06-03 02:53:59 +02:00
Kirk Steuber
9da04e18ce Bug 1460082 - Allow DisableAppUpdate and DisableSystemAddonUpdate policies outside of the ESR r=Felipe
Changing enterprise_only to machine_only will allow these policies outside of the ESR, but not in HKEY_CURRENT_USER.

MozReview-Commit-ID: UAT6CPFOWO

--HG--
extra : rebase_source : e3e49d347241803e6ecd48e037c496ab15b566d5
2018-06-21 07:42:11 -07:00
Oriol Brufau
e3e3ce5238 Bug 1464862 - Expose multiselected status to "tabs.Tab.highlighted", and allow to change it via "browser.tabs.highlight()" r=mixedpuppy
MozReview-Commit-ID: H2SiqM5ksCH

--HG--
extra : rebase_source : a8951d803c2c72fb0c6e39f4600b6aabcae69c41
2018-06-23 21:46:58 +02:00
Margareta Eliza Balazs
03ab62719a Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-26 18:08:43 +03:00
Mark Banner
1808cc5dec Bug 1467996 - Remove all the code adding a description annotation. r=mak,lina
MozReview-Commit-ID: CRBSxJtJELp

Differential Revision: https://phabricator.services.mozilla.com/D1748
2018-06-26 12:33:45 +00:00
arthur.iakab
8b1be0e972 Backed out 5 changesets (bug 1340498) for build bustages on SelectionChangeListener.h on a CLOSED TREE
Backed out changeset fae677707059 (bug 1340498)
Backed out changeset 2adde1d1742a (bug 1340498)
Backed out changeset a444ab9cefde (bug 1340498)
Backed out changeset e2ac49ef2034 (bug 1340498)
Backed out changeset 6465310b3de9 (bug 1340498)
2018-06-26 03:53:21 +03:00
Doug Thayer
4ef92a21b2 Bug 1340498 - Update onVisits tests to use 'page-visited' r=mak
MozReview-Commit-ID: FxC3gcUF9hl

--HG--
extra : rebase_source : 8815ce1e4eef3bfaf25acf36faeeadacbe4a3b0c
2018-02-14 09:17:41 -08:00
Doug Thayer
41d49cecec Bug 1340498 - Update onVisits uses to 'page-visited' r=mak
Consuming the new 'page-visited' notification was fairly trivial,
since it was already brought over to onVisits. There's not much to
say about this other than that I'm a little bit uncertain about
all the hoops we have to jump through to get a JSContext and
GlobalObject from History.cpp (which is discussed in the earlier
commit in the series).

MozReview-Commit-ID: LHaBWSylyLI

--HG--
extra : rebase_source : 148555189f73fb29a48296215e367c406f3f0286
2018-02-14 09:11:49 -08:00
Gijs Kruitbosch
006aa20e16 Bug 1438499 - show 'close multiple tabs' warning dialog when quitting, r=jaws,whimboo
MozReview-Commit-ID: J2gi9do8HK9

--HG--
extra : rebase_source : b22103b5a4d43fc6da535ef00f75ed6bc80d92fb
2018-06-13 09:34:52 -07:00
Michael Kaply
047b517cdd Bug 1466846 - Enabling addon should set homepage override. r=kmag
MozReview-Commit-ID: G9cfRuQjyGb

--HG--
extra : rebase_source : b3fa8c4277b8ac36fe23e108e5b934a853c70bc2
2018-06-22 15:58:15 -05:00
Sam Foster
4cf8d4350f Bug 1463608 - Expose FormAutofill computeFields methods, use them for temporary records in payments. r=MattN
* Test helpers for cards
* Refactor the test_add_link test to test in private & non-private window

MozReview-Commit-ID: AeVJOkSwQps

--HG--
extra : rebase_source : 6e8380826bcac87bc408ff75a6a398b5c4f6cafa
2018-05-30 16:56:25 -07:00