Commit Graph

574649 Commits

Author SHA1 Message Date
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
db57009a12 Bug 1421992 - Rename do_execute_soon, do_print and do_register_cleanup to executeSoon, info and registerCleanupFunction to match mochitest names, r=Gijs. 2017-12-21 11:08:23 +01:00
Florian Quèze
7dcab2c656 Bug 1421992 - Remove obsolete do_check_* implementations, r=Gijs. 2017-12-21 11:08:21 +01:00
Florian Quèze
e0f995ea08 Bug 1421992 - hand written cleanup patch to make xpcshell tests pass after replacing do_check_* with Assert.*, r=Gijs. 2017-12-21 11:08:19 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Csoregi Natalia
12c47a01be Merge inbound to mozilla-central r=merge a=merge 2017-12-21 12:01:59 +02:00
Narcis Beleuzu
1edf89e8c4 Backed out changeset 1f7837e3840d (bug 1406999) for build bustages on MacroAssembler.cpp r=backout on a CLOSED TREE 2017-12-21 07:14:33 +02:00
JW Wang
79b5f2dd2e Bug 1425996 - fix build error: unused variable 'rv'. r=gerald
MozReview-Commit-ID: 7MhsSWbxB3z

--HG--
extra : rebase_source : 81207a1e5b663314295f2f95afd4b726ffe8f12d
2017-12-21 12:12:42 +08:00
cku
379a01a859 Bug 1426523 - Add PrintTargetEMF.* only if MOZ_ENABLE_SKIA_PDF is enable. r=cjku
MozReview-Commit-ID: 1bcSHbfQK48

--HG--
extra : rebase_source : 384ff19974491683779847131569652430cc2670
2017-12-21 11:54:05 +08:00
Emilio Cobos Álvarez
7048b0b8b9 servo: Merge #19615 - style: Remove needless and bogus bounds-check (from emilio:useless-check); r=KiChjang
The check should read index >= self.len(). But it doesn't matter anyway since
we're covered by Rust's bound checks by default anyway.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6524d2281453da816c532dc83a522331df8ce9c0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a5fd5040f80563badd67ac7e65b36511454fbe49
2017-12-20 21:23:29 -06:00
Mike Hommey
38ff4b7d87 Bug 1426558 - Make autospider builds not rely on system libnspr. r=sfink
The only reason autospider builds succeed in running tests at the moment
is that there is a libnspr4 library installed at the system level on
Centos that is binary compatible with what the js shell requires.

While on the long run we should just avoid depending on libnspr4 at all,
in the short term, we should make the effort to make those tests use the
libnspr4 present in dist/bin.

For the tests executed from js/src/Makefile.in, it turns out there is
already a level of wrapping that does that, relying on run-mozilla.sh,
which is only installed on gecko builds. Installing it on standalone js
builds solve half the problem.

The other half is addressed by setting LD_LIBRARY_PATH before invoking
the js shell in the various places it's invoked.

--HG--
extra : rebase_source : 25f4b1f5c78eb84e48046dc83798f07eb02d4a81
2017-12-21 10:11:13 +09:00
tera_1225@hotmail.com
7363292a26 Bug 1426018 Added padding to request-list-header-wrapper firebug theme. r=Honza
MozReview-Commit-ID: 2OhRT3rvQuP

--HG--
extra : rebase_source : 77c9909957e62b2455806b26a5fc5b665a42e4c8
2017-12-19 23:36:46 +01:00
abhinav
0b870de381 Bug 1419366 - Stop using ImmutableJS in filters reducer. r=Honza
MozReview-Commit-ID: AgBGfJEy8t7

--HG--
extra : rebase_source : 16a2168d17ac01f71cb77c3d9278b3e60de2791e
2017-12-17 23:56:27 +05:30
Nihanth Subramanya
a0762f90d1 Bug 1426438 - Remove NewTabURL.jsm. r=florian
MozReview-Commit-ID: JDiEzEju3zP

--HG--
extra : rebase_source : 3743879bd6315dc7967163bc91f02c23a45b0d13
2017-12-21 00:03:12 +05:30
Mark Hammond
57f9284cef Bug 1425987 - part 2: Cleanup Sync logging by rationalizing preference management. r=tcsc
MozReview-Commit-ID: CQ1vhahnQbc

--HG--
extra : rebase_source : 5456b3afcf2d2d3536b9b546dda67199af4e1bdd
2017-12-19 09:48:31 +11:00
Mark Hammond
26f95a81a1 Bug 1425987 - part 1: Add support to Log.jsm for managing log levels via prefs. r=Gijs
MozReview-Commit-ID: 6xLSnb0etnl

--HG--
extra : rebase_source : 7f6878b3296d3a513ae20a28d5ceb8fbbd84ea53
2017-12-18 17:48:41 +11:00
Ed Lee
36b8b0ba57 Bug 1426203 - Add ES modules, pinned counts and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: K1Jyn2qFDPr

--HG--
extra : rebase_source : d0497c84616433ba8b61d4ada10810db11bed89e
2017-12-20 12:10:35 -08:00
Eden Chuang
3fd3115e94 Bug 1423623 - Add telemetry for alternate data stream on service worker synthesized channels. r=bkelly, data-r=francois
1. Create a new telemetry scalar SW_ALTERNATIVE_BODY_USED_COUNT to count the
       number of the alternative body used in service worker synthesized channels.

    2. To report values of fetching related time of InterceptChannel according to
       the detail subresource type. Now subresource/script, subresource/other,
       subresource/image and subresource/stylesheet are provided, and keep using
       subresource for other types.
2017-12-15 14:35:44 +08:00
Dragan Mladjenovic
4a3769fa44 Bug 1406999 - [MIPS32] Cleanup floating point registers handling. r=nbp 2017-12-20 23:40:37 -05:00
Emilio Cobos Álvarez
7e9531ab01 Bug 1420547: Add assertions for the assumptions we're making. r=bz
MozReview-Commit-ID: 8CVtclXLgzH

--HG--
extra : rebase_source : 0fb5ec6e27e28d4f325f03405d886547114b312d
2017-12-11 10:14:36 +01:00
Emilio Cobos Álvarez
2280023199 Bug 1420547: Notify the pres shell before everything else on removals. r=bz
This allows the flattened tree to have a reasonable state before content
removals, allowing us to fix bugs like bug 1420533.

This used to be also the old setup, but was changed in bug 382376, since the
frame constructor used to reconstruct stuff synchronously. This used to break
all sorts of stylo invariants, and I fixed this in bug 1389743, so now the order
can be sane again.

MozReview-Commit-ID: K2pTweGKSq0

--HG--
extra : rebase_source : e53b7314f39f9c1c2e87fbe202f64b06e4c64c57
2017-12-11 06:42:38 +01:00
Emilio Cobos Álvarez
bae0ffb7be Bug 1420547: Fix removal of <area> elements from an image map. r=bz
This code was relying on nsImageFrame::ContentRemoved running before it.

MozReview-Commit-ID: Imjhd9exjQS

--HG--
extra : rebase_source : 7c6367f515dc140176e50d959c07250057e28354
2017-12-13 01:58:48 +01:00
Vedant Nevetia
e466da11c8 Bug 1422846 - Remove all occurences of donottrack.xul and donottrack.dtd. r=johannh 2017-12-10 14:01:44 -05:00
Jorg K
a83efbdfb5 Bug 1426062 - Follow-up for bug 1422465: check parent before dereferencing it. r=surkov 2017-12-20 00:00:00 -05:00
Christoph Kerschbaumer
4ed18db7cb Bug 1419902 - Add crashtest for nullptr deref of doc within nsGlobalWindowOuter::CloseOuter. r=smaug,ryanvm 2017-12-13 20:27:13 +01:00
Sean Stangl
d30019b2d4 Bug 1425387 - Skip automatically-inserted NOPs while patching. r=bbouvier 2017-12-20 23:32:41 -05:00
Jed Davis
eec54d4531 Bug 1393287 - Intercept sigaction() to fix signal masks for sandboxing. r=gcp
Also changes gSeccompTsyncBroadcastSignum to an atomic, in case these
wrappers race with starting the sandbox, and optimizes the wrappers
slightly by avoiding unnecessary copying of signal sets or sigactions.

Tested by manaully LD_PRELOADing libmozsandbox in the parent process,
because it already has a few signal handlers with block-by-default
masks.

MozReview-Commit-ID: CiHsA6rOCrQ

--HG--
extra : rebase_source : 176c156116a44fb8dff3a5f421499b7e61175047
2017-12-08 17:31:07 -07:00
Jeff Walden
1cd5e89895 Bug 1393287 - Rejigger ctypes library close() code so that it's safe against PR_UnloadLibrary incidentally invoking an indirect function call (which happens if sandboxing code overrides some of the signal code underlying the library-unload entrypoint). r=sfink
--HG--
extra : rebase_source : f8049d8646c9764dc68bf2dc33a0ecd893fb5692
2017-12-18 17:49:13 -08:00
Emilio Cobos Álvarez
6abaf32af5 Bug 1420547: Notify the pres shell specially, instead of via mutation observers. r=bz
This makes the pres shell be notified as the last observer unconditionally.

In practice this doesn't matter, and it may already be the case if an iframe
goes display: none and back. In practice, the only dependency that requires this
order is that the pres shell needs to be notified _after_ the content sink, so
we don't try to enter frame construction before beginning the shell update.

That may be worth looking into, but definitely not in the scope of this bug... :)

MozReview-Commit-ID: 9WeJ5kaUtBq

--HG--
extra : rebase_source : 6589df0aa8a875dc270894fabb6b4bc170d6b6fe
2017-12-06 05:26:32 +01:00
Mike Hommey
e45c2bc4bc Bug 1426283 - Use nproc for the number of parallel jobs to run when building gcc. r=gps
While in the vicinity.

--HG--
extra : rebase_source : 8d885ff5fd4fa124a08326c0ca002a49ef559e57
2017-12-20 14:39:26 +09:00
Mike Hommey
d61456f499 Bug 1426283 - Work around bug 1409276. r=gps
Both the cc crate and the rust compiler may want to use "cc", which,
on automation, points to the system GCC compiler instead of ours.

As a workaround, we add a cc symbolic link in the GCC toolchain artifact
so that, as long as the GCC toolchain artifact's bin directory is in
$PATH early enough, it's picked over /usr/bin/cc.

--HG--
extra : rebase_source : 53cacf8a750539706a484218e168c8c9e0ba49a6
2017-12-20 10:32:36 +09:00
Mike Hommey
fbaf337e4b Bug 1426322 - Separate gcc and mingw32-gcc. r=gps
The "contract" for toolchains is that extracting foo.tar.xz creates a
directory named foo/. That is however not true for mingw32.tar.xz, which
extracts into gcc/, possibly overwriting files from the gcc.tar.xz
archive (which is also used for mingw builds, for the host part).

This is also not true for nsis.tar.xz, but it reportedly has problems
when it's not in the same directory as mingw32.

But mingw32 doesn't actually need to be mixed with gcc, so it's better
to separate them as they are supposed to be.

--HG--
extra : rebase_source : 30d90af64459bbb31bc076e48f3c661fa9cd4a79
2017-12-20 13:46:53 +09:00
Emilio Cobos Álvarez
29d3ec75ba servo: Merge #19613 - style: Workaround a likely valgrind false-positive (from emilio:slotted-list); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: fd6847fd764c423b8952d59179f5c08ebec185c5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 93b75b5ad69220b68f23997eba2245f093a2a825
2017-12-20 17:08:30 -06:00
Mike Shal
6354eccf0c Bug 1426452 - Remove check_top_objdir() call from CompileDB; r=chmanchester
Prior to bug 1224450, CompileDB used data from the Makefiles to generate
the compilation command-lines. Now that the data is derived entirely
from moz.build, we don't need to check that the Makefile is present.
This enables a simple "ac_add_options --build-backends=CompileDB"
mozconfig to work without building a make backend first.

MozReview-Commit-ID: 9tYumyUyg5Y

--HG--
extra : rebase_source : 979f729076b3ab4fd719924877b7ef195e34bfd7
2017-12-20 13:44:34 -05:00
Mike Hommey
ab5fe72688 Bug 1426327 - Clean up PATH for mingw builds. r=gps
The PATH defined for mingw builds was cargo culted, lacks
/usr/local/bin, and contains things that are pretty much useless these
days, now that we're off buildbot. Similarly, LD_LIBRARY_PATH is
useless.

While many other similar changes could be done to the other mozharness
configurations, figuring out which ones are used under what
circumstances is more work than I'm ready to put (I started, but I
stopped when I encountered jobs that don't even run on try or central).

--HG--
extra : rebase_source : dbcbcf9ba80ebb2858c3d47a186daa367afa2988
2017-12-20 17:59:16 +09:00
Cosmin Sabou
4620ebda6e Backed out 3 changesets (bug 1426494) for build bustages on dom/base/FuzzingFunctions.h:25:44 r=backout on a CLOSED TREE
Backed out changeset 8d07cb1ef232 (bug 1426494)
Backed out changeset 74a8ebb0f5d3 (bug 1426494)
Backed out changeset 07c4aa18a0b6 (bug 1426494)
2017-12-21 03:09:22 +02:00
Emilio Cobos Álvarez
f617a73ddf Bug 1426494: followup: Add another missing include on a CLOSED TREE. r=me
MozReview-Commit-ID: 9ROEcdCsnm2
2017-12-21 01:26:14 +01:00
Matthew Noorenberghe
117d194e4b Bug 1423053 - Support accepting a payment request from the UI (with dummy data). r=jaws
MozReview-Commit-ID: 8OZzdvy1as

--HG--
extra : rebase_source : 46535f2ae0b2c7da136113d5215f29980ff44fe8
2017-12-20 19:02:51 -05:00
Matthew Noorenberghe
aae6257dfc Bug 1423053 - Close the PaymentRequest UI when complete is called. r=jaws
https://w3c.github.io/payment-request/#complete-method

MozReview-Commit-ID: 3CJkunoby30

--HG--
extra : rebase_source : c0d0a7b36f2857de1a9af1ddfe6520c620e5d4b4
2017-12-19 05:55:29 -06:00
Emilio Cobos Álvarez
13ff0fa546 Bug 1426494: followup: Add a missing forward declaration on a CLOSED TREE. r=me
MozReview-Commit-ID: JMBpLSEcUt6
2017-12-21 00:56:12 +01:00
Thom Chiovoloni
4e773dd17f Bug 1423399 - Avoid duplicating synced history visits older than your most recent 20 r=kitcambridge
MozReview-Commit-ID: 2CAutmuJWhb

--HG--
extra : rebase_source : b145ebe8525fa6cb045f99adabfc5ce3d0984f3a
2017-12-18 19:40:38 -05:00
Emilio Cobos Álvarez
d58883c70b Bug 1426494: s/StyleScope/DocumentOrShadowRoot. r=smaug
MozReview-Commit-ID: DsFPlQMGAyv
2017-12-21 00:24:28 +01:00
Emilio Cobos Álvarez
7e7dee971b Bug 1426494: Share more code among Document / ShadowRoot. r=smaug
MozReview-Commit-ID: C4cJrSFPnIb
2017-12-21 00:24:27 +01:00
Emilio Cobos Álvarez
85d3328fea Bug 1426494: Devirtualize StyleScope::AsNode. r=smaug
MozReview-Commit-ID: 2nDEI5aIu46
2017-12-21 00:24:26 +01:00
Emilio Cobos Álvarez
27c288f0e2 Bug 1426536: Remove nsContentUtils::IsContentInsertionPoint. r=smaug
We're not going to need it in Shadow DOM v1.

MozReview-Commit-ID: HOokTPlm2Wt

--HG--
extra : rebase_source : 2f746eafb9fa2b14cfe05233d67bf34b80105a44
2017-12-20 22:45:19 +01:00
Ryan VanderMeulen
249415b414 Bug 1425992 - Only run browser_startup_flicker.js on debug and trunk builds. r=florian
--HG--
extra : rebase_source : 7507b40bb4780e59f8d0be8283b676e405ad409e
2017-12-20 17:48:22 -05:00
Brian Birtles
235c83fc0c Bug 1414000 - Assert that either the pres context is nullptr OR that there are no properties when filling in base styles; r=hiro
The call stack where this assertion would otherwise fail is as follows:

 KeyframeEffectReadOnly::UpdateProperties
   KeyframeEffectReadOnly::DoUpdateProperties
     KeyframeEffectReadOnly::BuildProperties
       KeyframeUtils::GetAnimationPropertiesFromKeyframes
         KeyframeUtils.cpp::GetComputedKeyframeValues
     KeyframeEffectReadOnly::EnsureBaseStyles

In bug 1407898 we made GetComputedKeyframes return an empty list when the pres
context is nullptr so if we get a null pres context in EnsureBaseStyles (which
uses the same method for getting the pres context:
nsContentUtils::GetContextForContent) we know that |aProperties| will be empty.
Also, if |aProperties| is empty we're not going to dereferences |presContext| so
we don't need to assert that it is non-null.

I have not included the crashtest in this patch for the same reason as described
in bug 1407898 comment 6.

MozReview-Commit-ID: 6OZ2yJfRLMV

--HG--
extra : rebase_source : b2a711a54623ea177560cf1b69b3c332654bc938
2017-12-20 17:34:57 +09:00
Brindusan Cristian
a2baf1925a Backed out 2 changesets (bug 1423053) for ESlint failure on /toolkit/components/payments/content/PaymentDialog.js r=backout on a CLOSED TREE
Backed out changeset 131e43affb8f (bug 1423053)
Backed out changeset 04fc5cd20916 (bug 1423053)
2017-12-21 00:59:25 +02:00
Emilio Cobos Álvarez
87520df9da Bug 1426503: Remove DestInsertionPoints stuff. r=smaug
MozReview-Commit-ID: KtaEqZn9GH3

--HG--
extra : rebase_source : 54b76e2437cd3031d12973b7021ba740474f07e3
2017-12-20 22:08:15 +01:00
Matthew Noorenberghe
76d7d4f206 Bug 1423053 - Support accepting a payment request from the UI (with dummy data). r=jaws
MozReview-Commit-ID: 8OZzdvy1as

--HG--
extra : rebase_source : da0149737028b9ef93d2254ca317888e7fccdc96
2017-12-20 16:58:56 -05:00