Commit Graph

664257 Commits

Author SHA1 Message Date
Mihai Alexandru Michis
3a79d43224 Backed out changeset a529c02c2e94 (bug 1570805) for causing failures in test_socialtracking_annotate.html 2019-08-07 16:20:53 +03:00
Ehsan Akhgari
2aeb59e775 Bug 1570802 - Relax the Storage Access API rules to allow calling the API from private browsing mode; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40883

--HG--
extra : moz-landing-system : lando
2019-08-07 06:20:35 +00:00
Ehsan Akhgari
5537145c64 Bug 1570801 - Add an automated test for bug 1566825; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40872

--HG--
extra : moz-landing-system : lando
2019-08-07 06:19:47 +00:00
Kershaw Chang
18d3f24206 Bug 1570950 - Make sure the IPC channel is closed before destroying r=jld
The stack from crash report suggests that ChildImpl was deleted at the end of function GetOrCreateSocketActorForCurrentThread(). This only happens when SendInitBackground failed, so we have to close the IPC channel before ChildImpl getting destroyed.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 21:17:40 +00:00
Jan de Mooij
2e95828669 Bug 1570926 - Don't clobber the frame's return value slot in BaselineInterpreterCodeGen::emitArgumentTypeChecks. r=iain,tcampbell
In emitArgumentTypeChecks there's usually no return value set on the frame,
except when we do a prologue bailout from Ion.

The patch changes emitArgumentTypeChecks to use the frame's scratch value slot
for both nargs and the argument index.

Test is based on the test in bug 1571167 (it's hard to write a pretty test for
this bug).

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

--HG--
extra : moz-landing-system : lando
2019-08-07 12:07:04 +00:00
Jan de Mooij
cbbb36de5b Bug 1544386 part 3 - Add tests. r=tcampbell
Depends on D29487

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

--HG--
extra : moz-landing-system : lando
2019-08-07 12:07:43 +00:00
Jan de Mooij
979911a2d9 Bug 1527148 part 2 - Add test. r=bhackett
Depends on D21540

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

--HG--
extra : moz-landing-system : lando
2019-08-07 12:07:43 +00:00
Andrea Marchesini
30180ae909 Bug 1570805 - [stp] Turn on Social Tracking Protection Prefs, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40928

--HG--
extra : moz-landing-system : lando
2019-08-07 09:14:55 +00:00
Edgar Chen
3d16032632 Bug 1572007 - Remove unused nsPresContext::IsTopLevelWindowInactive; r=smaug
It was introduced in bug 508482 and the consumer went away in bug 1424816.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 09:54:16 +00:00
Cosmin Sabou
1f0e3362bd Backed out changeset deb12c7740ce (bug 1571349) for devtools failures on browser_parsable_css.js CLOSED TREE 2019-08-07 15:00:29 +03:00
Cosmin Sabou
76e15b4674 Backed out changeset 3f4421e34ab4 (bug 1571460) for assertion failures on nsTextFrame.cpp. CLOSED TREE 2019-08-07 14:57:58 +03:00
Mihai Alexandru Michis
63c9ceee7a Merge mozilla-central to autoland. 2019-08-07 14:44:58 +03:00
Sebastian Hengst
118bc16d91 Bug 1572012 - Temporarily disable wpt tests which permafail due to cookie expiration date in the past: adjust step strings. a=me 2019-08-07 13:30:20 +02:00
Emilio Cobos Álvarez
aab2a5c0a2 Bug 1571460 - Set prev-in-flow before calling nsFrame::Init. r=TYLin
Parts of nsFrame::Init or code called by it should be able to rely on the
invariant that, if the frame has the NS_FRAME_OUT_OF_FLOW bit, the first-in-flow
frame has a placeholder property.

Alternatively to this patch, the NS_FRAME_OUT_OF_FLOW frame bit could be
propagated later, as it used to be.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 10:44:54 +00:00
Noemi Erli
9ae2049722 Merge inbound to mozilla-central. a=merge 2019-08-07 12:56:42 +03:00
Noemi Erli
d3e5517d06 Merge autoland to mozilla-central. a=merge 2019-08-07 12:55:21 +03:00
Sebastian Hengst
322cdee8f1 Bug 1572012 - Temporarily disable wpt tests which permafail due to cookie expiration date in the past. a=me
--HG--
extra : amend_source : d0797cf3b68aaa486ac1e16ece9285a97619877b
2019-08-07 11:30:59 +02:00
Mike Hommey
bf3d27d7b7 Bug 1571986 - Add some info to try to find what is going on. r=me
MANUAL PUSH: because it starts happening with something that landed on inbound.
2019-08-07 16:52:55 +09:00
Nicolas Chevobbe
2aa7e939ab Bug 1570998 - Remove selectedObjectActor trait. r=jdescottes.
It was added in Firefox 44 and isn't checked
anywhere in the codebase, so we can safely
remove it.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 05:45:34 +00:00
Mike Hommey
ad4342d0d9 Bug 1571597 - Consolidate toolchain task tooltool manifests. r=nalexander
There are now only two left:
- one for the OSX 10.11 SDK
- one for Visual Studio 2017

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

MANUAL PUSH: avoid closing autoland while all docker images and
toolchains are rebuilt.


--HG--
rename : browser/config/tooltool-manifests/win32/build-clang-cl.manifest => browser/config/tooltool-manifests/win64/vs2017.manifest
2019-08-07 13:54:40 +09:00
Mike Hommey
7f59b74885 Bug 1571597 - Use fetches tasks for ninja and cmake, instead of tooltool. r=nalexander
We could keep the same versions of cmake and ninja, but there are few
enough tasks using them to really matter.

Differential Revision: https://phabricator.services.mozilla.com/D40750
2019-08-07 13:54:28 +09:00
Mike Hommey
d931e57c8e Bug 1571596 - Reduce the number of toolchain scripts for GCC. r=nalexander
Now that all GCC and related source tarballs extract to paths
independent of their version number, the scripts are all very
look-alike, so they can be consolidated.

Differential Revision: https://phabricator.services.mozilla.com/D40749
2019-08-07 13:54:27 +09:00
Mike Hommey
375094b924 Bug 1571596 - Repack GCC and related source tarballs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40748
2019-08-07 13:54:27 +09:00
Mike Hommey
b3c14183b8 Bug 1571589 - Allow simple manipulation of file paths in fetched archives. r=tomprince
Namely:
- adding a prefix,
- stripping path components.

Differential Revision: https://phabricator.services.mozilla.com/D40741
2019-08-07 13:54:26 +09:00
Mike Hommey
890f87dad8 Bug 1571589 - Allow to repack downloaded archives "on the fly". r=tomprince
Bug 1479533 was proposing to add a similar functionality, but this
iteration avoids actually unpacking anything, and ensures
reproducibility by relying on the reproducible bits from the original
archives: file ordering, flags, etc. (since they are checksummed, those
are never going to change for a given archive).

Another notable difference is that this applies the repack on the fetch
task itself, rather than create a separate task to apply the repack. The
latter has advantages, in that it allows to change the repacking without
redownloading the original file from a third-party server, but in
practice, most changes to the repacking would trigger the download tasks
anyways.

This patch only takes care of changing the archive type (zip->tar), and
the compression type (anything->zstandard).

Differential Revision: https://phabricator.services.mozilla.com/D40740
2019-08-07 13:54:25 +09:00
Mike Hommey
525bccdd60 Bug 1571589 - Abstract opening a temporary file and renaming it after close. r=tomprince
And use that in git_checkout_archive.

Differential Revision: https://phabricator.services.mozilla.com/D40739
2019-08-07 13:54:24 +09:00
Mike Hommey
34a2eebc79 Bug 1571589 - Use urlparse rather relying on just splitting on / being enough. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40738
2019-08-07 13:54:23 +09:00
Mike Hommey
392c0b5ec8 Bug 1571576 - Flush stderr before running subprocesses in build-clang. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40728
2019-08-07 13:54:22 +09:00
Mike Hommey
9cfb69a1b0 Bug 1571566 - Fix cmake error handling in build-clang.py after python3 conversion. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D40720
2019-08-07 13:54:21 +09:00
Mike Hommey
4a5d564742 Bug 1571562 - Remove use_toolchain transform for toolchain kind. r=tomprince
Now that all toolchain tasks use toolchain fetches, they don't need
the transform.

Differential Revision: https://phabricator.services.mozilla.com/D40715
2019-08-07 13:54:20 +09:00
Mike Hommey
57786654e0 Bug 1571562 - Use toolchain fetches instead of use_toolchain references in toolchain task definitions. r=nalexander
And remove the use of tooltool-download where it's not needed anymore.

Differential Revision: https://phabricator.services.mozilla.com/D40714
2019-08-07 13:54:20 +09:00
Mike Hommey
3ee7e5948c Bug 1571562 - Allow toolchains to use fetches from other toolchains. r=tomprince
This also allows toolchain tasks to use aliases via fetches, which they
currently aren't allowed via use_toolchain. There are more toolchains
now than there were when the restriction was added, and it might be
useful to be able to use aliases. The flip side is that there are some
risks involved with aliases, which is why the restriction was there in
the first place. Let's see how things play out.

Differential Revision: https://phabricator.services.mozilla.com/D40713
2019-08-07 13:54:19 +09:00
Mike Hommey
0d49eb3466 Bug 1571562 - Make tooltool-download.sh download and extract to MOZ_FETCHES_DIR. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40712
2019-08-07 13:54:18 +09:00
Mike Hommey
2a8938a312 Bug 1571562 - Add missing tooltool-download.sh references as resources. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40711
2019-08-07 13:54:17 +09:00
Mike Hommey
a1e886ab5d Bug 1570541 - Revert MOZ_FETCHES_DIR hacks from bug 1570240. r=nalexander
They're not required anymore now that build-clang.py doesn't force
its build directory location.

Differential Revision: https://phabricator.services.mozilla.com/D40542
2019-08-07 13:54:16 +09:00
Mike Hommey
034e9b6b7b Bug 1570541 - Use git fetch tasks for clang. r=froydnj
What this means is that the sources for clang/llvm are downloaded
separately from the toolchain build (which also means we finally only
download a given version of clang once for all platforms).

In turn, this means the build-clang.py script needs to start with an
existing llvm-project tree, and we choose to make build-clang.py expect
that it's run from the llvm-project root directory.

This also means we don't need to download git for the windows toolchain
task.

Differential Revision: https://phabricator.services.mozilla.com/D40402
2019-08-07 13:54:15 +09:00
Mike Hommey
a57cc9b49f Bug 1570541 - Use tarfile in fetch-content on Windows. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40401
2019-08-07 13:54:14 +09:00
Ciure Andrei
adef2661b1 Merge inbound to mozilla-central. a=merge 2019-08-07 07:34:55 +03:00
Aaron Klotz
1fc3efff69 Bug 1568361: Use StaticLocalAutoPtr for BackgroundMTAData; r=Jamie
The new StaticLocalAutoPtr smart pointer has a trivial destructor, so we will
either properly clean up this data or leak it on process shutdown. Either way,
we will not destroy it in a way that the underlying type does not support.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 01:48:31 +00:00
Andreea Pavel
eb6f2642fa Backed out 7 changesets (bug 1565689) for assertion failures at MediaControlUtils.h on a CLOSED TREE
Backed out changeset 9ebf6f8a4fda (bug 1565689)
Backed out changeset 49c41a9238f9 (bug 1565689)
Backed out changeset 9014276e070a (bug 1565689)
Backed out changeset d9f7fcbef3ee (bug 1565689)
Backed out changeset d3db3285e933 (bug 1565689)
Backed out changeset 1ca26f550f4b (bug 1565689)
Backed out changeset 1d27d083e974 (bug 1565689)
2019-08-07 04:40:52 +03:00
Ting-Yu Lin
9615a105df Bug 1571930 - Convert a MOZ_ASSERT in nsColumnSetFrame::ReflowChildren() to be non-fatal. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D40910

--HG--
extra : moz-landing-system : lando
2019-08-07 01:28:29 +00:00
Nicolas Chevobbe
7613e0d9ae Bug 1570999 - Remove transferredResponseSize trait. r=jdescottes.
This was added in Firefox 38 and isn't used anywhere
in the codebase. Let's remove it.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:41:36 +00:00
Nicolas Chevobbe
57a0bb08b3 Bug 1570997 - Remove fetchCacheDescriptor trait. r=jdescottes.
This was added in Firefox 61, so we can safely remove it now.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:41:18 +00:00
Mark Hammond
05df0254b8 Bug 1568353 - set the default rest.js timeout to be 5 minutes. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D40927

--HG--
extra : moz-landing-system : lando
2019-08-07 05:25:49 +00:00
Nicholas Nethercote
12640bca82 Bug 1563555 - Generate static pref getters usable from Rust code. r=glandium
This patch introduces a new Rust crate called `static_prefs`.

It also changes generate_static_pref_list.py to generate two new files.

- StaticPrefsCGetters.cpp: contains C getters, which are just wrappers around
  the C++ getters. This is included into Preferences.cpp.

- static_prefs.rs: contains declarations for the C getters, plus the `pref!`
  macro which provides nice syntax for calling the C getters. This is included
  into static_prefs/src/lib.rs.

The new code is only generated for prefs marked with the new `rust` field in
the YAML. It's opt-in because there's no point generating additional code for
900+ static prefs when only about 20 are currently used from Rust.

This patch only marks a single pref (`browser.display.document_color_use`) with
`rust: true`. That pref isn't accessed from Rust code in this patch, but it's
necessary because the generated Rust code is invalid if there are zero
Rust-accessed prefs. (The next patch will access that pref and others from Rust
code.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 05:16:55 +00:00
Nicholas Nethercote
fb3388ccf2 Bug 1563555 - Improve structure of generate_static_pref_list.py. r=glandium
generate_static_pref_list currently has two functions:
- generate_header(): this checks the YAML and generates most of the code.
- emit_header(): this does a bit of additional code generation and writes the
  code to file.

This patch gives it a cleaner structure:
- check_pref_list(): this checks the YAML.
- generate_code(): this generates all the code. (It calls check_pref_list()
  first.)
- emit_code(): this just writes the code to file.

The patch also improves the testing in test_generate_static_pref_list.py,
so that it checks the full contents of all generated files.

All these improvements will help with the next patch, which adds two additional
generated files.

The patch also fixes a couple of minor errors in the comment at the top of
StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 05:08:09 +00:00
tanhengyeow
9c8bc605a0 Bug 1566002 - Remove unnecessary key values and replace componentWillReceiveProps. r=nchevobbe
Remove unnecessary key values, replace componentWillReceiveProps, did some cleanup

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

--HG--
extra : moz-landing-system : lando
2019-08-06 19:40:27 +00:00
Ciure Andrei
114c2b4403 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-08-07 07:37:08 +03:00
Gabriel Luong
de91da4b2a Bug 1568151 - Replace target.getInspector() by target.getFront("inspector"). r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39914

--HG--
extra : moz-landing-system : lando
2019-08-07 04:17:31 +00:00
Marcos Cáceres
69d2abd930 Bug 1540695 - Omit credentials when fetching web manifest r=baku
Credentials should be excluded when requesting a web manifest.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:33:02 +00:00