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

646084 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo 622ce7af9e Bug 1516056 - Add a mochitest. r=kats
Depends on D20281

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

--HG--
extra : moz-landing-system : lando
2019-04-08 23:35:11 +00:00
Botond Ballo 633322283d Bug 1516056 - Call GetLayoutScrollRange() instead of GetVisualScrollRange() when we are using the scroll range to clamp the layout scroll position. r=kats
Depends on D20280

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

--HG--
extra : moz-landing-system : lando
2019-04-08 23:35:02 +00:00
Botond Ballo 8095c8e25d Bug 1516056 - Rename ScrollFrameHelper::GetScrollRangeForClamping() to GetVisualScrollRange(). r=kats
Depends on D20279

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

--HG--
extra : moz-landing-system : lando
2019-04-08 23:34:52 +00:00
Botond Ballo d79e2f5b64 Bug 1516056 - Rename ScrollFrameHelper::GetScrollRange() to GetLayoutScrollRange(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D20279

--HG--
extra : moz-landing-system : lando
2019-04-08 23:34:43 +00:00
Tom Ritter e0934a52d0 Bug 1540907 - Bump MinGW version to pick up MFVideoTransferMatrix constants r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26530

--HG--
extra : moz-landing-system : lando
2019-04-08 19:14:03 +00:00
Frederik Braun 49337094ec Bug 1513445: add tests r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D19351

--HG--
extra : moz-landing-system : lando
2019-04-08 14:58:27 +00:00
Frederik Braun 9252b11f49 Bug 1513445 - Disallow web documents loaded with the SystemPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D19350

--HG--
extra : moz-landing-system : lando
2019-04-08 14:58:20 +00:00
Mike Hommey b22d57ac74 Bug 1541821 - Update debian7 docker images for CVE-2019-3462. r=tomprince
This imports the changes from wheezy-lts (http://deb.freexian.com/extended-lts/)
and creates a package we install in the debian7-based images (with a
modified version number to work around bug #1419577.

This leaves out debian7-raw and debian7-packages as unpatched, because
of the chicken-and-egg problem.

Depends on D26100

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

--HG--
extra : moz-landing-system : lando
2019-04-04 16:23:58 +00:00
Mike Hommey 79886b9b57 Bug 1541821 - Ensure docker images using setup_packages.sh are up-to-date wrt the packages provided there. r=tomprince
When docker images use setup_packages.sh, they add apt sources. While we
currently do run apt-get update to pick those new sources, if a package
provided by them is already installed and not explicitly listed in
subsequent apt-get install, they're not going to be upgraded.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 22:16:01 +00:00
Noemi Erli 18a982b872 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-07 00:47:23 +03:00
Noemi Erli 77e5bc7c09 Merge inbound to mozilla-central. a=merge 2019-04-07 00:44:56 +03:00
Cosmin Sabou 2174454bff Backed out changeset 7e40ec0c948d (bug 1523741) for telemetry failures on aboutTelemetry.homeSection. 2019-04-06 20:44:55 +03:00
Brian Hackett a278b7606d Bug 1535362 - Add a Context object for rejecting out of date client operations, r=loganfsmyth.
--HG--
extra : rebase_source : 157eceedb2ff8df3b4217d3821d98ed2a9f6dc3f
2019-04-05 16:49:33 -10:00
Andreea Pavel 96151ddf1e Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2019-04-06 14:08:51 +03:00
Andreea Pavel 4146c75e78 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-06 13:58:33 +03:00
Razvan Maries 782c1800ed Backed out changeset ac130652ae81 (bug 1541147) for Gecko Decision Task bustages. CLOSED TREE 2019-04-06 10:23:16 +03:00
Andi-Bogdan Postelnicu b8099454fc Bug 1541147 - [Coverity] Create a try job that performs coverity static-analysis for patches. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D26145

--HG--
extra : moz-landing-system : lando
2019-04-06 06:32:16 +00:00
Jeff Walden 962996a366 Bug 1506902 - Minor syntactic adjustments to gdb/tests/test-asmjs.cpp, extracted from broader changes related to UTF-8 parsing. r=jandem
--HG--
extra : rebase_source : 9e8840b272b5624e0b67644c6cf9b850905b967b
2019-04-05 19:18:03 -07:00
Avery Berninger 09dac60807 Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-06 00:54:52 +00:00
Felipe Gomes 0991a67ee9 Bug 1505322 - Display a breakdown of remote processes in about:support. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D26015

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:47 +00:00
Robin Templeton d01798a2b1 Bug 1541873 - Conditionally disable Big(U)Int64Array constructors. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D26391

--HG--
extra : moz-landing-system : lando
2019-04-06 11:26:26 +00:00
Andrew McCreight 90abea1653 Bug 1540301, part 5 - Replace instances of nsXPCWrappedJSClass with nsXPTInterfaceInfo. r=bzbarsky
nsXPCWrappedJSClass now only adds indirections and dynamic
allocations, so eliminate it. The class is kept around as a collection
of static helper functions to avoid needing to move around all of this
code and messing with history. In total, these patches save around 2kb
of dynamic allocations per process.

The major parts of this patch are:
* Dropping indirection for accessing things on nsXPTInterfaceInfo and
  renaming things from class to info.
* Removing the stuff related to instances of nsXPCWrappedJSClass
  existing (ctor, dtor, field, ISupports implementation, getter methods).
* Removing IID2WrappedJSClassMap, because we only need the map from IIDs
  to info.

I dropped the null check in TraverseNative because mInfo is never
cleared, while mClass was.

I dropped the forward declaration of nsXPCWrappedJSClass because no
instances of that class exist, so no function will take or return a
pointer to one.

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

--HG--
extra : moz-landing-system : lando
2019-04-06 12:57:02 +00:00
Andrew McCreight 8f23fc71ea Bug 1540301, part 4 - Make nsXPCWrappedJSClass::DebugDump into an infallible static method. r=bzbarsky
Ultimately, this method is really about dumping XPConnect-ish
information about an nsXPTInterfaceInfo, so change it into a static
method that takes an info directly. This loses logging of the
nsXPCWrappedJSClass's ref count, but that is going away in the next
patch anyways.

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

--HG--
extra : moz-landing-system : lando
2019-04-06 12:57:00 +00:00
Andrew McCreight 2ea25a6e9f Bug 1540301, part 3 - Eliminate nsIXPCWrappedJSClass. r=bzbarsky
This interface serves no real purpose, aside from some weird XPConnect
debugging function. If you are in a debugger already, you can just
call the nsXPCWrappedJSClass DebugDump method directly.

For now, I changed nsXPCWrappedJSClass to just implement nsISupports,
but this will go away later.

I also devirtualized DebugDump(), because it is no longer an XPCOM
method.

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

--HG--
extra : moz-landing-system : lando
2019-04-06 12:56:53 +00:00
Andrew McCreight d320f01e48 Bug 1540301, part 2 - Make nsXPCWrappedJSClass::CallMethod() into a static method. r=bzbarsky
The first idea here is that |this| is actually the GetClass() of the
|wrapper| argument (the one call site looks like
"GetClass()->CallMethod(this, ...)"), so we can locally reconstruct it
when CallMethod is a static method.

The second idea here is that the only real use of the
nsXPCWrappedJSClass is to grab some data from the nsXPTInterfaceInfo
in a few places. This means that we can take a pointer to the info
early on in the function and use that rather than go through the
nsXPCWrappedJSClass. This in turn means that because the info is
statically allocated we no longer need to do a kungFuDeathGrip on the
wrapper's nsXPCWrappedJSClass.

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

--HG--
extra : moz-landing-system : lando
2019-04-06 12:56:51 +00:00
Andrew McCreight 5d994e0f0e Bug 1540301, part 1 - Make trivially static nsXPCWrappedJSClass methods static. r=bzbarsky
There are a number of nsXPCWrappedJSClass methods that don't use any
data from |this|, so go ahead and make them static. This is one step
towards eliminating nsXPCWrappedJSClass entirely.

In addition, devirtualize a few methods, because they are going to
have to get devirtualized anyways, and there's no need for them to be
virtual.

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

--HG--
extra : moz-landing-system : lando
2019-04-06 12:56:49 +00:00
Masayuki Nakano e8446480e1 Bug 1542407 - Make nsIFrame use mozilla::PresShell directly rather than via nsIPresShell r=emilio
Except retrieving from weak reference, `nsIFrame` should treat
`mozilla::PresShell` directly rather than via `nsIPresShell`.

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

--HG--
extra : moz-landing-system : lando
2019-04-06 06:02:28 +00:00
Andreea Pavel c02002134d Merge mozilla-central to autoland on a CLOSED TREE 2019-04-06 14:06:42 +03:00
Liang-Heng Chen 3ad02f2b09 Bug 1541238 - add pref to delay 3rd-party tracker; r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D26266

--HG--
extra : moz-landing-system : lando
2019-04-05 16:30:08 +00:00
Bas Schouten d3803cedc6 Bug 1538666: Fix typo in PathCapture::TransformedCopyToBuilder. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D26335

--HG--
extra : rebase_source : 82cf8458d06c98de595afa6656a4712957ece96f
2019-04-05 17:59:17 +02:00
shindli bd30279387 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-04-06 00:53:02 +03:00
shindli d1f516dbfc Merge inbound to mozilla-central. a=merge 2019-04-06 00:48:45 +03:00
Ehsan Akhgari 9d957462b6 Bug 1533584 - Part 2: Make sure browser_storage_listings.js does not depend on the value of the privacy.documentCookies.maxage pref
Landed on a CLOSED TREE

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

--HG--
extra : moz-landing-system : lando
2019-04-05 18:16:06 +00:00
Tom Prince d5579312ae Bug 1533589: [win64-aarch64] Simplify logic about unpacking builds in update-verify; r=sfraser
We always pass in the platform formated as an update platform. Since the only
variation in formats is between major platforms, be liberal in parsing
platforms, when selecting which unpack logic to use. This makes win64-aarch64
support fall out automatically.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 17:24:51 +00:00
Tom Prince 643f3c95e1 Bug 1541122: [try-staging] Don't restrict the branch that cron-bouncer-check runs on; r=mtabara
We only run the cron job on release branches, so it will only get scheduled
there. By not otherwise restricting the job, it makes it easier to test the
cron job on other branches (like try).

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

--HG--
extra : moz-landing-system : lando
2019-04-05 17:24:53 +00:00
Jan Varga 8651b25d09 Bug 1542154 - Add MOZ_DIAGNOSTIC_ALWAYS_TRUE; r=froydnj 2019-04-05 16:44:49 +02:00
Mihai Tabara 74bc165df0 Bug 1538703 - roll-out declarative artifacts in Firefox. r=sfraser a=release 2019-04-05 19:30:11 +03:00
Bogdan Tara 54e080aa1e Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-05 19:22:45 +03:00
Bogdan Tara 621ec01c2c Merge inbound to mozilla-central. a=merge 2019-04-05 19:18:43 +03:00
Julian Seward 1740813ffe Bug 1532974 - wasm baseline compiler: increase some Vector inline-capacity sizes. r=lhansen.
Profiling with DHAT of wasm baseline compiling the Tanks demo shows some
opportunities for reducing the amount of heap allocation, by modestly
increasing the inline-capacity values for a few Vector types.

Compiling the Tanks demo on x86_64-linux, this patch reduces the number of
allocated blocks by around 12000, whilst increasing neither the total
allocated bytes nor the dynamic instruction count.
2019-04-05 17:25:28 +02:00
Narcis Beleuzu b9035f026e Bug 1540829 - Disable test on all platforms r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D26261

--HG--
extra : moz-landing-system : lando
2019-04-05 10:27:10 +00:00
Andrew McCreight 184afc9483 Bug 1541684, part 4 - Remove nsXPCWrappedJSClass:mDescriptors. r=nika
This field now just caches the IsReflectable() field from the method
info, so get rid of it.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 23:48:20 +00:00
Andrew McCreight 8f597c742f Bug 1541684, part 3 - Statically compute if a method is reflectable. r=nika
XPCConvert::IsMethodReflectable() is derived entirely from
nsXPTMethodInfo, so we can compute it at build time and include it in
nsXPTMethodInfo. It is the only use of mNotXPCOM and mHidden, so we
can get rid of those fields at the same time.

This paves the way for getting rid of XPCWrappedJSClass::mDescriptors
in the next patch.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 23:48:18 +00:00
Andrew McCreight a8dbd5d65f Bug 1541684, part 2 - Remove nsXPCWrappedJSClass::mIID. r=nika
This is already stored on mInfo.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 23:48:11 +00:00
Andrew McCreight c1d8f269ef Bug 1541684, part 1 - Remove XPCWrappedJSClass::mRuntime. r=bzbarsky
There is only a single XPC JS runtime now, so there's no need to keep a
special pointer around.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 23:48:09 +00:00
Mike Hommey c8b0debcc0 Bug 1541755 - Remove NSMODULE_DEFN in TestPACMan.cpp. r=mayhemer
The module is manually registered through the component manager in
the gtest setup anyways.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 11:29:05 +00:00
Jeff Walden b2ffd2f110 Bug 1542106 - Cache the last (line number, offset => column) mapping returned and use it to optimize a subsequent lookup that's further along in the same line. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26270

--HG--
extra : moz-landing-system : lando
2019-04-05 22:56:12 +00:00
Jeff Walden 5327fe7f3e Bug 1542120 - Add js/public/Warnings.h for warning-related JSAPI. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D26273

--HG--
rename : js/src/jsapi.h => js/public/Warnings.h
extra : moz-landing-system : lando
2019-04-05 22:52:04 +00:00
Mike Hommey 512a56bf3c Bug 1529774 - Upgrade builders to rust 1.33. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24830

--HG--
extra : moz-landing-system : lando
2019-04-05 22:20:25 +00:00
Mike Hommey 892f9bc28b Bug 1529774 - Disable test_profile_worker* on ARM Android. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D25893

--HG--
extra : moz-landing-system : lando
2019-04-05 16:26:43 +00:00