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

592728 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 17554348ca Bug 1363925: Part 7c - Turn on valid-jsdoc rule for XPIProviderUtils.js. r=me,npotb
MozReview-Commit-ID: ENdbZ8dicVX

--HG--
extra : rebase_source : 5b87da8abd55ed49d2b03c686545ad4cbacb09c6
extra : histedit_source : 098718bfd845fcc1b3bfff4aecafcdf1d84a82c3
2018-04-22 14:05:17 -07:00
Kris Maglione fdcc021e51 Bug 1363925: Part 7b - Turn on valid-jsdoc rule for XPIProvider.jsm. r=me,npotb
MozReview-Commit-ID: BQ6N84B2pC3

--HG--
extra : rebase_source : 04b9d4f3331d0de1ef8225b56e0f069265d7d4f4
extra : histedit_source : 287ad8e3c17f19cc7d140fed4f4ef5f4a36a0dc9
2018-04-21 20:51:52 -07:00
Kris Maglione 65b6ddb7e2 Bug 1363925: Part 7a - Turn on valid-jsdoc rule for XPIInstall.jsm. r=me,npotb
MozReview-Commit-ID: Ch1NaeLAxtJ

--HG--
extra : rebase_source : 26ebeec5db42c7ed27bb536cbfb81c41983cb1cc
extra : histedit_source : 4764ba7f0c7239fdca1fb2540e1e92ed07a4569f
2018-04-21 20:28:19 -07:00
Kris Maglione d099436c30 Bug 1363925: Part 6 - Move staged add-on install logic to XPIInstall. r=aswan
MozReview-Commit-ID: IDXsbKvl5U3

--HG--
extra : rebase_source : a17fb46c989f05c4519b9bce380d89eaca118edd
extra : histedit_source : e3065c8f52311f67eefdb51b13abe26bbba9adaf
2018-04-21 19:47:16 -07:00
Kris Maglione 58a8659f77 Bug 1363925: Part 4 - Move XPIProvider install methods to XPIInstall. r=aswan
MozReview-Commit-ID: DiPA01emGA9

--HG--
extra : rebase_source : e7e755c7ced75b2d884e85349989326d57cdd533
extra : histedit_source : e1227a92de4edbb1994c4f8981d4fc7ec46a637e
2018-04-21 19:06:44 -07:00
Kris Maglione 33ff77dabf Bug 1363925: Part 3 - Move more install logic from XPIProvider to XPIInstall. r=aswan
MozReview-Commit-ID: 87PXV43Lpn9

--HG--
extra : rebase_source : dfc38cfb001455243449d7fe0da7f9294e88c8c2
extra : histedit_source : 6e561d0601dcca8da34c926b72e65a126bd40572
2018-04-21 18:29:33 -07:00
Kris Maglione beeee1a023 Bug 1363925: Part 2 - Support inferring array length from typed arrays. r=mccr8
MozReview-Commit-ID: FI5ggNE68v7

--HG--
extra : rebase_source : ed20f55c5497486863b89c5b6f6f342c7d938d6a
extra : histedit_source : 99c7eee864fd45fdea64f48a1d056e467ad2f56d
2018-04-21 18:04:22 -07:00
Kris Maglione e115a440b6 Bug 1456291: Avoid loading the blocklist service before UI is interactive. r=Gijs
The TelemetryEnvironment initialization process currently forces a load and
initialization of the blocklist service only to check its isLoaded flag. This
adds measurable overhead to startup, and without those checks, the service
would not be initialized until after first paint.

We should defer even checking whether the blocklist is loaded until after
startup has finished.

MozReview-Commit-ID: 73c4o5oVqze

--HG--
extra : rebase_source : f97ad4e9f2c96668b4418a1c7fb47a07bc798da7
extra : amend_source : 874240858529280e88f960e40920f009ccccfcbc
2018-04-23 15:03:00 -07:00
Kris Maglione 86b3ec9863 Bug 1372694: Part 2 - Remove support for registering non-bootstrapped extension chrome. r=aswan
MozReview-Commit-ID: FpTfAHWpTnt

--HG--
extra : rebase_source : 0a22166f56a6316957b372f1f45b20822df0d784
extra : amend_source : 0a0d30a995fc032672cf5283627c55b3c26955ac
2018-04-20 17:00:29 -07:00
Tim Nguyen 92c9a958e1 Bug 1372694 - Stop making the default theme a heavyweight theme. r=kmag,aswan
MozReview-Commit-ID: 30wMauuc9oo

--HG--
rename : browser/base/content/default-theme-icon.svg => toolkit/mozapps/extensions/content/default-theme-icon.svg
extra : rebase_source : 5e4cf784135f4a8e40a2ed8357ba651e7fce9728
2018-04-01 13:53:31 +02:00
Paul Bone ba14455b5f Bug 1443396 - Use colours that contrast well on about:memory r=jaws,snorp
The about:memory page specified some colours using constants and others
using variables whose values can change.  If those variables changed, for
example due to the desktop toolkit using a dark theme, then it could create
poor contrast with the constants in these CSS files (desktop & mobile).

This change ensures that only the Mozilla system colour extensions and
Mozilla colour preference extensions colours are used.  Creating
fore/back-ground combinations that hopefully contrast well regardless of the
desktop theme.

--HG--
extra : rebase_source : f916aac0bb07c3a75ab45ece3fd58d1cdcf8bf46
extra : source : a78bc7ff3de5a0ea4aea060731253fed63a59d00
2018-04-23 12:40:09 +10:00
Lee Salzman d8e6c45ef2 Bug 1448703 - clear blob image resources from clear_namespace hook. r=jrmuizel
MozReview-Commit-ID: 8DinL2bE64O
2018-04-23 21:46:55 -04:00
Ciure Andrei 1940af33ec Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-24 04:29:20 +03:00
Steve Fink 02245c0bd2 Bug 1400153 - Stop using PodZero to initialize TimeStamps, r=nfroyd
--HG--
extra : rebase_source : 9d14b89f7baaf87c813de2810956bd0ba6db0a71
2018-04-23 17:35:20 -07:00
Tom Prince 0de4a5fd3d Bug 1455448: Don't include `firefox` in the decision task index; r=dustin,mshal,rail,Callek a=release
The decision task is used for everything built as part of a push (for
mozilla-central, this is firefox, devedition and fennec, as well as tasks that
aren't strictly part of any product). Thus, having `firefox` encoded as part of
the decision task doesn't make sense.

This changes the route from
    index.gecko.v2.${repository.project}.latest.firefox.decision
to
    index.gecko.v2.${repository.project}.latest.taskgraph.decision
while leaving the latter for backwards compatability with tools that expect it.

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

--HG--
extra : rebase_source : c4c4691bb4633225e5e37b21982b916f76353e27
extra : source : 6ef1607a3e63250eefbda5333d61fd338c23311d
2018-04-19 15:32:02 -06:00
Ciure Andrei 33e644e1da Merge inbound to mozilla-central. a=merge 2018-04-24 04:14:21 +03:00
Miko Mynttinen 6606aea17f Bug 1454653 - Do not skip transparent items in ContainerState::FindOpaqueBackgroundColorInLayer() r=mattwoodrow
MozReview-Commit-ID: NGnL8r9x0U

--HG--
extra : rebase_source : d782eae5bcb8873eff7ccf564c48067cfb97ff2b
2018-04-23 17:33:16 +02:00
Jeff Muizelaar b80a5b938a Bug 1455488. Blend modes are container items. r=mstange
BLEND_MODE and BLEND_CONTAINER wrap items so their bounds can change.
We need to account for that like we do with OPACTIY etc.

--HG--
extra : rebase_source : fbd2d79eaad5c7347335416d369c8cae37aad447
2018-04-23 17:38:38 -04:00
Gregory Szorc 8f5adf5328 Bug 1455708 - Find Python 3 in MozillaBuild, require Python 3 everywhere; r=mshal
We previously did not require Python 3.5+ everywhere because we failed
to detect Python 3.5 on Windows in CI. That's because CI isn't using
start-shell.bat and it hasn't yet updated PATH to include
%MOZILLABUILD%\python3.

We shouldn't need to teach CI to have PATH contain everything in
MozillaBuild. This commit teaches moz.configure to automatically use
MozillaBuild's Python 3 if we're running in MozillaBuild.

Since we can now detect Python 3 everywhere in CI, we make Python 3.5+
required on all build configurations.

MozReview-Commit-ID: BwgWGeYMyPM

--HG--
extra : rebase_source : b52f604b01c73b0493b142f3f71aa26c99a42b91
2018-04-20 12:44:05 -07:00
Aaron Klotz 1244a64ac7 Bug 1455110: Replace RegOpenKeyEx/RegQueryValueEx with RegGetValue; r=jimm 2018-04-18 14:52:02 -06:00
Bogdan Tara 839cc5dd48 Backed out 4 changesets (bug 1437551) for build bustages on Android /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java a=backout CLOSED TREE
Backed out changeset 781457239e63 (bug 1437551)
Backed out changeset 2f30bed54236 (bug 1437551)
Backed out changeset 6badc13e1d21 (bug 1437551)
Backed out changeset 5582b64d4a8b (bug 1437551)
2018-04-24 01:27:50 +03:00
Eugen Sawin bca9b0ee59 Bug 1437551 - Rebase on bug 1441810. r=me CLOSED TREE 2018-04-23 23:31:06 +02:00
Eugen Sawin aeda0a9513 Bug 1437551 - [3.2] Move generic callback out of GeckoSession. r=snorp,jchen CLOSED TREE 2018-04-23 23:22:05 +02:00
Eugen Sawin 3aa42d1204 Bug 1437551 - [2.6] Add GeckoRuntime telemetry API backend. r=jchen,Dexter CLOSED TREE 2018-04-23 23:21:50 +02:00
Eugen Sawin 94293a2cda Bug 1437551 - [1.4] Add GeckoRuntime telemetry API. r=snorp,jchen CLOSED TREE 2018-04-23 23:21:40 +02:00
Bogdan Tara a95b957c7e Backed out 2 changesets (bug 1437551) for build bustages on Android /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java a=backout CLOSED TREE
Backed out changeset 4b780b06d2eb (bug 1437551)
Backed out changeset a401bb9e1aa4 (bug 1437551)
2018-04-23 23:50:55 +03:00
J.C. Jones 40898591b9 Bug 1432181 - Revert spurious npm-shrinkwrap.json changes r=me CLOSED TREE
npm-shrinkwrap.json got updated spuriously in pushing ec5e58165939 [1], which
should not have happened. This reverts that spurious change to go back to
sha-512 hashes.

[1] https://hg.mozilla.org/integration/mozilla-inbound/rev/ec5e58165939

--HG--
extra : amend_source : 2a21f05ff8bafd8ccd57e69acf81988455822aef
2018-04-23 22:18:02 +02:00
Dylan Roeh 642ee0c289 Bug 1441810 - Add GeckoSession.SavedState and session save/restore API to GeckoSession r=snorp,jchen 2018-04-23 14:28:52 -05:00
Dylan Roeh a485989fee Bug 1441810 - Add session save/restore code to GeckoViewContent r=snorp,jchen 2018-04-17 14:13:10 -05:00
Tom Prince 0822363bfa Bug 1456175: [mozharness] Remove unreferenced `enable_signing` config; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D1014

--HG--
extra : source : 8c1bb61b86d6678b9109bff0f659b1bb4c98442b
extra : amend_source : c6f1f2e7414f232e1eee57d7bd62fde9d79212b3
2018-04-20 14:51:33 -06:00
Ted Campbell bc92875c3e Bug 1448563 - Fix ASAN bustage in Part 2. r=me CLOSED TREE
LazyLink IonBuilders should use non-inclusive size.

MozReview-Commit-ID: IaaH4seekY0
2018-04-23 15:34:25 -04:00
Bogdan Tara 4c7cab3490 Backed out changeset 45ba3fb2d9cc (bug 1437551) for build bustages on Android /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java a=backout CLOSED TREE 2018-04-23 22:26:58 +03:00
Bogdan Tara b644004031 Backed out changeset 97dbd15798f9 (bug 1448563) for bad-malloc_usable_size /builds/worker/workspace/moz-toolchain/src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc a=backout CLOSED TREE 2018-04-23 22:23:01 +03:00
Eugen Sawin 31f7c96bf3 Bug 1437551 - Fix eslint error on CLOSED TREE. r=me 2018-04-23 21:08:09 +02:00
Emilio Cobos Álvarez 158c258b7e Bug 1426516: Remove Valgrind workaround to make ::slotted use the rule hash. r=me
MozReview-Commit-ID: 2q14kHjajIr
2018-04-23 20:37:11 +02:00
Dão Gottwald 1dd6ba95b7 Bug 1410591 - Focus the content area when restoring the selected tab. r=mikedeboer 2018-04-23 19:13:58 +02:00
Kartikaya Gupta 328eb34d1e Bug 1411144 - Temporarily disable a high-frequency intermittent failure for webrender. r=me 2018-04-23 14:15:06 -04:00
Nathan Froyd 53f1900f29 Bug 1451363 - part 6 - move GetIPCChannel into ProtocolState; r=mccr8
We can move this information into ProtocolState and save having two
virtual functions for every protocol.  Moving some bits out of the
codegen'd IPC code is a nice bonus, though we keep the strange setup
where toplevel protocols have two mChannel member variables.
2018-04-23 14:13:36 -04:00
Nathan Froyd dbc53de3d9 Bug 1451363 - part 5 - remove ProtocolName virtual function; r=mccr8
ProtocolName() is only used for producing error messages and annotating
crash reports.  But examining actual crash reports that would have used
the result of ProtocolName() indicates that we can always tell what the
erroring protocol is due to the stack backtrace.  So having this virtual
function around just provides duplicate information, and it takes up too
much space in the vtable besides.  Let's get rid of it.
2018-04-23 14:13:36 -04:00
Nathan Froyd e77f1868f1 Bug 1451363 - part 4 - consolidate generated code into IProtocol; r=mccr8
lower.py generates repetitious:

  SetManager(...);
  Register(...); // Or RegisterID.
  SetIPCChannel(...);

calls, which are moderately sized, given that the above call sequence
requires virtual calls in several places.  Instead of codegenning this
sequence, let's consolidate the sequence into IProtocol and change the
code generator to call into the consolidated function instead.
2018-04-23 14:13:37 -04:00
Nathan Froyd 9eac324691 Bug 1451363 - part 3 - make OnChannelReceivedMessage defined in early beta only; r=mccr8
This function is only overriden in two places, both of which go away
after early beta is done.  We shouldn't be paying for its vtable entry
after that point.
2018-04-23 14:13:37 -04:00
Nathan Froyd 7b8c73c090 Bug 1451363 - part 2b - move protocol event target access into ProtocolState; r=mccr8
The reasoning here is the same as for the protocol register/lookup
functions: these functions are all basic functionality that should not
be overriden by subclasses.
2018-04-23 14:13:37 -04:00
Nathan Froyd 8196fc2720 Bug 1451363 - part 2a - move protocol register/lookup functions into ProtocolState; r=mccr8
This functionality is base functionality for top-level and non-toplevel
protocols; nobody overrides this stuff, so it's safe to move into
ProtocolState.
2018-04-23 14:13:37 -04:00
Nathan Froyd a796a8f982 Bug 1451363 - part 1 - move Shmem-related IProtocol interfaces into an intermediate State class; r=mccr8
IProtocol, which is inherited by every generated IPDL protocol and every
concrete protocol implementation in-tree, has a number of virtual
methods that are only relevant when distinguishing between top-level
protocols (IToplevelProtocol) and managed protocols (everything else).
These virtual methods require pointers in every protocol's vtable, which
is wasteful, and it's also somewhat confusing that many methods exist
but don't really need to be overridable in any useful way.

Let's clean this up, by creating a ProtocolState class to hold methods
that solely differ between top-level protocols and everything else.
This commit does that work and moves Shmem-related methods into this
class as a proof that this can be done in a reasonable way.
2018-04-23 14:13:37 -04:00
David Major 5b7eb8380c Bug 1456192 - make {Read,Write}IPDLParam MOZ_NEVER_INLINE; r=froydnj
MSVC's PGO inliner thinks these functions are hot enough to be inlined,
but they're really not, and inlining them bloats xul.dll quite a bit.
2018-04-23 14:13:37 -04:00
David Major 4ed8d6a022 Bug 1456192 - make Pickle::ReadSentinel MOZ_NEVER_INLINE; r=froydnj
This function is just pure bloat when it gets inlined, and it will
disappear on non-Nightly builds anyway.  Make it MOZ_NEVER_INLINE so our
size statistics on Nightly are somewhat more reflective of our size
statistics on Release.
2018-04-23 14:13:37 -04:00
Eugen Sawin a443c8b358 Bug 1437551 - [3.1] Move generic callback out of GeckoSession. r=snorp,jchen 2018-04-23 20:04:00 +02:00
Eugen Sawin 6cec4c4563 Bug 1437551 - [2.5] Add GeckoRuntime telemetry API backend. r=jchen,Dexter 2018-04-23 20:04:00 +02:00
Eugen Sawin 5e2616d631 Bug 1437551 - [1.3] Add GeckoRuntime telemetry API. r=snorp,jchen 2018-04-23 20:04:00 +02:00
Ted Campbell 7baaa3f753 Bug 1448563 - Part 6: Add memory reporting for off-thread WASM. r=luke
MozReview-Commit-ID: 1lXRj1JUJk2
2018-04-23 13:57:50 -04:00