Commit Graph

599272 Commits

Author SHA1 Message Date
Alex Gaynor
b174206e6f Bug 1451859 - Part 2: Add sanitizer coverage to a handful of places relevant to IPC. r=posidron 2018-04-05 15:48:11 -04:00
Alex Gaynor
de04abe10c Bug 1451859 - Part 1: Implement a fuzzer for IPC handlers using libFuzzer. r=jld, r=posidron 2018-03-23 16:18:42 -04:00
Gabriel Luong
de8e85038b Bug 1466794 - Make sure the highlighters overlay is initialized for the grid inspector. r=pbro 2018-06-07 11:54:42 -04:00
Lee Salzman
0512c7822e Bug 1465305 - ensure nsDisplayBackgroundColor::Paint begins a new path before adding rectangle. r=jfkthame 2018-06-07 11:49:39 -04:00
Mats Palmgren
3f4e2f6df4 Bug 1467239 - [css-grid] Null-check GetContentInsertionFrame() return value. r=emilio 2018-06-07 17:41:20 +02:00
Jan de Mooij
6d0be5a5cf Bug 1466121 part 2 - Make Compartment and Zone classes instead of structs. r=luke
--HG--
extra : rebase_source : 1394dc86b035340f99c241f3ee1af5dd407bdb67
2018-06-07 16:45:04 +02:00
Jan de Mooij
f7fb3be6ec Bug 1466121 part 1 - Rename JSCompartment to JS::Compartment. r=luke
--HG--
extra : rebase_source : cd7140ecda54f0caa02a96f562167b3c9a107450
2018-06-07 16:44:40 +02:00
Matthew Gaudet
4ec5d0f516 Bug 1466189: Handle equal length strings in Compare IC r=tcampbell
--HG--
extra : rebase_source : d5748a5839bf256adadae5c14d5d53d3ba949cce
2018-06-05 18:02:19 -04:00
Andrew Osmond
b3cfc1335e Bug 1467311 - Fix linux64-ccov/opt beta test build bustage. r=aosmond 2018-06-07 10:37:27 -04:00
Geoff Brown
dd753d402d Bug 1466217 - Restore dump of mozharness config to test and build logs; r=me,a=test-only
Bug 1462462 stopped dumping the mozharness config to the log, since the same
information is dumped to localconfig.json, which is readily available as an
artifact for most test tasks. However, localconfig.json is not universally
available as an artifact -- so I am restoring it to the mozharness log.
2018-06-07 08:26:53 -06:00
Geoff Brown
86cf7d20d5 Bug 1460411 - Minor changes to test configs for android x86 7.0; r=me,a=test-only 2018-06-07 08:26:48 -06:00
Byron Campen [:bwc]
0afe738d22 Bug 1464079: Bring ICE connection state change callback up to spec. r=jib
--HG--
extra : rebase_source : e287ad23cbf3766731b14e93ad18e295654564ee
2018-05-31 11:30:19 -05:00
Andreas Pehrson
c9fedaf3f7 Bug 1282262 - Disable test on android. r=padenot
MozReview-Commit-ID: 5tq1twcl42b

--HG--
extra : rebase_source : 04328c487a297dac1cb1baeaf6a02744b2f065e5
extra : histedit_source : c83a8bb07ebcdb8cddca97eb9e5cac9960fd1b4c
2018-05-30 15:25:06 +02:00
Christoph Kerschbaumer
2c105d2ff5 Bug 1459204: Have about:privatebrowsing rely on RemotePageManager instead of AboutCapabilities. r=mossop,baku 2018-06-07 11:32:27 +02:00
Peter Van der Beken
b986ba77dd Bug 1053271 - Remove some unused XRayWrapper code. r=bz.
--HG--
extra : rebase_source : 62e659d4b70872997b62185b2f634d87e9242d9d
2018-06-04 16:37:04 +02:00
Peter Van der Beken
f4270dc255 Bug 1053271 - Move Sandbox proxy handlers out of XrayWrapper.h. r=bz.
--HG--
extra : rebase_source : 6172fcbc5782ec3e800b034ca5fdba354f0797e2
2018-06-06 11:42:12 +02:00
Peter Van der Beken
a47cb53336 Bug 1053271 - Remove XrayTraits' HasPrototype. r=bz.
XPCWN Xrays were the only Xrays that set HasPrototype to 0.

--HG--
extra : rebase_source : c10654e4eb6eb39b3cfe8884009cd1a47dcad807
2018-06-04 14:26:37 +02:00
Peter Van der Beken
c02d68395d Bug 1053271 - Remove XPCWN Xrays. r=bz.
--HG--
extra : rebase_source : 4da59c56ffc6eab4af0bf59d3d3861bbc18a33ba
2018-06-04 12:56:38 +02:00
Coroiu Cristina
a0cb50c811 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-06-07 14:46:36 +03:00
Coroiu Cristina
8c5dff3ef1 Backed out 15 changesets (bug 1466222) for breaking android nightly a=backout
Backed out changeset 7bb7694f5d5d (bug 1466222)
Backed out changeset 185a82778d94 (bug 1466222)
Backed out changeset 18fe0eb0545c (bug 1466222)
Backed out changeset bb28c2d9d5f5 (bug 1466222)
Backed out changeset 38d7f885284e (bug 1466222)
Backed out changeset 0970518ff4bd (bug 1466222)
Backed out changeset c71a6be37cfc (bug 1466222)
Backed out changeset 507fe13a3867 (bug 1466222)
Backed out changeset 3c9e951bdc9e (bug 1466222)
Backed out changeset 259365b927a7 (bug 1466222)
Backed out changeset 705e5e28693b (bug 1466222)
Backed out changeset 7b9f759f30fc (bug 1466222)
Backed out changeset b50f13740021 (bug 1466222)
Backed out changeset 7cf0da1e476b (bug 1466222)
Backed out changeset 9250705be918 (bug 1466222)
2018-06-07 14:37:40 +03:00
Jan de Mooij
8bc57c3d29 Bug 1465472 followup - Remove (now always-false) check for atoms compartment. r=jonco 2018-06-07 12:18:56 +02:00
Jan de Mooij
65d353413b Bug 1466458 part 2 - Refactor Realm::enterRealmDepth_ to account for Realms entered from JIT code. r=luke 2018-06-07 12:18:43 +02:00
Jan de Mooij
a0f210fb97 Bug 1466458 part 1 - Remove JSContext::enterRealmDepth_. r=luke 2018-06-07 12:17:08 +02:00
Cosmin Sabou
11c4c457c2 Bug 1455225 - Disable browser_dbg_sources-iframe-reload.js on Linux x64 debug for frequent failures. r=jmaher 2018-06-07 13:02:14 +03:00
Coroiu Cristina
92d50008c6 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-06-07 13:00:49 +03:00
Coroiu Cristina
d2f82e1f42 Merge inbound to mozilla-central a=merge 2018-06-07 12:47:31 +03:00
Francesco Lodolo (:flod)
fe5f3fd914 Bug 1467377 - Fix typos in Intl and L10n documentation r=gandalf
MozReview-Commit-ID: 9zP6j7COEiJ

--HG--
extra : rebase_source : 35b44964d38f53f62522d0709b18d7dfa1ca8a9a
2018-06-07 08:20:49 +02:00
Cosmin Sabou
18d0742c9b Backed out 3 changesets (bug 1451859) for causing Spidermonkey bustages on Linux x64 opt.
Backed out changeset 8f5a9e18e953 (bug 1451859)
Backed out changeset 950fa584ec8e (bug 1451859)
Backed out changeset f1f42726f1ec (bug 1451859)
2018-06-07 09:10:35 +03:00
Ryan VanderMeulen
5ace5c75d1 Merge m-c to inbound. a=merge 2018-06-06 21:08:22 -04:00
Ryan VanderMeulen
4aef6ab351 Backed out changeset a4465713555b (bug 1460989) for causing the Galaxy S8 crash rate to spike. 2018-06-06 21:07:48 -04:00
Bogdan Tara
21828f67fa Backed out changeset 99f438f07d89 (bug 1452445) for es lint failure on head_urlclassifier.js:440 CLOSED TREE 2018-06-07 01:46:07 +03:00
Ted Campbell
2391661c6a Bug 1459754 - Fix missing property IC for uncacheable proto case. r=mgaudet 2018-06-06 18:12:43 -04:00
Dan Glastonbury
367e64f0d4 Bug 1465307 - P4: Enable disabled dom/smil lighting_color tests. r=xidorn
Enable tests disabled in Bug 1457353.

MozReview-Commit-ID: Ctx9bgt9tlK

--HG--
extra : rebase_source : c319f91f4db7c4f0f5146c00760b015802be9e32
2018-06-05 14:36:20 +10:00
Dan Glastonbury
a7c3c83d93 Bug 1465307 - P3: Extract {animated,computed}::Color common parts. r=xidorn
Extract the common parts of `animated::Color` and `computed::Color` out
into `generics::color::Color<T>` that is generic over the type of
RGBA color.

MozReview-Commit-ID: EymSr7aqnAP

--HG--
extra : rebase_source : fb4afe83fc9ab5167ef5d9ecd55cbbb0d3ea8c1d
2018-06-05 11:49:51 +10:00
Dan Glastonbury
81d488f721 Bug 1465307 - P2: Fix nsStyleBorder::mBorderColor for GCC. r=xidorn
GCC doesn't like StyleComplexColor with constructor in an anonymous
struct in an anonymous union.  Replace the use of a union to access
`mBorder[..]Color` fields as an array with an accessor methods.

MozReview-Commit-ID: 1Wulh1qKYCZ

--HG--
extra : rebase_source : 390b8f852d144a54d9d374bcf3ae70ab6d145d50
2018-06-05 11:24:12 +10:00
David Keeler
d4901f4908 bug 1466942 - avoid l10n string bundles in nsNSSComponent initialization r=fkiefer
Before this patch, nsNSSComponent initialization would call PK11_ConfigurePKCS11
with some localized strings, which contributed to startup time. Also,
PK11_UnconfigurePKCS11 was never called, so the memory allocated to these
strings would stick around forever. This patch addresses both of these problems
by not calling PK11_ConfigurePKCS11. This means that some properties of NSS'
internal "PKCS#11 slots/tokens" have to be localized when displaying them to the
user.

MozReview-Commit-ID: BbAgbgpFfFG

--HG--
extra : rebase_source : b633da8fea683675d0c0514a378954332afeb024
2018-06-04 17:07:06 -07:00
Zibi Braniecki
a3bf95f8ee Bug 1450781 - Enable pseudolocalization in Fluent. r=mossop
MozReview-Commit-ID: Cs8OubRRur4

--HG--
extra : rebase_source : 10f2ff4983d0785278a030d134a41582e4714f71
2018-06-01 12:37:13 -07:00
Brian Stack
3672e158f8 Bug 1465117 - Add additional options to backfilling action task r=dustin,jmaher
MozReview-Commit-ID: FMGjhQbg4im

--HG--
extra : rebase_source : a03e351836c7356c6912af85be9108921e50aabd
2018-06-01 16:44:16 -07:00
Gurzau Raul
53a10471cf Backed out 2 changesets (bug 1460777) for Toolchains failure on a CLOSED TREE
Backed out changeset 52ef9348401d (bug 1460777)
Backed out changeset 60ed097650b8 (bug 1460777)
2018-06-06 20:57:29 +03:00
Narcis Beleuzu
7fdbc8641e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-06 20:04:08 +03:00
Narcis Beleuzu
cf464eabfe Merge inbound to mozilla-central. a=merge 2018-06-06 20:00:09 +03:00
Gregory Szorc
2f189264b9 Bug 1460777 - Taskgraph tasks for retrieving remote content; r=dustin,glandium
Currently, many tasks fetch content from the Internets. A problem with
that is fetching from the Internets is unreliable: servers may have
outages or be slow; content may disappear or change out from under us.

The unreliability of 3rd party services poses a risk to Firefox CI.
If services aren't available, we could potentially not run some CI tasks.
In the worst case, we might not be able to release Firefox. That would
be bad. In fact, as I write this, gmplib.org has been unavailable for
~24 hours and Firefox CI is unable to retrieve the GMP source code.
As a result, building GCC toolchains is failing.

A solution to this is to make tasks more hermetic by depending on
fewer network services (which by definition aren't reliable over time
and therefore introduce instability).

This commit attempts to mitigate some external service dependencies
by introducing the *fetch* task kind.

The primary goal of the *fetch* kind is to obtain remote content and
re-expose it as a task artifact. By making external content available
as a cached task artifact, we allow dependent tasks to consume this
content without touching the service originally providing that
content, thus eliminating a run-time dependency and making tasks more
hermetic and reproducible over time.

We introduce a single "fetch-url" "using" flavor to define tasks that
fetch single URLs and then re-expose that URL as an artifact. Powering
this is a new, minimal "fetch" Docker image that contains a
"fetch-content" Python script that does the work for us.

We have added tasks to fetch source archives used to build the GCC
toolchains.

Fetching remote content and re-exposing it as an artifact is not
very useful by itself: the value is in having tasks use those
artifacts.

We introduce a taskgraph transform that allows tasks to define an
array of "fetches." Each entry corresponds to the name of a "fetch"
task kind. When present, the corresponding "fetch" task is added as a
dependency. And the task ID and artifact path from that "fetch" task
is added to the MOZ_FETCHES environment variable of the task depending
on it. Our "fetch-content" script has a "task-artifacts"
sub-command that tasks can execute to perform retrieval of all
artifacts listed in MOZ_FETCHES.

To prove all of this works, the code for fetching dependencies when
building GCC toolchains has been updated to use `fetch-content`. The
now-unused legacy code has been deleted.

This commit improves the reliability and efficiency of GCC toolchain
tasks. Dependencies now all come from task artifacts and should always
be available in the common case. In addition, `fetch-content` downloads
and extracts files concurrently. This makes it faster than the serial
application which we were previously using.

There are some things I don't like about this commit.

First, a new Docker image and Python script for downloading URLs feels
a bit heavyweight. The Docker image is definitely overkill as things
stand. I can eventually justify it because I want to implement support
for fetching and repackaging VCS repositories and for caching Debian
packages. These will require more packages than what I'm comfortable
installing on the base Debian image, therefore justifying a dedicated
image.

The `fetch-content static-url` sub-command could definitely be
implemented as a shell script. But Python is readily available and
is more pleasant to maintain than shell, so I wrote it in Python.

`fetch-content task-artifacts` is more advanced and writing it in
Python is more justified, IMO. FWIW, the script is Python 3 only,
which conveniently gives us access to `concurrent.futures`, which
facilitates concurrent download.

`fetch-content` also duplicates functionality found elsewhere.
generic-worker's task payload supports a "mounts" feature which
facilitates downloading remote content, including from a task
artifact. However, this feature doesn't exist on docker-worker.
So we have to implement downloading inside the task rather than
at the worker level. I concede that if all workers had generic-worker's
"mounts" feature and supported concurrent download, `fetch-content`
wouldn't need to exist.

`fetch-content` also duplicates functionality of
`mach artifact toolchain`. I probably could have used
`mach artifact toolchain` instead of writing
`fetch-content task-artifacts`. However, I didn't want to introduce
the requirement of a VCS checkout. `mach artifact toolchain` has its
origins in providing a feature to the build system. And "fetching
artifacts from tasks" is a more generic feature than that. I think
it should be implemented as a generic feature and not something that is
"toolchain" specific.

I think the best place for a generic "fetch content" feature is in
the worker, where content can be defined in the task payload. But as
explained above, that feature isn't universally available. The next
best place is probably run-task. run-task already performs generic,
very-early task preparation steps, such as performing a VCS checkout.
I would like to fold `fetch-content` into run-task and make it all
driven by environment variables. But run-task is currently Python 2
and achieving concurrency would involve a bit of programming (or
adding package dependencies). I may very well port run-task to Python
3 and then fold fetch-content into it. Or maybe we leave
`fetch-content` as a standalone script.

MozReview-Commit-ID: AGuTcwNcNJR

--HG--
extra : rebase_source : 4918b8c3bac53d63665006802054038bfbca0314
2018-06-06 09:37:38 -07:00
Andreea Pavel
d9873c51fc Bug 1465372 - remove reference to old winxp in manifest file r=jmaher 2018-05-31 04:08:00 +03:00
Jan de Mooij
156284156a Bug 1363214 - Remove JS::Realm/JSCompartment inheritance. r=jonco
--HG--
extra : rebase_source : ad63de7c6676532640659d1fccced7f83798e06d
2018-06-06 14:30:52 +02:00
jlogandavison
9f253dcf5c Bug 1355656 - Implement test cases for two finger fling gestures. r=botond
* Add option for second focus point in PinchWithTouchInput
  * Integrate content controller in PinchWithTouchInput
  * Move PinchWithTouchInput implementation to APZCTesterBase
  * Move CreateSingleTouchData to APZTestCommon.h
  * Add optional PinchOptions parameter to PinchWithTouchInput

    PinchOptions dictates which fingers should be lifted at
    the end of the simulated pinch gesture. The default is to
    lift BOTH fingers.

--HG--
extra : rebase_source : 9a2c5d1a6a8a6ed97869d3e9d643e2a805f5dfd0
extra : amend_source : b5d2976cc3c5203069a532d228e006365e4da320
2018-05-30 19:43:28 +00:00
Christoph Kerschbaumer
d468af79e3 Bug 1466508: Fix race condition within wpt test policy-inherited-correctly-by-plznavigate.html part 2. r=bz 2018-06-05 11:42:00 +02:00
Lars T Hansen
0e01cdcfdf Bug 1466931 - Correctly identify the first invalid wasm opcode. r=jseward
Previously, the new wasm sign extension ops were part of the threads
proposal and so our test cases would guard on those ops using
wasmThreadsSupported().

But now that the extension ops have landed independently of the
threads proposal that guard is incorrect.  So just remove the guard;
we don't need it.

--HG--
extra : rebase_source : de854748195f40978837217acbb1ed62fd977ed4
extra : histedit_source : 136233feee89f79ec514701a22fba85ac03d1a5f
2018-06-06 13:13:44 +02:00
Francois Marier
3ebbf5d1af Bug 1452445 - Fix update error observer in unit test. r=gcp
We should only observe for update errors while we are expecting
a successful update.

MozReview-Commit-ID: 3grGhmxqhIX
2018-05-29 18:06:49 -07:00
Csoregi Natalia
397ec728bc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-07 01:02:21 +03:00
Joel Maher
81aa9c0648 Bug 1466578 - do not run test-verify on ASAN builds. r=gbrown 2018-06-06 14:35:43 -04:00