Commit Graph

598228 Commits

Author SHA1 Message Date
Christian Holler
570031d38c Bug 1464202 - Improve and centralize libFuzzer flag management. r=froydnj
MozReview-Commit-ID: HFrQDAZWtpo

--HG--
extra : rebase_source : ab1da001d7e9280fbfb37858505f1d0d0caf7d54
2018-05-24 21:11:46 +02:00
Kirk Steuber
e4bec62788 Bug 1460086 - Disable pref: browser.policies.alternatePath except in testing and Nightly r=Felipe,mkaply
MozReview-Commit-ID: GA5Ntp7izPl

--HG--
extra : rebase_source : 8c998651a182f17622f303f09b0a7fc34e407976
2018-05-22 14:54:25 -07:00
Gurzau Raul
bcd412f2a9 Backed out changeset 602bdd9d5a96 (bug 1461851) for linting failures on /checkouts/gecko/build/appini_header.py on a CLOSED TREE 2018-05-30 19:03:50 +03:00
Panos Astithas
9be1c58dd1 Bug 1461851 - Properly add the source URL in the profiler metadata. r=glandium
MozReview-Commit-ID: 53M4bGolmJk

--HG--
extra : rebase_source : 17c2f3922d04b1ee7e168837f4440bb1b0abc218
2018-05-15 16:44:44 -07:00
Jim Chen
32c922179c Bug 1460989 - Check page protection flags again after mprotect(); r=glandium
We are apparently still crashing even after mprotect() with write flag
returns successfully. This patch reads the flags again after mprotect()
returns, and hopefully the flags will tell the truth of whether the page
is truly writable or not after calling mprotect().

MozReview-Commit-ID: Jsg8vHKFEvJ

--HG--
extra : rebase_source : b028aa0d5cefd50302bfc2502292d9129d202e09
2018-05-30 11:47:07 -04:00
Kartikaya Gupta
e20d6e1da2 Bug 1452845 - Turn on async scene building by default. r=jrmuizel
MozReview-Commit-ID: 6sHKSEPzgIf

--HG--
extra : rebase_source : 201216f8892e22a4d84f5967d7d5df317d724e56
2018-05-24 16:16:01 -04:00
Kartikaya Gupta
659df77837 Bug 1452845 - Fix up snapshotting implementation with async-scene-building enabled. r=botond,jrmuizel
This updates the not-really-correct code to flush the WR pipeline before
doing a readback. It now uses the flushing functions introduced in bug
1417784 to ensure things are flushed properly.

MozReview-Commit-ID: 90BZuLKcjUi

--HG--
extra : rebase_source : 2180aa0ac7ff7b46467e0c24094fcc99479120f7
2018-05-24 16:16:00 -04:00
byron jones
af12ec3053 Bug 1454868: create mach vendor manifest --verify r=gps
Creates a standard library for working with moz.yaml files, and adds a `mach
vendor manifest --verify` command that loads and verifies manifest schema.

The list of permitted licenses is one I derived from about:license, pending an
authoritative list from legal.

Differential Revision: https://phabricator.services.mozilla.com/D1208
2018-05-26 00:00:27 +00:00
Kartikaya Gupta
b81f4d85c3 Bug 1321069 - Redirect the end event of a long-tap sequence back to the content window. r=karlt
In the case of a long-tap touch sequence, a new popup window (the
contextmenu) is spawned while the sequence is ongoing. The touch-end of
the sequence ends up getting delivered to the popup window, instead of
the original content window, and that causes the touch-handling
machinery state in the content window to get out of sync with reality.
This patch detects this scenario and redirects the touch events on the
popup window back to the original content window.

MozReview-Commit-ID: L2vvKLlogRA

--HG--
extra : rebase_source : fd4c36c93e45d05155d415f6470e12979b9a675b
2018-05-30 09:49:23 -04:00
Gurzau Raul
ea68b64235 Backed out 3 changesets (bug 1454606) for assert failure on /build/src/obj-firefox/dist/include/js/Value.h
Backed out changeset bac711e0ab42 (bug 1454606)
Backed out changeset 1df93e12f6ec (bug 1454606)
Backed out changeset b126c9d96aaf (bug 1454606)
2018-05-30 17:45:01 +03:00
Razvan Caliman
476e494dab Bug 1464801 - Assign writer methods to each axis defined in font-variation-settings during editor setup. r=pbro
MozReview-Commit-ID: 2L3etSyDBPR

--HG--
extra : rebase_source : 0f0a0df9a42125bf76cdea78e73e501817038791
2018-05-30 00:13:00 +02:00
Razvan Caliman
c80923498e Bug 1464801 - Externalize parsing axis and values from font-variation-settings. r=pbro
MozReview-Commit-ID: B5HeSdyaUx3

--HG--
extra : rebase_source : 84fe8b81055010f4c9b5565c8f51c743ff071c72
2018-05-30 00:11:16 +02:00
Mathieu Leplatre
879ca70d0f Bug 1464798 - RemoteSettings should lookup same JEXL field as Normandy r=mythmon
MozReview-Commit-ID: I84nrAG278k

--HG--
extra : rebase_source : ad40e47310e04a67acfe5e9a080887cb2a830a1a
2018-05-28 13:45:27 +02:00
Belén Albeza
a0e9f9ed3e Bug 1462232 - Links don't work if devtools are in a separate window. r=nchevobbe
MozReview-Commit-ID: 2yK63fjjXvs

--HG--
extra : rebase_source : c7d1219ba158b152922a7eea9973236243deebfe
2018-05-24 18:01:39 +02:00
Daniel Stenberg
0506997177 bug 1464999 - make SplayTree.remove clear mRight and mLeft r=froydnj
... to allow a user to remove() an entry, update the values and
re-insert() it into a tree.

MozReview-Commit-ID: GrSY90Q3ugt

--HG--
extra : rebase_source : 9d8876064f9e3d5b9e4249936a4c999b74fcc9ad
2018-05-29 09:41:24 +02:00
Jan-Erik Rediger
dde8915c1e Bug 1454606 - Document scalar semantics during persistence deserialization. r=Dexter
MozReview-Commit-ID: 4EHl1atJwea

--HG--
extra : rebase_source : 441f49a2d5a9a116d3196802537529b2d55b2e7d
2018-05-29 12:53:53 +02:00
Jan-Erik Rediger
d5bd9c996c Bug 1454606 - Test scalar semantics when pending operations are applied. r=Dexter
MozReview-Commit-ID: KXzuIHaBbIb

--HG--
extra : rebase_source : 9a78a50ba10a16ba8e6f06c890c43257e777edae
2018-05-23 12:00:38 +02:00
Jan-Erik Rediger
33444e088c Bug 1454606 - Record scalar operations and apply operations after load. r=Dexter
In order to preserve semantics of scalar operations, we defer applying
operations on probes until after the persisted measurements are fully loaded.
This is only necessary on GeckoView, as it is the only product doing intermediate persistence of measurements.

MozReview-Commit-ID: IHA1MGPRHoQ

--HG--
extra : rebase_source : f854e5eee96b96e2a0ceb67079aa4359efb07aef
2018-05-18 15:09:16 +02:00
Martin Stransky
969b3897fc Bug 1465371 - [Wayland] Use DBus XRemote for wayland builds exclusively, r=jhorak
MozReview-Commit-ID: 4NqDtJVVc6X

--HG--
extra : rebase_source : b07159d3c590a4051d64a971e86d8fafd7608f6a
2018-05-30 12:26:51 +02:00
Dave Hunt
21f960591b Bug 1464082 - Vendor pytest via |mach vendor python|; r=ahal
Updated to 3.2.5.

MozReview-Commit-ID: 34OG1iGeMVW

--HG--
extra : rebase_source : 3ffa191b142f60897abb0728f53e71b8cda52701
2018-05-24 16:18:27 +01:00
Alexandre Poirot
dabb99acfc Bug 1449162 - Type everything to json and manually manage and marshall. r=jryans
MozReview-Commit-ID: JOM60IW9g6e

--HG--
extra : rebase_source : 235490d6340ad6cee2b523086a356351500276d6
2018-05-09 07:20:51 -07:00
Dan Glastonbury
0a962f5608 Bug 1457353 - P2: Simple reftests. r=xidorn
To show the feature working.

MozReview-Commit-ID: SR7Z1tMaal

--HG--
extra : rebase_source : a9a11797851a05e6b6aceeb3a50a4778d3c00443
2018-04-27 15:14:30 +10:00
Dan Glastonbury
68881da7dd Bug 1457353 - P1: Change nscolor to StyleComplexColor. r=xidorn
Change mStopColor, mFloodColor, and mLightingColor in nsStyleSVGReset.

MozReview-Commit-ID: KMRMtHk1jNK

--HG--
extra : rebase_source : c0c12fa811d17ab6fe0a5ceb31ff32ec585314e0
2018-04-27 12:07:20 +10:00
Mike Hommey
81cf850f82 Bug 1253064 - Prefer Clang to GCC in local developer builds. r=gps
For Android targets, we just ignore plain clang, it's unlikely to work.

--HG--
extra : rebase_source : 2ba19ea608921acc2739055115082291bb8996f4
2018-05-31 10:16:10 +09:00
Coroiu Cristina
02de96494b Backed out changeset b9bf5db54805 (bug 1463750) for ESlint failure at test_remote_settings.js on a CLOSED TREE
--HG--
rename : services/settings/remote-settings.js => services/common/remote-settings.js
rename : services/settings/test/unit/test_remote_settings.js => services/common/tests/unit/test_remote_settings.js
rename : services/settings/test/unit/test_remote_settings_jexl_filters.js => services/common/tests/unit/test_remote_settings_jexl_filters.js
rename : services/settings/test/unit/test_remote_settings_poll.js => services/common/tests/unit/test_remote_settings_poll.js
2018-05-31 04:48:38 +03:00
Mathieu Leplatre
af1ced8604 Bug 1463750 - Move RemoteSettings to services/settings/ r=mgoodwin
MozReview-Commit-ID: 7IwUysPBHZu

--HG--
rename : services/common/remote-settings.js => services/settings/remote-settings.js
rename : services/common/tests/unit/test_remote_settings.js => services/settings/test/unit/test_remote_settings.js
rename : services/common/tests/unit/test_remote_settings_jexl_filters.js => services/settings/test/unit/test_remote_settings_jexl_filters.js
rename : services/common/tests/unit/test_remote_settings_poll.js => services/settings/test/unit/test_remote_settings_poll.js
extra : rebase_source : 67b2fdbf7b4230ba9e9858ea7a0409a6f4d5ec75
2018-05-24 15:32:40 +02:00
Morgan Rae Reschenberg
0403087901 Bug 1463589 - Add contain:size and contain:content parsing functionality. r=emilio
MozReview-Commit-ID: 4fOqln3oOpC

--HG--
extra : rebase_source : 3b2ac1116ea9399a8fbbaab158e7dda5fec3930d
2018-05-30 07:49:31 -07:00
Kartikaya Gupta
61f3a20ced Bug 1457590 - Use the HitTestingTreeNodeAutoLock. r=botond
This updates the GetTargetAPZC function to produce a
HitTestingTreeNodeAutoLock out-param instead of a
RefPtr<HitTestingTreeNode>, to ensure that the node can be used safely
in calling functions. It then propagates that change outward as needed,
which covers all the scrollbar dragging code.

MozReview-Commit-ID: 43K4eSECb4E

--HG--
extra : rebase_source : b34a880c6fd60069f7a4fa0527cbb5e903085356
2018-05-30 15:54:51 -04:00
Kartikaya Gupta
6acdee2bb0 Bug 1457590 - Add the HitTestingTreeNodeAutoLock class. r=botond
This adds the HitTestingTreeNodeAutoLock RAII class that allows using
a HitTestingTreeNode safely outside a tree lock, and ensures that the
node won't get destroyed or recycled concurrently.

MozReview-Commit-ID: 8Tb3vdIeUgr

--HG--
extra : rebase_source : 6eed3e733edcaa4088da52882a9b3dc8c2355c2e
2018-05-30 15:54:50 -04:00
Kartikaya Gupta
46df7cfee3 Bug 1457590 - Strengthen the contract around recycling HitTestingTreeNodes. r=botond
This patch makes three related changes:
- A non-functional change that factors a IsRecyclable function on
  HitTestingTreeNode.
- A non-functional change that sprinkles proof-of-tree-lock arguments to
  a few HitTestingTreeNode functions, to ensure at compile-time that they
  can only be called while holding the tree lock.
- A functional change that stops clearing mLayersId in
  HitTestingTreeNode::Destroy, so that if a node is non-recyclable, and
  it gets Destroy()'d while other code still has a RefPtr to it, that
  other code can still read the layers id off in a safe manner.

These changes provide a stronger set of checks around node recycling,
and allows for a safe mechanism to use a HitTestingTreeNode on the
controller thread without having to lock the entire APZ tree. The
mechanism is effectively a per-node lock, which will be added in the
next patch.

MozReview-Commit-ID: DBIjFDZJwhE

--HG--
extra : rebase_source : 318c27c4473e54b30a0393fca6c2fc76083036b2
2018-05-30 15:54:50 -04:00
Brad Werth
ab777532ec Bug 1464113 Part 2: Add a WPT reftest of a shape-outside: image with a negative left offset relative to its containing block. r=dholbert
MozReview-Commit-ID: JehwcVc12Ui

--HG--
extra : rebase_source : 31843273efc91c556f2a52d8fb8dfec99cede21f
2018-05-25 16:18:56 -07:00
Brad Werth
e0834100e1 Bug 1464113 Part 1: Make ImageShapeInfo tolerate shapes that are shifted left or above their margin rects. r=dholbert
MozReview-Commit-ID: 9NuHsjQfLxP

--HG--
extra : rebase_source : 37c7524daa268bb8321b9904ead9ca643f0641db
2018-05-25 15:12:02 -07:00
David Keeler
571854a7c1 bug 1464520 - hard-code the builtin roots module name to avoid a dependency on l10n in nsNSSComponent r=fkiefer,jcj
nsNSSComponent startup and shutdown would be simpler if there were no direct
dependencies on localized strings. This patch removes a dependency on the
localized name of the builtin roots module by hard-coding the name internally
and then mapping it to/from the localized version as appropriate.

MozReview-Commit-ID: 30kbpWFYbzm

--HG--
extra : rebase_source : 3d384af5a9fa45d5ac1f78e1fcb0dd9e4b94267d
2018-05-25 11:22:48 -07:00
Dorel Luca
308f075972 Backed out 4 changesets (bug 1462489) for breaking mochitest on testing/mochitest/tests/python/test_basic_mochitest_plain.py
Backed out changeset 41cf0d53a95c (bug 1462489)
Backed out changeset daa33716b140 (bug 1462489)
Backed out changeset 3cd6a8ee8f66 (bug 1462489)
Backed out changeset dfed23857cea (bug 1462489)
2018-05-31 02:51:41 +03:00
Marco Bonardo
82fda46a50 Bug 1464443 - Add a LIMIT to ORDER BY queries in Places. r=standard8
MozReview-Commit-ID: 8VrmgEFd1Za

--HG--
extra : rebase_source : 4d22869c737370f78fe8a4975f6b81421d14fc11
2018-05-25 17:35:51 +02:00
Felipe Gomes
f13df914b8 Bug 1463908 - Lazily instatiate the tooltip text provider. r=bz
MozReview-Commit-ID: Jj0BPiMOywc

--HG--
extra : rebase_source : 1ce19a494a054b63a0eb63788761246bc0aafeaf
2018-05-30 19:57:59 -03:00
Hiroyuki Ikezoe
1d990aba9c Bug 1413370 - Drop isAndroid variable in file_restyles.html. r=birtles,boris
It's no longer used since bug 1458841.

MozReview-Commit-ID: 38UlQjtOVvo

--HG--
extra : rebase_source : 30ba69a8bad21c619b3f9ce139bd5a882bdf98b1
2018-05-30 18:21:18 +09:00
Daisuke Akatsuka
b8501fd3a3 Bug 1464849: Avoid to render the graph in case of animation was removed. r=gl
MozReview-Commit-ID: HREpfImDKum

--HG--
extra : rebase_source : 1b9e0ee2b81fd291bc9d7bbb248ccbfa61b114e2
2018-05-29 18:12:38 +09:00
Chris Manchester
1b8f9ac1a6 Bug 1462489 - Re-generate the build backend when a build backend output is missing. r=mshal
MozReview-Commit-ID: CDO3bTGB4tj

--HG--
extra : rebase_source : dfbd0e6bc3fa9bcdbd96de38e85e38dc945275bc
2018-05-30 15:25:22 -07:00
Chris Manchester
adac97a0fe Bug 1462489 - Put packaged test addons in the test package with the test packager rather than Makefile.in r=mshal
MozReview-Commit-ID: 56Ah9HQc9TT

--HG--
extra : rebase_source : cc74b4e385cc98036d24e120732cf4c30e73f962
2018-05-30 15:24:09 -07:00
Chris Manchester
e266d11623 Bug 1462489 - Use test addons from dist/xpi-stage when running mochitests locally. r=ahal
MozReview-Commit-ID: IoaxxjtJLhX

--HG--
extra : rebase_source : 2e0534bc3acc38df2c887c75ca9148866d83a22d
2018-05-30 15:21:39 -07:00
Chris Manchester
37d56be9a8 Bug 1462489 - Process some chrome manifest entries from dist/xpi-stage from the tup backend. r=mshal
MozReview-Commit-ID: 7X5Mi60j4cw

--HG--
extra : rebase_source : 8fb5220b4ac71618cde34d1b5dba504c46a4915b
2018-05-30 15:21:26 -07:00
prathiksha
5f702de150 Bug 1462779 - Auto-select appropriate addresses in select dropdowns in on-boarding forms. r=MattN
MozReview-Commit-ID: 5Lm3djwSeuG

--HG--
extra : rebase_source : 1d2ee6aab4d5ee276dadf7f563911cc5e6fd4070
2018-05-23 16:24:58 -07:00
prathiksha
b77efbe6b0 Bug 1462779 - Show the billing address page during on-boarding if requestShipping is false and there are no saved addresses. r=MattN
MozReview-Commit-ID: E7KM4cIielG

--HG--
extra : rebase_source : bb90ddd192b37e94dbf637a429d3dc0c38002a20
2018-05-18 16:44:25 -07:00
Andrew McCreight
d637399f88 Bug 1351690, part 4 - Only load the stream converter when we try to view a pdf. r=bdahl
This inlines and simplifies the call to XPCOMUtils._getFactory,
because otherwise passing PdfStreamConverter appears to resolve it
immediately, loading the JSM. (The stream converter prototype does not
have a property _xpcom_factory, so there's no need for the check.)

Once that is done, we can just lazily load the stream converter JSM to
keep it from being loaded on startup.

This patch also checks that the stream converter is not loaded at
startup in the main process or the content process, and that PdfJs.jsm
is not loaded at startup in the content process. It needs to be loaded
in the main process to watch for some prefs.

MozReview-Commit-ID: EA0pSgs4AWH

--HG--
extra : rebase_source : fd79cf660e55a3b4e033b3f112228f36942169ea
2018-05-22 16:13:47 -07:00
Andrew McCreight
b13bcee28c Bug 1351690, part 3 - Move stream converter XPCOM registration constants into the registration file. r=bdahl
As with the last patch, the factory is only used for a single class,
so move the constants closer to where they are used. This will allow
us to register the stream converter without loading the stream
converter JSM.

MozReview-Commit-ID: DRKVtYQOs2J

--HG--
extra : rebase_source : d871033c17a0c42a41b62ad753f4d6221f2118a8
2018-05-22 15:37:58 -07:00
Andrew McCreight
4c81305931 Bug 1351690, part 2 - Specialize Factory into StreamConverterFactory. r=bdahl
Factory is only ever passed PdfStreamConverter, so specialize the
registration method and rename the class.  Also, classID2 is always
non-null for PdfStreamConverter, so drop the check.

MozReview-Commit-ID: Ts295QTmrm

--HG--
extra : rebase_source : 9c89c3959981df76f7f6c6e4d0a2cf89d7bfb777
2018-05-22 15:28:45 -07:00
Andrew McCreight
47ae0fa03b Bug 1351690, part 1 - Split out pdf.js stream registration into another jsm. r=bdahl
The goal of these patches is to load neither PdfJs.jsm nor
PdfStreamConverter.jsm in a content process unless the user is viewing
a PDF, to save memory.

This first patch creates a small stub JSM to do the stream
registration, and calls it directly in the content process, avoiding
one way we load PdfJs.jsm. The existing registration methods are kept
for the main process.

MozReview-Commit-ID: 5GH8tjHXfLb

--HG--
extra : rebase_source : f4819b4ae9a406c95aa7fd6a757b0331c9963946
2018-05-18 16:57:59 -07:00
arthur.iakab
2649bf8a95 Merge mozilla-central to autoland 2018-05-31 01:07:47 +03:00
Mike Conley
6a30e9bc14 Bug 1465583 - Disable early blank first paint on all channels except Nightly. r=Felipe
MozReview-Commit-ID: 5udkj1hjw7H

--HG--
extra : rebase_source : a46a0e6bc548c8e1eb96445e35cbf9eac9b80f85
2018-05-30 15:38:47 -04:00