Граф коммитов

55584 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian f92b05e5f0 Merge inbound to mozilla-central. a=merge
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Sam Foster 0203e814c4 Bug 1543454 - Backed out changeset 0929ce862892, its not the correct fix for known sites with this symptom at this time.
This patch was intended to fix behavior observed on us.hsbc.com, where the username was being replaced with a single 'x', but that is now being tracked in bug 1546749.

--HG--
extra : amend_source : a8eaeefe4a91c5fcd6210537edd4a8a499158c79
2019-04-24 11:07:58 -07:00
Gijs Kruitbosch dec6e35eeb Bug 1546147 - fix broken search keyword textbox when switching categories, r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D28674

--HG--
extra : moz-landing-system : lando
2019-04-24 17:32:16 +00:00
Cosmin Sabou 6e8934bb87 Backed out 4 changesets (bug 1533831) for xpcshell failures on remote/test/unit/test_Error.js. CLOSED TREE
Backed out changeset a3014b38cc5f (bug 1533831)
Backed out changeset 57a319eeed2d (bug 1533831)
Backed out changeset afcfdae88bf7 (bug 1533831)
Backed out changeset c03450df8660 (bug 1533831)
2019-04-24 19:55:51 +03:00
Andreas Tolfsen 9eab4824cb bug 1533831: remote: include remote agent in default build; r=firefox-build-system-reviewers,chmanchester
The previous commit disabled the remote agent by flipping the
remote.enabled preference to false.  That prevented the remote
agent from initialising or being included in the --help message.

This patch implies --enable-cdp in the default Firefox build on Firefox
Nightly.  Firefox for Android is not supported.  This will cause
builds to include the remote agent component that lives under remote/.

Since the remote agent is disabled by default, users will first
have to set the remote.enabled preference to true in order to use it.

If you wish to explicitly opt out of including the remote agent
when building Firefox, you may do so by using the --disable-cdp
build flag in your mozconfig:

	ac_add_options --disable-cdp

Differential Revision: https://phabricator.services.mozilla.com/D27540

--HG--
extra : moz-landing-system : lando
2019-04-24 15:18:09 +00:00
Mark Banner ab62dd384d Bug 1545140 - Add tags to search tests to allow running just the main tests or the search config tests. r=mikedeboer
Depends on D28648

Differential Revision: https://phabricator.services.mozilla.com/D28649

--HG--
extra : moz-landing-system : lando
2019-04-24 15:20:49 +00:00
Mark Banner 36952af639 Bug 1545140 - Wait for a bit longer in test_reloadEngines to ensure that cache writes are fully complete. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D28648

--HG--
extra : moz-landing-system : lando
2019-04-24 14:57:28 +00:00
Michael Kaply 8e60caaaa2 Bug 1542895 - Allow file URLs as origins. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28348

--HG--
extra : moz-landing-system : lando
2019-04-23 21:09:47 +00:00
Ehsan Akhgari 8a23f4f295 Bug 1546509 - Add back the script test case to browser_referrerDefaultPolicy.js; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D28565

--HG--
extra : moz-landing-system : lando
2019-04-24 12:27:23 +00:00
Mike de Boer 775fbffcb9 Bug 1518551 - Remove the 'MOZ_TOOLKIT_SEARCH' build config constant, because it's unused; we always enable the search service. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D27702

--HG--
extra : moz-landing-system : lando
2019-04-24 08:52:32 +00:00
Emilio Cobos Álvarez 7955178e69 Bug 1546542 - followup: Use SpecialPowers to get the new pref on the arrowpanel test. r=orange
Since apparently I ran the test from the wrong checkout before submitting.
2019-04-24 13:29:16 +02:00
Kestrel 71594cf2ec Bug 1546072 - Reduce in-content table header background brightness in dark mode. r=dao
Table header lightness reduced from 52% to 17% to match page background.

Differential Revision: https://phabricator.services.mozilla.com/D28325

--HG--
extra : moz-landing-system : lando
2019-04-24 10:02:34 +00:00
Emilio Cobos Álvarez b025fc9258 Bug 1546542 - Add a pref to be able to enable arrowpanel animations on Linux. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28585

--HG--
extra : moz-landing-system : lando
2019-04-24 09:56:38 +00:00
Emilio Cobos Álvarez 1ccf57f63f Bug 1470880 - Stop relying on [side] in arrowpanel selectors in order to remove last usage of xbl resources. r=bgrins
The reason why this fixes it is a bit subtle, let me try to explain.

XBL has this mechanism where all attributes in the binding `<content>` element
get auto-propagated to the bound element (the `<panel>` in this case).

This doesn't seem to be a very used feature looking at:

https://searchfox.org/mozilla-central/search?q=%3Ccontent&case=false&regexp=false&path=xml

The panel binding uses it to add the `side` attribute:

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/toolkit/content/widgets/popup.xml#264

The key here is that this attribute addition is silent (`aNotify=false`):

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/dom/xbl/nsXBLBinding.cpp#341

This means that the presence of this attribute is not supposed to change the
rendering of the page. It'd also be unsafe to notify at the point at which we
create XBL bindings.

So the way this happens is:

  * We compute the initial style of the `<panel>` element (which doesn't have a
    `side` attribute, and thus doesn't match the rules, and has a computed
    opacity of 1).
  * The XBL service _silently_ sets the `side` attribute. This should cause a
    style change, but it doesn't since it's silent, so we remain with the
    opacity of 1.
  * We open the popup, and the XBL binding listens for the `popupshowing` event
    and adds the `animate` attribute. The style system notices, and eventually
    we compute the new style. Issue is, it has again an opacity of 1, so we
    don't fire the transition.

Same with transform and such of course.

So far so good, but then, why does it work if there's a `<resources>` element
with an empty stylesheet? Fun that you ask!

We explicitly re-resolve the style of the element if there are any stylesheets:

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/dom/xbl/nsXBLService.cpp#551

And thus grab the correct initial opacity of zero, and trigger the transition.

Given arrow panels always have a `side` attribute (and same for the bookmarks
thing), making their style not depend on the silent attribute additions from
`<content>` fixes the bug.

We could fix the bug with an alternative patch (re-resolving style if there's a
`<content>` element with attributes in the binding). This wouldn't be completely
sound anyway in presence of combinators, and given that it'd remain being
unsound anyway, we should probably just remove that feature.

Also, the simplification of the stylesheets seems worth it anyway.

I'll follow-up removing the `<resources>` implementation, and we should probably
investigate removing the `<content>` attribute propagation, since it's the
really unsound thing here.

Differential Revision: https://phabricator.services.mozilla.com/D28310

--HG--
extra : moz-landing-system : lando
2019-04-24 09:29:48 +00:00
Tim Nguyen d920e1aef1 Bug 1543696 - Fix browser_ext_themes_experiment.js and browser_ext_themes_warnings.js failures due to extensions.legacy.enabled behaving differently on automation. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D28187

--HG--
extra : moz-landing-system : lando
2019-04-24 07:25:28 +00:00
Andrew Swan 060462cafd Bug 1546541 Remove no-op toolbarbutton menu bindings r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D28584

--HG--
extra : moz-landing-system : lando
2019-04-24 00:10:42 +00:00
Mike Conley 43872dedcf Bug 1545554 - Hide Picture-in-Picture toggle when in fullscreen mode. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D28527

--HG--
extra : moz-landing-system : lando
2019-04-24 01:41:59 +00:00
Robert Strong 13aac1dde6 Bug 1545712 - make verify mar enabled the default. r=glandium
Changes --enable-verify-mar to be the default. Builds that want to disable mar verification will need to specify --disabled-verify-mar.
Removes --enable-verify-mar from Firefox's mozconfigs since it is no longer needed.
Re-enables app update browser chrome tests on ASAN that were disabled due to the ASAN mozconfigs not specifying --enable-verify-mar.
This also makes the same app update browser chrome tests on code coverage builds due to the code coverage mozconfigs not specifying --enable-verify-mar.

Differential Revision: https://phabricator.services.mozilla.com/D28288

--HG--
extra : moz-landing-system : lando
2019-04-23 23:00:12 +00:00
Ciure Andrei 1e7be41ddd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-24 01:22:25 +03:00
Ciure Andrei 167fe89533 Merge inbound to mozilla-central. a=merge 2019-04-24 01:15:47 +03:00
Kirk Steuber 1333d39f1a Bug 1542100 - Only enable BITS update for 50% of eligible population r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D28368

--HG--
extra : moz-landing-system : lando
2019-04-23 17:18:07 +00:00
Robert Strong 3cb66d0328 Bug 1546512 - fix incorrect stagingFailed check. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D28567

--HG--
extra : moz-landing-system : lando
2019-04-23 21:24:35 +00:00
Mark Banner c507a11dc6 Bug 1544392 - Allow extension icons to be supplied from localized manifest properties, and fix the Yandex icon in search engines. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D28499

--HG--
extra : moz-landing-system : lando
2019-04-23 21:10:00 +00:00
Mark Banner a989ba39e4 Bug 1541210 - Write unit tests to ensure that the correct default engines are present for all locales/regions. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27879

--HG--
extra : moz-landing-system : lando
2019-04-23 20:22:01 +00:00
Razvan Maries 5f610a07b3 Backed out 8 changesets (bug 1542826) for build bustages. CLOSED TREE
Backed out changeset f3516e1416f0 (bug 1542826)
Backed out changeset 1dba743761b7 (bug 1542826)
Backed out changeset a02e469be7b3 (bug 1542826)
Backed out changeset 5118d628ec89 (bug 1542826)
Backed out changeset 5744891efeef (bug 1542826)
Backed out changeset e5af8cd01080 (bug 1542826)
Backed out changeset 314f9bc7dafe (bug 1542826)
Backed out changeset 7df230ea5122 (bug 1542826)
2019-04-23 23:14:06 +03:00
Kartikaya Gupta 80e9ccefb1 Bug 1542826 - Add BSD-3-Clause license to about:license and whitelist sha1 which uses it. r=froydnj,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D28355

--HG--
extra : moz-landing-system : lando
2019-04-23 19:56:09 +00:00
Razvan Maries d547376a66 Backed out changeset 9e9812ed59a5 (bug 1541210) for causing perma failures on: test_baidu.js, test_bing.js, test_google.js and test_yahdex.js. CLOSED TREE 2019-04-23 21:10:37 +03:00
Dave Townsend 089b592ef3 Bug 1546326: Correctly detect missing directories on Windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28514

--HG--
extra : moz-landing-system : lando
2019-04-23 17:23:35 +00:00
Robert Strong cf3dba79b1 Bug 1540188 - app update BITS successful download tests. r=bytesized
Changes the tests to use http://127.0.0.1:8888 so BITS can download updates.
Adds a new browser chrome test manifest named browser.bits.ini for BITS tests.
Currently only the tests with a successful udate download pass. The other tests will be fixed in different bugs.
Currently debug builds leak when downloading with BITS so running these tests on debug builds is disabled. This will be fixed in a different bug.

Differential Revision: https://phabricator.services.mozilla.com/D28446

--HG--
extra : moz-landing-system : lando
2019-04-23 16:31:23 +00:00
Chris H-C 76ed6c6d7c Bug 1536175 - Report whether Headless or not in Telemetry Environment r=janerik
If Firefox is in Headless Mode we expect it to behave rather differently. For
example, I imagine gpu perf metrics will be less than representative. We should
annotate Telemetry pings with whether or not we're operating in headless mode.

Differential Revision: https://phabricator.services.mozilla.com/D26970

--HG--
extra : moz-landing-system : lando
2019-04-22 20:35:05 +00:00
Andrew Swan 0c258007ab Bug 1541167 Stop doing synchronous main-thread I/O to validate the blocklist r=Gijs
The main change here is moving the old AddonManager.validateBlocklist()
into Blocklist.jsm and getting rid of any main-thread I/O.  This patch
also includes a small functional change: previously we would always copy
the application-supplied blocklist.xml into the profile directory.  With
this change, blocklist.xml is not copied from the application into the
profile.  This entails an extra open() when we're falling back to the
application-supplied blocklist file but saves all the I/O required to
actually copy the file.

Differential Revision: https://phabricator.services.mozilla.com/D27829

--HG--
extra : moz-landing-system : lando
2019-04-23 16:11:13 +00:00
akshitha 36279ab254 Bug 1187696 - Toolbar too bright in Reader dark mode r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26331

--HG--
extra : moz-landing-system : lando
2019-04-23 16:13:27 +00:00
Mark Banner 18472ead5d Bug 1541210 - Write unit tests to ensure that the correct default engines are present for all locales/regions. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27879

--HG--
extra : moz-landing-system : lando
2019-04-23 15:10:48 +00:00
Sam Foster f942712ad4 Bug 1543454 - Set single-character usernames to null when prompting to save password. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D28003

--HG--
extra : moz-landing-system : lando
2019-04-22 21:59:57 +00:00
Nika Layzell 1f9c0e088f Bug 1544936 - Part 2: Add a test for the new sendQuery method, r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D27810

--HG--
extra : moz-landing-system : lando
2019-04-17 18:18:28 +00:00
Justin Wood b6c38766c5 Bug 1532576 - Fallback openh264 gmp source file is out of date. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D28478

--HG--
extra : moz-landing-system : lando
2019-04-23 13:32:57 +00:00
Masayuki Nakano 3bd62fb08a Bug 1543315 - part 11: Mark nsIPresShell::ScrollContentIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug
This patch marks `ScrollContentIntoView()` as `MOZ_CAN_RUN_SCRIPT` and changing
some callers of them to guarantee thar their parent callers are also safe.

Additionally, this patch moves it from `nsIPresShell` to `PresShell` because
all callers can refer `PresShell` directly.

Unfortunately, this patch changes a lot of methods in autocomplete and satchel
since this patch needs to mark some interface methods as `can_run_script` and
they are called each other.  This means that autocomplete module is really
sensitive like editor module.  Perhaps, autocomplete and satchel should do
scroll asynchronously and unmark some of them as `MOZ_CAN_RUN_SCRIPT` again.

Differential Revision: https://phabricator.services.mozilla.com/D28320

--HG--
extra : moz-landing-system : lando
2019-04-23 01:34:24 +00:00
Leif Oines 79c8fa6057 Bug 1545172 - Enable recording of metrics into pre-account ecosystem ping/store r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D27949

--HG--
extra : moz-landing-system : lando
2019-04-22 17:50:05 +00:00
Bogdan Tara 6647b813f2 Backed out changeset 9509ae2baf1c (bug 1470880) for components/customizableui/test/browser* failures CLOSED TREE 2019-04-23 03:28:13 +03:00
Emilio Cobos Álvarez e4f84a0b9d Bug 1470880 - Simplify arrowpanel selectors in order to remove last usage of xbl resources. r=bgrins
The reason why this fixes it is a bit subtle, let me try to explain.

XBL has this mechanism where all attributes in the binding `<content>` element
get auto-propagated to the bound element (the `<panel>` in this case).

This doesn't seem to be a very used feature looking at:

https://searchfox.org/mozilla-central/search?q=%3Ccontent&case=false&regexp=false&path=xml

The panel binding uses it to add the `side` attribute:

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/toolkit/content/widgets/popup.xml#264

The key here is that this attribute addition is silent (`aNotify=false`):

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/dom/xbl/nsXBLBinding.cpp#341

This means that the presence of this attribute is not supposed to change the
rendering of the page. It'd also be unsafe to notify at the point at which we
create XBL bindings.

So the way this happens is:

  * We compute the initial style of the `<panel>` element (which doesn't have a
    `side` attribute, and thus doesn't match the rules, and has a computed
    opacity of 1).
  * The XBL service _silently_ sets the `side` attribute. This should cause a
    style change, but it doesn't since it's silent, so we remain with the
    opacity of 1.
  * We open the popup, and the XBL binding listens for the `popupshowing` event
    and adds the `animate` attribute. The style system notices, and eventually
    we compute the new style. Issue is, it has again an opacity of 1, so we
    don't fire the transition.

Same with transform and such of course.

So far so good, but then, why does it work if there's a `<resources>` element
with an empty stylesheet? Fun that you ask!

We explicitly re-resolve the style of the element if there are any stylesheets:

https://searchfox.org/mozilla-central/rev/d80f0a570736dce76a2eb184fb65517462089e8a/dom/xbl/nsXBLService.cpp#551

And thus grab the correct initial opacity of zero, and trigger the transition.

Given arrow panels always have a `side` attribute (and same for the bookmarks
thing), making their style not depend on the silent attribute additions from
`<content>` fixes the bug.

We could fix the bug with an alternative patch (re-resolving style if there's a
`<content>` element with attributes in the binding). This wouldn't be completely
sound anyway in presence of combinators, and given that it'd remain being
unsound anyway, we should probably just remove that feature.

Also, the simplification of the stylesheets seems worth it anyway.

I'll follow-up removing the `<resources>` implementation, and we should probably
investigate removing the `<content>` attribute propagation, since it's the
really unsound thing here.

Differential Revision: https://phabricator.services.mozilla.com/D28310

--HG--
extra : moz-landing-system : lando
2019-04-22 21:41:29 +00:00
Avery Berninger a3b108d583 Bug 1545052 - Fix broken about:preferences link (Android), r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28169

--HG--
extra : moz-landing-system : lando
2019-04-22 20:37:17 +00:00
Bogdan Tara 614fe1a130 Backed out changeset 5f0139ba2544 (bug 1545273) for browser_blockingCookies.js failures CLOSED TREE 2019-04-22 23:29:22 +03:00
Nan Jiang 938f7d3e16 Bug 1543836 - Add writeMany to kvstore r=myk
This new API allows consumer to both put and delete in batch.

Differential Revision: https://phabricator.services.mozilla.com/D28153

--HG--
extra : moz-landing-system : lando
2019-04-22 18:36:38 +00:00
Andrea Marchesini 266a28f53a Bug 1545273 - User-Interaction required for trackers only for some urls, set in privacy.restrict3rdpartystorage.userInteractionRequiredForHosts, r=Ehsan
This patch fixes a bug about when the
privacy.restrict3rdpartystorage.userInteractionRequiredForHosts should be
considered.

Differential Revision: https://phabricator.services.mozilla.com/D28155

--HG--
extra : moz-landing-system : lando
2019-04-22 16:30:39 +00:00
Kirk Steuber 078edecd4a Bug 1545793 - Don't put a BITS update in a failure state if the user doesn't have permission to access BITS r=rstrong
This patch should prevent a guest user from putting a non-guest user's (existing) BITS download in a failure state. If, however, the guest user is the first user to try BITS, it will fail and will still put BITS in an error state, falling back to nsIIncrementalDownload.

Differential Revision: https://phabricator.services.mozilla.com/D28258

--HG--
extra : moz-landing-system : lando
2019-04-22 17:06:59 +00:00
Kirk Steuber 4bc2b30f74 Bug 1545793 - Propogate new BITS client error through the async XPCOM layer r=lina
Differential Revision: https://phabricator.services.mozilla.com/D28257

--HG--
extra : moz-landing-system : lando
2019-04-22 16:21:53 +00:00
Kirk Steuber e4c75e6001 Bug 1545793 - Add a specific error code for when we cannot connect to the background copy manager r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D28256

--HG--
extra : moz-landing-system : lando
2019-04-22 16:21:33 +00:00
Sylvestre Ledru a1dce6440a Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D28329

--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Rob Wu 38a70101b7 Bug 1545609 - Fix HTML tags in aboutaddons.html r=mstriemer
This patch has no functional changes; It adds missing `</slot>` tags and
removes some unnecessary type attributes and `/>`.

And it also moves some entries in browser.ini to ensure that the tests
are listed in alphabetical order.

Differential Revision: https://phabricator.services.mozilla.com/D28154

--HG--
extra : moz-landing-system : lando
2019-04-22 14:11:41 +00:00
Michael Cooper 490749ff91 Bug 1513646 - Remove Normandy remote-action infrastructure r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28227

--HG--
extra : moz-landing-system : lando
2019-04-23 13:23:07 +00:00