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

55584 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro cbfe0bf507 Bug 1518843 - Use isPrivileged instead of restrictScheme for addons permissions. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D22620

--HG--
extra : moz-landing-system : lando
2019-04-16 18:04:39 +00:00
Tim Nguyen 0dc09e7ba9 Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153

--HG--
extra : moz-landing-system : lando
2019-04-16 18:14:37 +00:00
Brindusan Cristian 1f36a419a9 Backed out changeset 19d9a16423fd (bug 1543786) for ESlint failure at browser_storageAccessRemovalNavigateTopframe.js. CLOSED TREE 2019-04-17 08:29:16 +03:00
Ehsan Akhgari 0ad9b25d34 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155

--HG--
extra : moz-landing-system : lando
2019-04-17 15:01:53 +00:00
Richard Marti dadf96384c Bug 1544025 - Apply the dark-mode to the dialogs too. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27338

--HG--
extra : amend_source : b7d1d061f4c254472b353256c47400f7ee30d4a4
2019-04-17 13:36:50 +02:00
Gurzau Raul 9b30abf7c9 Backed out 4 changesets (bug 1533831) for failing at /browser/browser_target.js on a CLOSED TREE.
Backed out changeset 94fd0790781a (bug 1533831)
Backed out changeset d32384388e3d (bug 1533831)
Backed out changeset bd363475667f (bug 1533831)
Backed out changeset b818d6ca606d (bug 1533831)
2019-04-18 05:35:54 +03:00
Gabriele Svelto f8519d8324 Bug 1542581 - Block child process termination until the handler is fully initialized r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27231

--HG--
extra : moz-landing-system : lando
2019-04-17 18:55:14 +00:00
Gurzau Raul 5525d8c102 Backed out changeset 77dbf6f2d6d4 (bug 1529879) for Windows build bustages at Unified_cpp_toolkit_profile0.obj on a CLOSED TREE. 2019-04-18 03:21:42 +03:00
Gabriele Svelto ea01f0aed2 Bug 1386760 - Remove the ExecutableName annotation r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D27885

--HG--
extra : moz-landing-system : lando
2019-04-17 14:05:42 +00:00
Ehsan Akhgari 7275a59f14 Bug 332175 - Disable the XMLDocument.load() API on trunk; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D27729

--HG--
extra : moz-landing-system : lando
2019-04-17 19:37:10 +00:00
Dave Townsend a2a1b4d1f5 Bug 1529879: Block changing the profile list when another process has changed it. r=froydnj,Gijs,flod
On startup we record the size and modified time of the profile lists. If
changed we refuse to flush any new changes to disk. Also adds a getter to check
if they've changed so the UI can do something sensible.

All attempts to flush are now checked for success. In some cases in early
startup the failure mode isn't great, we just quit startup. The assumption
though is that it's extremely unlikely that the files will have changed on disk
in the time between when they are read and when profile selection occurs, likely
less than a second later.

The profile reset flow is changed to only delete the old profile and flush once
all the migration has completed, so if something fails the user gets back to
their old profile.

In testing I ended up having to fix bug 1522584 so background file deletions on
a background thread are safer.

I haven't implemented any UI tests right now since making modifications to the
profiles means modifying the actual user's profiles which I'm not keen to do.
See bug 1539868.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 20:06:20 +00:00
Andreas Tolfsen b864268d1a 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-17 16:41:38 +00:00
Barret Rennie 48cd738b02 Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-15 19:26:18 +00:00
Barret Rennie 46fd11fd0d Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 03:00:35 +00:00
Agi Sferro 83bc10f815 Bug 1518843 - GeckoView WebExtension Messaging. r=snorp,esawin,robwu,kmag
This change allows GeckoView embedders to respond to
`runtime.sendNativeMessage` and `runtime.connectNative` sent from
WebExtensions.

These APIs are available behind the new privileged-only permission
`geckoViewAddons` and are used by GeckoView apps to communicate between content
and the app.

Depends On D22621

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

--HG--
extra : moz-landing-system : lando
2019-04-17 18:28:10 +00:00
Luke Crouch 241edb5fa9 contextualIdentity: add gray color and fence icon (Bug 1532746); r=jkt,flod
Adds a gray color and fence icon for Containers. This is originally from
Facebook Container: https://addons.mozilla.org/firefox/addon/facebook-container/

User Research showed a strong affinity for the fence icon as an indicator of
the kind of "boundary" protection that Containers provide.
https://docs.google.com/spreadsheets/d/1bnqjcWTV893RESMPJzAXOrDN0juN_Z0-EE93Mvn3Z5g/edit#gid=0

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

--HG--
extra : moz-landing-system : lando
2019-04-17 16:43:30 +00:00
Brian Grinstead d48d388df2 Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593

--HG--
extra : moz-landing-system : lando
2019-04-17 15:56:41 +00:00
Brian Grinstead fffaa7e5a8 Bug 1528268 - Make initializeAttributeInheritance and incremental attribute changes do less work r=aswan
This provides a flipped data structure based on the provided inheritedAttributes,
which looks like:

Object<selector, attrs_to_inherit_comma_separated>

To one that looks like:

Object<attr, Array<Array<selector, attr_to_inherit>>

This should improve performance because:

1) We only fetch element at connectedCallback that actually will have attributes inherited.
2) When an attribute changes we can quickly inherit only that one.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 18:48:46 +00:00
Csoregi Natalia fc982ef00d Backed out changeset d969c3ed6999 (bug 1543005) for assertion failures on netwerk/protocol/http/nsHttpHandler.cpp. CLOSED TREE 2019-04-17 22:07:07 +03:00
Sylvestre Ledru f21f9b7329 Bug 1525853 - Redirect the moz:// to the manifesto (instead of open design) r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D26798

--HG--
extra : moz-landing-system : lando
2019-04-17 16:29:41 +00:00
Mark Banner 0cd1778285 Bug 1545124 - Disable add-on manager logging for some tests. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D27917

--HG--
extra : moz-landing-system : lando
2019-04-17 15:48:07 +00:00
Mark Banner 3de2d3abf8 Bug 1518546 - Fix method signatures throughout SearchService.jsm to be consistent. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D27823

--HG--
extra : moz-landing-system : lando
2019-04-17 14:41:39 +00:00
Dragana Damjanovic 591ecb1b1e Bug 1543005 - Collect telemetry on traffic transferred through a captive portal. r=valentin
Adding telemetry for the amount of traffic transfer over the captive portal. Also moving some telemetry for trackers to the same place where our old telemetry is, so that they are all on the same place.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 19:30:35 +00:00
Ehsan Akhgari ad1be13e59 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155

--HG--
extra : moz-landing-system : lando
2019-04-16 22:49:25 +00:00
Gijs Kruitbosch bee3c89fb3 Bug 1544573 - fix about:support copy/paste implementation to correctly ignore no-copy elements, r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D27808

--HG--
extra : moz-landing-system : lando
2019-04-16 20:33:01 +00:00
lloan c87639ecca Bug 1531395 - Add telemetry to track persist option usage in the Console panel. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D26046

--HG--
extra : moz-landing-system : lando
2019-04-16 16:49:19 +00:00
Jonas Allmann a23b1de373 Bug 1541062, Remove eval() from updates.js, r=Gijs
Remove eval() from updates.js
Refactor code to make mapping of pageids to js-objects obsolete
Remove now unnecessary object attributes from wizard pages in updates.xul

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

--HG--
extra : moz-landing-system : lando
2019-04-16 15:28:54 +00:00
Myk Melez c411b93c35 Bug 1543795 - configure lmdb-rkv-sys to use a smaller MDB_IDL_LOGN size r=nanj,glandium
Configure the lmdb-rkv-sys Rust crate to use a smaller MDB_IDL_LOGN size in order to reduce allocations when opening an LMDB environment in read-write mode.

@glandium I adopted the configuration strategy you suggested of creating a "feature" for each reasonable value for the MDB_IDL_LOGN macro.  Fortunately, the range of reasonable values is fairly small.

@nanj Based on your evalution in https://github.com/mozilla/lmdb/pull/2, a value of "9" for this macro should aggressively reduce the allocations while still supporting our existing use cases.  But I'm open to increasing it, if you think a higher initial value would be preferable.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 16:03:10 +00:00
Felipe Gomes 73bd8a3a10 Bug 1438872 - Document and test TelemetryEnvironment's e10sMultiProcesses. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D27584

--HG--
extra : moz-landing-system : lando
2019-04-16 15:32:28 +00:00
Ehsan Akhgari 33df4a4c48 Bug 1544131 - Part 3: Add tests for the interaction of JS provided referrer policies with each one of the default referrer policy values applied to third-party trackers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27395

--HG--
extra : moz-landing-system : lando
2019-04-15 08:08:18 +00:00
Ehsan Akhgari a49e6df780 Bug 1544131 - Part 2: Remove the script test from browser_referrerDefaultPolicy.js since the <script> element doesn't provide support for the referrerPolicy API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27394

--HG--
extra : moz-landing-system : lando
2019-04-15 08:08:05 +00:00
Luca Greco b353df61ec Bug 1542842 - Fix remaining references to undefined Ci.nsITelemetry constant in WebExtensions tests. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27650

--HG--
extra : moz-landing-system : lando
2019-04-16 12:58:30 +00:00
Richard Marti df8dc71144 Bug 1544026 - Add a tab color for the in-content.dark-mode mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27311

--HG--
extra : rebase_source : 8da67a543b83108e8b3dcf13df97ed6da4f758c8
2019-04-15 19:33:43 +02:00
Kestrel 63795cc832 Bug 1544241 - Fix about:performance table header transparency for in-content dark mode and also fill the full height of the header r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27660

--HG--
extra : moz-landing-system : lando
2019-04-16 11:43:01 +00:00
Brian Grinstead c4fa4cfc0c Bug 1544322 - Part 4 - Remove the [type] attribute for multiline <script> tags loading files in /tests/SimpleTest/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 4` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 04:01:46 +00:00
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead ede8c44ef2 Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
This excludes dom/, otherwise the file size is too large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Ethan Glasser-Camp 7001c282bf Bug 1543817: Document different Normandy uptake telemetry values r=mythmon
Depends on D27363

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:41:30 +00:00
Ethan Glasser-Camp 87f56a54f3 Bug 1543817: Don't finalize any action twice r=mythmon
Depends on D27362

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:35:28 +00:00
Ethan Glasser-Camp 9f6f1d93a6 Bug 1543817: Use BACKOFF for "recipe didn't match" r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D27362

--HG--
extra : moz-landing-system : lando
2019-04-15 21:42:52 +00:00
Jared Hirsch a682f7645f Bug 1536877 - Correct the 'value' type in 'browser.telemetry.recordEvent'; r=rpl
MozReview-Commit-ID: EvI2FvsOjDx

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:23:02 +00:00
Kartikaya Gupta 165674af4f Bug 1544039 - Record CONTENT_FULL_PAINT_TIME in the GPU process too. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D27582

--HG--
extra : moz-landing-system : lando
2019-04-15 21:19:48 +00:00
Kirk Steuber 9e785cf3e7 Bug 1520321 - Adds Telemetry for BITS update downloads r=chutten,rstrong
These Histograms were added:
UPDATE_CAN_USE_BITS_EXTERNAL
UPDATE_CAN_USE_BITS_NOTIFY
  Used for telemetry indicating whether or not BITS can be used by this system. If BITS cannot be used, the probe will contain data indicating why not.
UPDATE_BITS_RESULT_COMPLETE
UPDATE_BITS_RESULT_PARTIAL
  Used for telemetry indicating whether the BITS update download succeeded. If it failed, the probe will contain data indicating how it failed.

This scalar was added:
update.bitshresult
  Used to indicate the hresult returned, if any, when a BITS download fails.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:44:59 +00:00
Kirk Steuber d1a3741601 Bug 1520321 - Use BITS in nsUpdateService r=rstrong
nsUpdateService should use BITS for download. If the BITS download fails, it will fallback to the existing download mechanism (nsIIncrementalDownload).

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:44:45 +00:00
Kirk Steuber 1b86be999a Bug 1520321 - Implement XPCOM interface for BITS r=lina
This patch introduces an asynchronous XPCOM interface for the bits client added in Bug 1523417

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:44:35 +00:00
Mark Banner d601047536 Bug 1544486 - Marktplaats WebExtension breaks search initialisation for fy-NL/nl locales. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27541

--HG--
extra : moz-landing-system : lando
2019-04-15 19:20:45 +00:00
Sam Foster 1b48ee9bf6 Bug 1538460 - Only defer handling fields for login autofill when master password is not set. r=MattN
* Use Services.(ppmm|cpmm).sharedData to make isMasterPasswordSet value available to the content process
* We don't handle runtime enable/disable of MP

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

--HG--
extra : moz-landing-system : lando
2019-04-15 18:48:03 +00:00
Aaron Klotz 9489342e23 Bug 1544493: Add ntdll to libxul OS_LIBS; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D27542

--HG--
extra : moz-landing-system : lando
2019-04-15 17:56:43 +00:00
Gijs Kruitbosch 084af41955 Bug 1544065 - fix clicking on <span> tags inside voice selector in reader mode, r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D27510

--HG--
extra : moz-landing-system : lando
2019-04-15 16:34:28 +00:00
Sam Foster 3a39f8e28a Bug 1543449 - use a minPasswordLength rather than skipEmptyFields property when collecting password fields. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D27202

--HG--
extra : moz-landing-system : lando
2019-04-15 16:34:15 +00:00
Nika Layzell 6186f66b37 Bug 1542779 - Use callback interfaces for JSWindowActor callbacks, r=jdai
This should not have any major behaviour changes, with the following exceptions:

 1. The method for receiving messages from IPC is called `receiveMessage` rather
    than `recvAsyncMessage`. This is more consistent with existing code, so
    should be OK.
 2. Exceptions will be correctly reported when thrown within a callback.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 15:49:02 +00:00
Drew Willcoxon c1f323bbe7 Bug 1541929 - Don't autofill the first result in some cases. r=mak
We need to handle autofilling the first result separately from autofilling results in general (which happens in UrlbarInput.setValueFromResult), so add a new UrlbarInput.autofillFirstResult method. The controller calls it instead of setValueFromResult. I ported the logic from nsAutoCompleteController, as described in the bug.

Other changes are related to the new test for this.

As part of this work, I was interested in learning how awesomebar handles browser_autoFill_typed.js, so I added it to the legacy tests, with a small tweak in the test for awesomebar.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 13:15:30 +00:00
Andrew McCreight 364251a66e Bug 1544002 - nsNavHistoryResult::mRefreshParticipants should participate in cycle collection. r=mak
It is an array of cycle collected objects.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 10:11:38 +00:00
Andrea Marchesini 6f470dae23 Bug 1515913 - Implement nsICookieService.removeCookiesFromRootDomain, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D27289

--HG--
extra : moz-landing-system : lando
2019-04-12 20:27:21 +00:00
Mike Conley 50caaa08a3 Bug 1543128 - Have PictureInPictureChild detect clicks on Picture-in-Picture toggle if visible. r=jaws
Depends on D26806

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:46 +00:00
Mike Conley 416db4aeac Bug 1543128 - Have PictureInPictureToggleChild set hover states on the no-controls <video> widget manually. r=jaws
Depends on D26805

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:26 +00:00
Mike Conley 559f6fe0f2 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Depends on D26804

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:09:12 +00:00
Mike Conley 32421e3690 Bug 1543128 - Add a no-controls <video> UAWidget binding to show the Picture-in-Picture toggle. r=jaws
Depends on D26803

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:52 +00:00
Mike Conley 189f9c4505 Bug 1542756 - Bug 1543128 - Add option to only return visible nodes from nsIDOMWindowUtils.nodesFromRect. r=emilio
Depends on D26778

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:08:12 +00:00
Mike Conley c0298fe7f6 Bug 1543122 - Add the simple Picture-in-Picture toggle to the <video controls/> binding, still preffed off by default. r=jaws
This also stops the PictureInPictureToggleChild from tracking videos with controls for now.

Depends on D26777

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:07:53 +00:00
Mike Conley 827f8a0905 Bug 1543122 - Add a preference for controlling whether or not we display a toggle for Picture-in-Picture on <video> elements. r=jaws
Depends on D26775

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

--HG--
extra : moz-landing-system : lando
2019-04-15 01:07:13 +00:00
Mike Conley 25829adc57 Bug 1543122 - Allow passing a static list of preference values to UAWidgets upon construction. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26775

--HG--
extra : moz-landing-system : lando
2019-04-15 01:06:54 +00:00
Aaron Klotz 1a74deabad Bug 1503538: Part 3 - Changes to NativeNt and ImportDir to allow for blocking injected static DLL dependencies; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D27145

--HG--
extra : moz-landing-system : lando
2019-04-12 19:58:01 +00:00
Dale Harvey 8078078268 Bug 1544214 - Add Yandex to list of multi locale search extensions. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27446

--HG--
extra : moz-landing-system : lando
2019-04-14 11:26:31 +00:00
Andreea Pavel c2af41dd40 Merge mozilla-central to autoland. on a CLOSED TREE 2019-04-14 00:48:34 +03:00
Andreea Pavel 0200c7c9fa Merge mozilla-inbound to mozilla-central. a=merge 2019-04-14 00:45:44 +03:00
Magnus Melin 06dab7c847 Bug 1540394 - remove tree._columnsDirty. r=vporof
Remove the tree._columnsDirty property which is causing problems for column reordering in a fresh profile.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:53:36 +00:00
Doug Thayer 2d3776cd66 Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:46:13 +00:00
Masayuki Nakano 414509fe00 Bug 1543315 - part 9: Mark nsIPresShell::FlushPendingNotifications() as MOZ_CAN_RUN_SCRIPT r=smaug
So, this patch makes all caller of it safe including its arguments unless
they come from other methods.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 12:43:57 +00:00
Coroiu Cristina 4f8d4dea29 Backed out changeset cade5cf8a0ed (bug 1543696) for browser-chrome at toolkit/components/extensions/test/browser/browser_ext_themes_warnings.js 2019-04-13 15:01:25 +03:00
Tim Nguyen 539fb76bb1 Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153

--HG--
extra : moz-landing-system : lando
2019-04-13 10:18:16 +00:00
Coroiu Cristina 5e550d2b2b Backed out changeset 1ee98a3cd8fb (bug 1543696) on request by ntim 2019-04-13 13:15:23 +03:00
Tim Nguyen c9cef3c063 Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153

--HG--
extra : moz-landing-system : lando
2019-04-13 10:07:27 +00:00
Coroiu Cristina f0a2b9f2fe Backed out changeset 7f0e02401370 (bug 1543696) for browser-chrome failures at toolkit/components/extensions/test/browser/browser_ext_themes_warnings.js 2019-04-13 12:59:58 +03:00
Tim Nguyen 46a844f04d Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153

--HG--
extra : moz-landing-system : lando
2019-04-12 19:20:47 +00:00
Coroiu Cristina 564703e75c Backed out changeset b36ee12b7088 (bug 1185000) for browser-chrome failures at toolkit/components/passwordmgr/test/browser/browser_notifications_2.js 2019-04-13 11:13:35 +03:00
Coroiu Cristina 1c8b53563a Backed out changeset a1917a9966fb (bug 1543449) for Android failures at tests/SimpleTest/SimpleTest.js 2019-04-13 08:49:46 +03:00
Csoregi Natalia 9e8043e236 Backed out 10 changesets (bug 1542756, bug 1543128, bug 1543122) for multiple media failures /test_setSinkId.html. CLOSED TREE
Backed out changeset ce3a15e1b737 (bug 1543128)
Backed out changeset cea8c1af70ad (bug 1543128)
Backed out changeset aeb23f8f45fb (bug 1543128)
Backed out changeset a2e73d143aba (bug 1543128)
Backed out changeset 1692fc6491a0 (bug 1543128)
Backed out changeset 9fbce4274cfd (bug 1542756)
Backed out changeset 20092bcebe6a (bug 1543122)
Backed out changeset 1645d577016c (bug 1543122)
Backed out changeset 3fce0b7586c1 (bug 1543122)
Backed out changeset aab68db4131b (bug 1543122)
2019-04-13 06:22:47 +03:00
Sam Foster d50c9e3e80 Bug 1543449 - use a minPasswordLength rather than skipEmptyFields property when collecting password fields. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D27202

--HG--
extra : moz-landing-system : lando
2019-04-13 01:40:08 +00:00
Mike Conley 33058a6bbd Bug 1543128 - Have PictureInPictureChild detect clicks on Picture-in-Picture toggle if visible. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26807

--HG--
extra : moz-landing-system : lando
2019-04-13 01:24:23 +00:00
Mike Conley a4cf1cd87c Bug 1543128 - Have PictureInPictureToggleChild set hover states on the no-controls <video> widget manually. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26806

--HG--
extra : moz-landing-system : lando
2019-04-13 01:24:05 +00:00
Mike Conley 326dd681a9 Bug 1543128 - Get rid of most of the AnonymousContent toggle implementation, but leave some things stubbed out for a later patch. r=jaws,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D26805

--HG--
extra : moz-landing-system : lando
2019-04-13 01:23:48 +00:00
Mike Conley d0dfdba101 Bug 1543128 - Add a no-controls <video> UAWidget binding to show the Picture-in-Picture toggle. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26804

--HG--
extra : moz-landing-system : lando
2019-04-13 01:23:35 +00:00
Mike Conley 0d5744162f Bug 1542756 - Bug 1543128 - Add option to only return visible nodes from nsIDOMWindowUtils.nodesFromRect. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D26809

--HG--
extra : moz-landing-system : lando
2019-04-13 01:22:58 +00:00
Mike Conley ab6c5e1a60 Bug 1543122 - Add the simple Picture-in-Picture toggle to the <video controls/> binding, still preffed off by default. r=jaws
This also stops the PictureInPictureToggleChild from tracking videos with controls for now.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 01:22:40 +00:00
Mike Conley ab8986d79a Bug 1543122 - Add a preference for controlling whether or not we display a toggle for Picture-in-Picture on <video> elements. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D26776

--HG--
extra : moz-landing-system : lando
2019-04-13 01:22:03 +00:00
Mike Conley b8aa3fa939 Bug 1543122 - Allow passing a static list of preference values to UAWidgets upon construction. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26775

--HG--
extra : moz-landing-system : lando
2019-04-13 01:21:45 +00:00
Masayuki Nakano 0986fb819b Bug 1542506 - Make nsDocShell use mozilla::PresShell* directly rather than nsIPresShell* r=bzbarsky
This patch makes `nsDocShell::GetPresShell()` and
`nsDocShell::GetEldestPresShell()` return `mozilla::PresShell*` and
some non-public methods use `mozilla::PresShell*` directly.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 01:03:13 +00:00
Avery Berninger a7d5749be6 Bug 1543144 - Fixed CSS for aboutTelemetry on RTL, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D27209

--HG--
extra : moz-landing-system : lando
2019-04-12 23:58:38 +00:00
Dão Gottwald a169e1ae5f Bug 1541048 - Restore margin between Landscape button and its icon in Print Preview. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D27276

--HG--
extra : moz-landing-system : lando
2019-04-12 20:54:22 +00:00
prathiksha 497abd940b Bug 1185000 - Password manager should not offer to save credit card numbers. r=jaws
Password manager should not offer to save credit card numbers in certain straight-forward cases.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 21:54:06 +00:00
Csoregi Natalia 7af4153e81 Backed out 3 changesets (bug 1536170) for xpcshell failures on test_bookmark_repair.js. CLOSED TREE
Backed out changeset e41b319d7243 (bug 1536170)
Backed out changeset 0d8c58e90773 (bug 1536170)
Backed out changeset 19c23f03b471 (bug 1536170)
2019-04-13 00:39:14 +03:00
Barret Rennie f584c090db Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:26 +00:00
Barret Rennie 27e15849d2 Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:00 +00:00
Brian Grinstead 4bfebae0ab Bug 1543834 - Migrate test_largemenu.xul to test_largemenu.html to make sure intermittent tracking on treeherder survives a rename r=bdahl
This is the intermittent bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1410000

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

--HG--
rename : toolkit/content/tests/chrome/test_largemenu.xul => toolkit/content/tests/chrome/test_largemenu.html
extra : moz-landing-system : lando
2019-04-12 16:47:58 +00:00
Brindusan Cristian da68d6846c Backed out changeset cbae72da0dc4 (bug 1540828) for mochitest failures at test_autofill_sandboxed.html. CLOSED TREE 2019-04-12 17:43:09 +03:00
monikamaheshwari 5c8bd123af Bug 1540828 checkACForm function r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D27060

--HG--
extra : moz-landing-system : lando
2019-04-12 13:48:58 +00:00
Sylvestre Ledru 7f60810d86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Ehsan Akhgari 7d6e7d5d64 Bug 1543869 - Make sure that browser_referrerDefaultPolicy passes by packaging its depenencies correctly; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27197

--HG--
extra : moz-landing-system : lando
2019-04-12 05:22:57 +00:00
Mark Banner ebd599c0cc Bug 1541924 - Enforce that BookmarkJSONUtils.importFromURL can only be used with chrome and file URLs. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D26921

--HG--
extra : moz-landing-system : lando
2019-04-12 12:34:44 +00:00
Andrea Marchesini a4a901bb22 Bug 1536411 - StoragePrincipal - part 9 - documentation, r=ckerschb,asuth
Differential Revision: https://phabricator.services.mozilla.com/D26479

--HG--
extra : moz-landing-system : lando
2019-04-12 05:29:09 +00:00
Andrea Marchesini f51a81f6d6 Bug 1536411 - StoragePrincipal - part 8 - SharedWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25790

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:19 +00:00
Andrea Marchesini ad7d593761 Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D25778

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:36 +00:00
Andrea Marchesini a2db742a8c Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:43 +00:00
Andrea Marchesini 3ec4717c70 Bug 1536411 - StoragePrincipal - part 5 - Tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24029

--HG--
rename : toolkit/components/antitracking/test/browser/head.js => toolkit/components/antitracking/test/browser/antitracking_head.js
extra : moz-landing-system : lando
2019-04-12 05:30:56 +00:00
Andrea Marchesini a438b12ebd Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24025

--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Marco Bonardo 68753b643a Bug 1543617 - Disallow place: urls in text flavors. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27048

--HG--
extra : moz-landing-system : lando
2019-04-11 14:31:03 +00:00
Gabriele Svelto 94d70e0739 Bug 1538810 - Updated breakpad's curl and musl headers r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26489

--HG--
extra : moz-landing-system : lando
2019-04-09 16:04:25 +00:00
Gabriele Svelto 430b96c517 Bug 1538810 - Update breakpad to upstream revision 4d550cceca107f36c4bc1ea1126b7d32cc50f424 r=froydnj
This includes improvements to the Linux exception handler that will provide
crash addresse for a number of signals by reading the NT_SIGINFO structure and
quites warnings in a number of files. This also removes an unused header.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 16:04:24 +00:00
Liang-Heng Chen 2cb34bb8bf Bug 1539641 - Log and report storage access granted reason; r=Ehsan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D26720

--HG--
extra : moz-landing-system : lando
2019-04-12 00:38:57 +00:00
Cosmin Sabou c64f16b342 Backed out 3 changesets (bug 1538279) for mass test failures. CLOSED TREE
Backed out changeset af07f58d18cc (bug 1538279)
Backed out changeset 508ee4cf9ea2 (bug 1538279)
Backed out changeset 6f2e7c819c11 (bug 1538279)
2019-04-12 07:47:53 +03:00
Cosmin Sabou 3e6ef756b6 Merge mozilla-central to autoland. 2019-04-12 06:48:11 +03:00
Cosmin Sabou 90efd04259 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-12 06:45:27 +03:00
Doug Thayer 13a4a8518f Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 02:17:48 +00:00
Liang-Heng Chen b8ea89ee32 Bug 1537659 - import disconnect domains list; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26683

--HG--
extra : moz-landing-system : lando
2019-04-11 22:13:09 +00:00
Dale Harvey 9bdc33dd43 Bug 1496075 - Part 3: Use webextensions in SearchServices. r=mikedeboer,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25246

--HG--
rename : browser/components/search/searchplugins/list.json => browser/components/search/extensions/list.json
rename : browser/components/search/searchplugins/images/wikipedia.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/multilocale/favicon.ico
rename : browser/components/search/searchplugins/images/google.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/special-engine/favicon.ico
extra : moz-landing-system : lando
2019-04-11 20:49:31 +00:00
Dale Harvey 81edbab4a6 Bug 1496075 - Part 2: Telemetry changes to support search extensions. r=chutten,raphael
Differential Revision: https://phabricator.services.mozilla.com/D25245

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:57 +00:00
Dale Harvey 374f6a02aa Bug 1486820 - Part 2: Add tests to ensure valid manifest. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D25381

--HG--
extra : moz-landing-system : lando
2019-04-11 20:48:22 +00:00
Shane Caraveo 964cc5ac33 Bug 1528562 support POST with 303 redirect in identity.launchWebAuthFlow r=rpl,Ehsan
nsBrowserStatusFilter is updated to not filter out STATE_IS_REDIRECTED_DOCUMENT.

The test here is adding a way to have a "login form" do a post to a server script, which then does a 303 redirect.  This mimics what some services, including LinkedIn do during this stage.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 21:26:14 +00:00
Oana Pop Rus 76651301a1 Backed out changeset acb04833e713 (bug 1500533) for assertion failure in nsHttpChannel.cpp on a CLOSED TREE 2019-04-11 23:15:08 +03:00
Noemi Erli aa44fadac3 Backed out 3 changesets (bug 1536170) for xpcshell failures in test_bookmark_duping.js CLOSED TREE
Backed out changeset 57c26f8e0bf7 (bug 1536170)
Backed out changeset ccea2e827d9d (bug 1536170)
Backed out changeset 51a67bffd7d2 (bug 1536170)
2019-04-11 23:05:24 +03:00
Cosmin Sabou af07021e88 Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Ehsan Akhgari bf2a5e6e54 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-11 18:36:16 +00:00
Michael Kaply 2ff9f81d03 Bug 1542371 - Add basic support for ExtensionSettings policy. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D26376

--HG--
extra : moz-landing-system : lando
2019-04-11 19:10:49 +00:00
Shane Caraveo a401892884 Bug 628041 refresh the install blocked panel text r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D25881

--HG--
extra : moz-landing-system : lando
2019-04-11 18:56:47 +00:00
dlee 2d7d027aab Bug 1543341 - Refine Safe Browsing log output. r=baku
After calling Lookup API per table, Safe Browsing outputs too many debug
message for a single URL lookup. Refine the current output.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 18:57:56 +00:00
Liang-Heng Chen 6b0c93a5f1 Bug 1543393 - shardIndex should not use ceil(); r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D26909

--HG--
extra : moz-landing-system : lando
2019-04-11 18:47:28 +00:00
Barret Rennie 1a53df3674 Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-11 18:40:02 +00:00
Barret Rennie e46873db47 Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 18:39:43 +00:00
Andrew Swan 4884d814ae Bug 1541577 followup: fix racy test r=me
--HG--
extra : rebase_source : d0398fbf75b9a9894e7c06defe0d616cc1ec71c7
2019-04-11 15:43:14 -07:00
Boris Zbarsky 86cc26b364 Bug 1543564 part 3. Get rid of pointless nsPIDOMWindowOuter::GetOuterWindow method. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27028

--HG--
extra : moz-landing-system : lando
2019-04-11 14:14:15 +00:00
Boris Zbarsky d0bcf72821 Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27027

--HG--
extra : moz-landing-system : lando
2019-04-11 14:12:43 +00:00
Liang-Heng Chen b100d76702 Bug 1539536 - implement content blocking measurements using prio; r=Ehsan,englehardt
randomly choose 1% users and their 0.14% page view to measure content blocking.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 22:15:07 +00:00
Andrew Swan 9a58fa2896 Bug 1539598 Require pre-install confirmation on all addons installs from outside about:addons r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26024

--HG--
extra : rebase_source : 6f67d4637ea1160031afce5307cdb522c9ecccce
extra : source : 7a05ac03465cb38ba5a798cb762ccf20a6635f23
2019-04-03 15:30:38 -07:00
Bogdan Tara 8fa5eb9862 Backed out 3 changesets (bug 1543786) for browser_storageAccessRemovalNavigateTopframe.js failures CLOSED TREE
Backed out changeset 4f63311e6f00 (bug 1543786)
Backed out changeset 757b729752e0 (bug 1543786)
Backed out changeset 6aabad91d980 (bug 1543786)
2019-04-13 05:14:11 +03:00
Ehsan Akhgari decc40afd5 Bug 1543786 follow-up: Remove a call to a non-existent function 2019-04-12 19:08:36 -04:00
Ehsan Akhgari 9409810d68 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155
2019-04-12 19:07:03 -04:00
Andrew Swan 8ba41fe60d Bug 1541577 Drop AddonInstall references when installs finish r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26013

--HG--
extra : rebase_source : 79d4ae90bb5851ecf41170b421d6f201b3abe573
2019-04-03 13:56:08 -07:00
Ciure Andrei 6d8c05133f Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-11 19:13:48 +03:00
Ciure Andrei bc3c25dece Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-11 12:57:28 +03:00
nidhi ad7be73c4a Bug 1543143 - deleted bogus selector in aboutLicense.css r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D27039

--HG--
extra : moz-landing-system : lando
2019-04-11 09:23:08 +00:00
Tim Nguyen cf0b44e062 Bug 1540387 - Allow built-in themes to use theme experiments. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25535

--HG--
extra : moz-landing-system : lando
2019-04-11 00:15:42 +00:00
Nico Grunbaum 6db783d06e Bug 1518609 - Add telemetry to legacy maxRetransmitTime DataChannel param r=jib,janerik
Adds telemetry to the DataChannel init param maxRetransmitTime.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 01:42:51 +00:00
rdalal a0d2fda5dd Bug 1543484 - Add version comparison to JEXL filter r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D26975

--HG--
extra : moz-landing-system : lando
2019-04-10 21:08:19 +00:00
Coroiu Cristina d57bd2e86b Backed out changeset 1209711b3866 (bug 1541577) for browser-chrome failures at browser/components/preferences/in-content/tests/browser_browser_languages_subdialog.js on a CLOSED TREE 2019-04-11 04:47:58 +03:00
Andrew Swan 5edcbd87a8 Bug 1541577 Drop AddonInstall references when installs finish r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26013

--HG--
extra : moz-landing-system : lando
2019-04-10 21:22:14 +00:00
dlee 1a5716aba8 Bug 1543319 - P2. Swap the byte order in-place. r=gcp
We don't need an additional array just for byte reordering, replace
it with in-place processing.

Testcase are modified because the LookupCacheV4::Build API now clears the
input parameter.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 20:53:17 +00:00
dlee 63c7548a62 Bug 1543319 - P1. Free intermediate memory as early as possible during Safe Browsing update. r=gcp
Here is the flow how prefixes are handled during an V4 update:
1. Prefixes are received from Safe Browsing update, stored in ProtocolBuffer
2. Copy the prefixes from ProtocolBuffer to TableUpdate structure
3. Prefixes in TableUpdate are merged with local prefixes (stored in LookupCacheV4)
4. Merged prefixes are processes by PrefixSet to generate the in-memory prefix
   set data structure (MakePrefixSet).

In this patch, we free the prefixes stored in TableUpdate right after step3.
This reduces the peak memory used during an update (peak happens in step 4).

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:32:54 +00:00
Coroiu Cristina 4a56b6ca02 Backed out 4 changesets (bug 1540387) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_shutdown.js on a CLOSED TREE
Backed out changeset 0f940b496e58 (bug 1540387)
Backed out changeset f8e11c0bb2a4 (bug 1540387)
Backed out changeset e3ca91d64e82 (bug 1540387)
Backed out changeset ee2913c76f4a (bug 1540387)
2019-04-11 02:57:19 +03:00
Coroiu Cristina 619127a72d Backed out changeset 6f3b93e9f07c (bug 1538460) for browser-chrome failures at toolkit/components/passwordmgr/test/browser/browser_hidden_document_autofill.js on a CLOSED TREE 2019-04-11 02:55:32 +03:00
Nick Alexander a8c9fd6a83 Bug 1542920 - Enable Marionette by default. r=froydnj
In particular, this enables Marionette in local Fennec builds, which
were the only place it wasn't enabled by default.  (Automation builds
all enabled Marionette.)  That default is getting in the way of the
Performance Team (and others!) testing GeckoView-based products
easily.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:11:17 +00:00
Hiroyuki Ikezoe 700ec53c21 Bug 1535232 - Take account the scroll-snap-margin and scroll-snap-padding into the position where we scroll to on Element.focus() call. r=masayuki,botond
We also take account those values in the case of `Find in page`.

The corresponding web platform tests will be coming from this PR.
https://github.com/web-platform-tests/wpt/pull/8575

Though some of them will not be passed, the failure reason is not related
to this change, I will take a look when the PR gets merged into mozilla-central.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:38 +00:00
Hiroyuki Ikezoe 7b600a0531 Bug 1534070 - Factor scroll-padding into the position calculation where nsIPresShell::ScrollContentIntoView() is going to scroll if necessary. r=botond
In the case where scroll-snap-type is specified for the scroll container, the
scroll-padding is also factored into in ScrollFrameHelper::ComputeScrollSnapInfo
which is called via ScrollFrameHelper::ScrollToWithOrigin.  It doesn't double
the scroll-padding value, but it's actually redundant, we should avoid it.
We could separate the functionality of ScrollToWithOrigin, one is to scroll
to a given element, the other is to scroll to a given position.  The former will
be used for Element.scrollIntoElement and relevant stuff, the latter will be
used for Element.scrollTo and relevant stuff.  That's being said, as of now, we
have still the old scroll snap implementation, so the separation will introduce
complexity, the separation should be done once after the old implementation
removed.

There are 9 call sites of nsIPresShell::ScrollContentIntoView:
  nsIPresShell::GoToAnchor
  nsIPresShell::ScrollToAnchor
  Element::ScrollIntoView
   We definitely needs scroll-padding and scroll-margin for these functions.

  nsCoreUtils::ScrollTo
   This is used for Accesible::ScrollTo which scrolls to a given accesible node,
   probably we should behave as what Element::ScrollIntoView does.

  Accessible::DispatchClickEvent
   Similar to the above, similated various mouse events on a given target node.

  PresShell::EventHandler::PrepareToUseCaretPosition
  PresShell::EventHandler::GetCurrentItemAndPositionForElement
   Both are for context menu, we shouldn't consider scroll-padding and
   scroll-margin.

  nsFormFillController::SetPopupOpen
   This is used for autocompletion popup, we shouldn't consider scroll-padding
   and scroll-margin.

  nsFocusManager::ScrollIntoView
   This is bit unfortunate, we should use scroll-padding and scroll-margin
   depending on call site of this function. Bug 1535232 is for this case.

cssom-view/scrollIntoView-scrollPadding.html which has some tests that is
actually testing scroll-padding with scrollIntoView passes with this change.

The reftest in this change is a test case that the browser navigates to an
element with specifying the anchor to the element.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:14 +00:00
Hiroyuki Ikezoe f7645a5770 Bug 1531228 - Enable the new scroll snap and disable the old scroll snap on nightly. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D22804

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:01 +00:00
Hiroyuki Ikezoe eab764a7ae Bug 1312163 - Switch to the new scroll-snap-type syntax for the old scroll snap implementation and drop the scroll-snap-type-{x,y} longhands. r=emilio
Now scroll-snap-type is a longhand property.

Depends on D21621

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:19:31 +00:00
Mike Hommey 8148056282 Bug 1543009 - Move Windows DHCP client xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26892
2019-04-11 16:23:52 +09:00
Mike Hommey 360d145ec2 Bug 1543009 - Move Windows system proxy xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26890
2019-04-11 16:22:06 +09:00
Mike Hommey 4befa68a32 Bug 1543009 - Move OSX system proxy xpcom component to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26889
2019-04-11 16:22:05 +09:00
Mike Hommey ac3c9a8844 Bug 1543009 - Move Android system proxy xpcom componen to static registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26888
2019-04-11 16:22:04 +09:00
Tim Nguyen 4b40cf8785 Bug 1540387 - Allow built-in themes to use theme experiments. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25535

--HG--
extra : moz-landing-system : lando
2019-04-10 18:11:20 +00:00
Shane Caraveo e0751ce1f4 Bug 1543204 allow builtin addons to be hidden r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D26787

--HG--
extra : moz-landing-system : lando
2019-04-10 18:07:52 +00:00
Sam Foster d51a299100 Bug 1538460 - Only defer handling fields for login autofill when master password is not set. r=MattN
* Use Services.(ppmm|cpmm).sharedData to make isMasterPasswordSet value available to the content process
* We don't handle runtime enable/disable of MP

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

--HG--
extra : moz-landing-system : lando
2019-04-10 18:27:08 +00:00
Andrea Marchesini ddda66db66 Bug 1543314 - Cookies should be sent to the content process also for first-party channels when cookieBehavior is set to 2, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26859

--HG--
extra : moz-landing-system : lando
2019-04-10 15:25:13 +00:00
Brian Grinstead 0c7558a0dd Bug 1541516 - Instrument base custom element class and print call information in the console r=aswan
If MOZ_INSTRUMENT_CUSTOM_ELEMENTS is set in the environment, then modify Custom Elements
to wrap each function and property lookup to keep a count and running time. Then print out
tables for each element at startup. Tables can be re-printed with `MozElements.printInstrumentation()`.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 17:34:43 +00:00
Tim Nguyen 922bb154e6 Bug 1506913 - Don't apply theme colors on findbar when theme has a header image. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25538

--HG--
extra : moz-landing-system : lando
2019-04-10 16:52:41 +00:00
Bogdan Tara 6460d5d8d7 Backed out changeset f38ce082341e (bug 1506913) for browser_ext_themes_findbar.js failures CLOSED TREE 2019-04-10 19:35:03 +03:00
Shane Caraveo 7df3401a58 Bug 1532165 use prefs to support extension newtab and homepage on startup. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25808

--HG--
extra : moz-landing-system : lando
2019-04-08 22:36:26 +00:00
Tim Nguyen 2facc8da36 Bug 1506913 - Don't apply theme colors on findbar when theme has a header image. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25538

--HG--
extra : moz-landing-system : lando
2019-04-10 15:07:21 +00:00
Jonathan Kingston 2b27f3c10d Bug 1479433 - Changing icons and colors for containers to be class based. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24918

--HG--
extra : moz-landing-system : lando
2019-04-10 11:19:00 +00:00
Bogdan Tara b9b45ca909 Backed out changeset 6ce615da7b68 (bug 1506913) for browser_ext_themes_findbar.js failures CLOSED TREE 2019-04-10 17:38:34 +03:00
Martin Stransky e1d04ebd15 Bug 1433685 - Remove nsGConfService, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D26484

--HG--
extra : moz-landing-system : lando
2019-04-10 10:18:14 +00:00
Tim Nguyen c45a5e3ce2 Bug 1506913 - Don't apply theme colors on findbar when theme has a header image. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25538

--HG--
extra : moz-landing-system : lando
2019-04-10 09:52:55 +00:00
Trushita 89435f2ad4 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:40:26 +00:00
Andrea Marchesini 7ebd463919 Bug 1543001 - ContentBlocking exception should cover top-level domain too, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26732

--HG--
extra : moz-landing-system : lando
2019-04-10 07:08:28 +00:00
Bogdan Tara 4f73dda990 Backed out changeset de4994d56894 (bug 1543001) on baku's request CLOSED TREE 2019-04-10 10:11:13 +03:00
Andrea Marchesini f9bbc9217b Bug 1543001 - ContentBlocking exception should cover top-level domain too, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26732

--HG--
extra : moz-landing-system : lando
2019-04-10 06:37:30 +00:00
Bogdan Tara a97e039beb Backed out changeset df1a7989c777 (bug 1543001) on baku's request CLOSED TREE 2019-04-10 09:35:01 +03:00
Andrea Marchesini 7b9433ea0f Bug 1543001 - ContentBlocking exception should cover top-level domain too, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26732

--HG--
extra : moz-landing-system : lando
2019-04-10 06:04:07 +00:00
Andrea Marchesini cb6c3424f0 Bug 1543079 - Use Window and Channel IDs instead of pointers in ContentBlockingAllowListKey, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26706

--HG--
extra : moz-landing-system : lando
2019-04-09 22:11:10 +00:00
Valentin Gosu e2ba952f6c Bug 1530303 - Add test for multiple COOP header navigations r=nika
Differential Revision: https://phabricator.services.mozilla.com/D23934

--HG--
extra : moz-landing-system : lando
2019-04-09 20:09:55 +00:00
Narcis Beleuzu e29fb0bb6d Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/new/src/actions/pause/paused.js => devtools/client/debugger/src/actions/pause/paused.js
rename : devtools/client/debugger/new/src/actions/pause/resumed.js => devtools/client/debugger/src/actions/pause/resumed.js
rename : devtools/client/debugger/new/src/actions/pause/tests/pause.spec.js => devtools/client/debugger/src/actions/pause/tests/pause.spec.js
rename : devtools/client/debugger/new/src/actions/tests/ast.spec.js => devtools/client/debugger/src/actions/tests/ast.spec.js
rename : devtools/client/debugger/new/src/actions/tests/expressions.spec.js => devtools/client/debugger/src/actions/tests/expressions.spec.js
rename : devtools/client/debugger/new/src/actions/tests/helpers/threadClient.js => devtools/client/debugger/src/actions/tests/helpers/threadClient.js
rename : devtools/client/debugger/new/src/client/firefox/commands.js => devtools/client/debugger/src/client/firefox/commands.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/test/mochitest/.eslintrc
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-columns.js => devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-columns.js
rename : devtools/client/debugger/new/test/mochitest/browser_dbg-breakpoints-cond.js => devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-cond.js
2019-04-10 01:26:00 +03:00
Narcis Beleuzu 065ab21012 Merge inbound to mozilla-central. a=merge 2019-04-10 01:09:36 +03:00
Mike Hommey d452755d02 Bug 1542996 - Remove duplicate component registration. r=kmag
Bug 1478124 and bug 1524687 converted many things to static xpcom
component registration, but somehow left the corresponding C++
initialization.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:49 +00:00
Alexander Surkov e163a0e714 Bug 1542844 - All wizards displays [Done] button from the point where they open on OS X, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D26734

--HG--
extra : moz-landing-system : lando
2019-04-09 21:16:07 +00:00
Michael Froman 0b07404bf5 Bug 1539029 - pt 1 - give RDD its own process selector. r=froydnj
Originally, RDD reused the GPU process selector since they were
using all the same services, and it reduced the number of places
that had to be touched.  Now that RDD needs pref handling, it
needs its own process selector to avoid GPU inheriting pref
handling.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:13:16 +00:00
Dave Townsend 58c5da3a73 Bug 1542716: Allow overriding the update channel that is used when generating the default profile name. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26632

--HG--
extra : moz-landing-system : lando
2019-04-09 18:38:17 +00:00
Andreas Tolfsen a697e45782 bug 1542861: browser, toolkit: fix remote agent packaging; r=firefox-build-system-reviewers,mshal
The RemoteAgent.js script has (temporarily) changed name to
remote/command-line-handler.js, and the chrome component remote.jar
was not included during packaging.  This patch fixes both these things.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:33:19 +00:00
Ryan VanderMeulen 654fc0c672 Bug 1542735 - Don't try to build TestUCRTDepends if tests are disabled. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26501

--HG--
extra : moz-landing-system : lando
2019-04-09 18:46:49 +00:00
Nathan Froyd a18df6e1a4 Bug 524410 - part 5 - merge adjacent line records where possible; r=gsvelto
After replacing precise line information from .debug_line with coarse
line information from DW_AT_call_{file,line}, it's very likely that
adjacent line records actually refer to identical file and line
numbers.  Such adjacent records are not really useful and take up more
space than they should in the symbol file.  We might as well merge them
and save ourselves some space.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:10 +00:00
Nathan Froyd 0bc682f0a1 Bug 524410 - part 4 - look through lexical block DIEs where appropriate; r=gsvelto
DW_TAG_subprogram DIEs sometimes have child DW_TAG_lexical_block DIEs
which in turn contain child DW_TAG_inlined_subroutine DIEs that we woud
like to look at.  If we skip the DW_TAG_inlined_subroutine DIEs, we miss
important information.  We therefore need to look through the
DW_TAG_lexical_block DIEs to find the DIEs that we are interested in.

Depends on D25471

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:10 +00:00
Nathan Froyd 9deb471fc5 Bug 524410 - part 3 - replace line information for inlined functions; r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25471

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Nathan Froyd 52be053c0b Bug 524410 - part 2 - parse DW_TAG_inlined_subroutine DIEs; r=gsvelto
We record the file and line that these subroutines were inlined from.
We'll use that information to provide more coarse-grained line
information in the next patch.

Depends on D25469

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Nathan Froyd d648debc54 Bug 524410 - part 1 - extract file information out of .debug_line parsing; r=gsvelto
The DW_AT_call_file attributes that we eventually want to parse from
DW_TAG_inlined_subroutine DIEs refer to the file name table stored in
the .debug_line section.  To resolve those DW_AT_call_file attributes,
we need access to that table after parsing of the appropriate
.debug_line bits is done.  This patch adds support for extracting that
information from the .debug_line parsing process.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Lina Cambridge 9e950e825b Bug 1542990 - Use "Toolkit :: Storage" for kvstore bugs. DONTBUILD r=mak,myk
Differential Revision: https://phabricator.services.mozilla.com/D26657

--HG--
extra : moz-landing-system : lando
2019-04-09 18:11:57 +00:00
Chris H-C b5cb77c347 Bug 1539257 - Show Origin Telemetry in about:telemetry l10n-r?flod r=janerik,flod
Differential Revision: https://phabricator.services.mozilla.com/D26715

--HG--
extra : moz-landing-system : lando
2019-04-09 16:53:09 +00:00
Vijay Budhram cc01c2ca14 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225

--HG--
extra : moz-landing-system : lando
2019-04-09 13:30:59 +00:00
Marco Bonardo 06d433199e Bug 1541399 - Ensure we don't fetch search suggestions for file urls. r=adw
Fixes the tokenizer to recognize file:/// urls, plus adds a second layer of
protection, so that if URI fixup thinks the typed string may be an url, we don't
fetch suggestions for it.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 23:50:21 +00:00
Mike Hommey 071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.

Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.

Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.

Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
Myk Melez 8921690f26 Bug 1542888 - avoid Rkv::Manager call to std::fs::canonicalize r=lina
Avoid using Rkv::Manager, which calls std::fs::canonicalize, triggering bug 1531887 in Firefox on Android.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 03:57:18 +00:00