Commit Graph

574683 Commits

Author SHA1 Message Date
Xidorn Quan
bdd541a0a1 Bug 1326514 followup - Handle null prefix in namespace rule gracefully for Gecko backend.
MozReview-Commit-ID: BULWqcb33k4
2017-12-21 19:43:25 +11:00
Emilio Cobos Álvarez
77db25b297 servo: Merge #19617 - style: Fix inheritance of animation and transition properties of mismatched length (from emilio:inherit-animation-stuff); r=hiro
At least when the animation-name length is bigger than the animation properties,
we mess up inheritance and only set properly the specified counts, then don't
cycle it.

The nicer fix for this is making these vectors properly, and move the cycling
logic at used-value time (bug 1420928). Same for transitions.

Bug: 1426246
Reviewed-by: hiro
MozReview-Commit-ID: 3cguzIvfMFU
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a4a2b07aa15efe3c41debb3ec199557694c4d62

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dceaa7f7ba61fc5fcbc998f14ec4950bdab055ba
2017-12-21 00:10:49 -06:00
Xidorn Quan
65122eed20 Bug 1326514 - Implement the CSSOM bits for CSSNamespaceRule. r=bz
MozReview-Commit-ID: 5UpvH4osOfn

--HG--
extra : rebase_source : 9b04b92e1c270217e068ce72e6c64884067500b7
2017-12-21 12:17:37 +11: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
Matthew Noorenberghe
05193eefff 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
Mike Hommey
a588499893 Bug 1426321 - Explicitly enable tar wildcard support when repacking proguard. r=nalexander
While on Centos --wildcards is the default, it is not on Debian.

--HG--
extra : rebase_source : cff03dfb587d295c4e8f8893948a9775d6e5e8b5
2017-12-20 16:01:51 +09:00
Brindusan Cristian
68f2d0d8de Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-20 23:46:31 +02:00
Cosmin Sabou
08669b5d7d Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-20 23:42:30 +02:00
Cosmin Sabou
bf4a9b39b7 Merge autoland to mozilla-central r=merge a=merge 2017-12-20 23:40:31 +02:00
ffxbld
1c0199be67 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-12-20 10:37:32 -08:00
ffxbld
e95c193a16 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-12-20 10:37:28 -08:00
Connor Sheehan
8ee5de03e0 Bug 1424386: Update robustcheckout in m-c with latest version from v-c-t r=gps
MozReview-Commit-ID: Lryc4SGlg1y

--HG--
extra : rebase_source : 050cad0c46c5eab3f81947f04f43e2b30290a6e5
2017-12-20 10:48:04 -05:00
Coroiu Cristina
f6f1731b1b Backed out changeset a4300932758f (bug 1425724) on request by flod r=backout a=backout 2017-12-20 15:55:29 +02:00
Margareta Eliza Balazs
207afdcf3e Backed out changeset 7c96cab6821a (bug 1394914) for failing bc in browser/base/content/test/performance/browser_windowopen_reflows.js r=backout a=backout on a CLOSED TREE 2017-12-20 14:50:54 +02:00
Margareta Eliza Balazs
060948a574 Merge inbound to mozilla-central r=merge a=merge 2017-12-20 11:47:11 +02:00
Margareta Eliza Balazs
5c6d9cde51 Merge autoland to mozilla-central r=merge a=merge 2017-12-20 11:44:05 +02:00
Jeff Gilbert
14856e7b50 Bug 1426289 - Add test for vertexAttrib4f updates.
MozReview-Commit-ID: E2BqeuyafUg
2017-12-19 22:56:25 -08:00
Jeff Gilbert
d328c4a35f Bug 1426289 - Cherry-pick angle issue 1155. - r=lenzak
ANGLE cherry-pick: 9088557fe47e0ce1487b248b60acbc740acd7801

    D3D11: Fix dirty current value updates.

    Fixes a bug where subsequent updates to a "current value" (disabled)
    Vertex Attribute would not trigger the state change to D3D11 such that
    the updated buffer handle would be applied to D3D11. Also adds a test
    to cover the problem case.

    This bug was introduced in 2bc947334cad:
    "D3D11: Minor optimizations to vertex attribute application."

    BUG=chromium:779675
    BUG=angleproject:1155

MozReview-Commit-ID: CywgVRYwaKL
2017-12-19 22:56:22 -08:00
Jeff Gilbert
ff584c03d1 Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak
MozReview-Commit-ID: HxWWPmD1Yzu
2017-12-19 22:28:49 -08:00
Bogdan Tara
7c64f58369 Merge autoland to mozilla central r=merge a=merge 2017-12-19 23:59:59 +02:00