Commit Graph

569732 Commits

Author SHA1 Message Date
Matthew Gregan
feb6071e04 Bug 1409904 - Don't bother logging when audioipc server's poll() hits EINTR. r=kamidphish
MozReview-Commit-ID: 854rPXdmbny
2017-11-15 15:40:23 +13:00
Andreea Pavel
3a1d0056a8 Backed out 1 changesets (bug 1416948) for already being pushed in autoland by bug 1416456 r=backout a=allstarschh on a CLOSED TREE
Backed out changeset 9dd7ba5308be (bug 1416948)
2017-11-15 04:31:23 +02:00
Mark Banner
7f5c3c3582 Bug 1375689 - Turn on experimentalObjectRestSpread in ESlint options. r=mossop
MozReview-Commit-ID: BLZp3HskBji

--HG--
extra : rebase_source : 721d0586deb572a5e989547d592d741cc9d15950
2017-11-14 13:21:16 +00:00
Blake Kaplan
a7ba580113 Bug 1389836 - Don't recreate mHandlerInfo for every little change. r=bz
There are non-cost reference return values on IPDL structs. We should take
advantage of them in order not to recopy everything everytime something
changes.

MozReview-Commit-ID: D4hG2moE3f

--HG--
extra : rebase_source : 4edca9b1a808f99dd60be908bbb197757bf9b90a
2017-11-14 15:37:47 -08:00
Nicholas Nethercote
9723f0f68e Bug 1416638 - Inline and remove PREF_Get*(). r=glandium.
MozReview-Commit-ID: CiCKpihJJJF

--HG--
extra : rebase_source : 82b512171925a44a79e65a8c08a278244a12c6e5
2017-11-14 19:06:02 +11:00
Nicholas Nethercote
5403410705 Bug 1416638 - Inline and remove PREF_Set*(). r=glandium.
This patch also adds some Set*InAnyProcess() methods, and makes nsPrefBranch a
friend of Preferences so it can call those methods.

And it moves the thin Set*() wrapper functions to Preferences.h, alongside
SetUint().

MozReview-Commit-ID: 88HhmcTFZNc

--HG--
extra : rebase_source : 88a854d52afce86d93008a6e1a4b5f32bcf24a1a
2017-11-14 19:06:02 +11:00
Nicholas Nethercote
5dc91f21fc Bug 1416638 - Rename SetCharPrefInternal() as SetCharPrefNoLengthCheck(). r=glandium.
Because it's clearer.

MozReview-Commit-ID: 4zfDnsaPQSK

--HG--
extra : rebase_source : 4f958130f46dc32b291f92d3b387d80064b5ac12
2017-11-14 19:06:02 +11:00
Nicholas Nethercote
22cbf71329 Bug 1416638 - Move a couple of functions into Preferences. r=glandium.
This will allow other functions to be moved into Preferences and be marked as
`private` in subsequent patches.

The patch also renames SetPrefValue() as SetValueFromDom(), because that's a
clearer name.

MozReview-Commit-ID: CB1xmPSmac6

--HG--
extra : rebase_source : 0d597a800f2295c04af26d5abaac4aea0e0d3373
2017-11-14 19:06:02 +11:00
Nicholas Nethercote
1e78ff66af Bug 1416638 - Use private instead of protected in Preferences. r=glandium.
It's a `final` class, so there's no need for `protected`.

MozReview-Commit-ID: 7n4DLpXo0el

--HG--
extra : rebase_source : b2d3eb9cf0e912689efa29d2255cc018fd8a7c64
2017-11-14 19:06:02 +11:00
Nicholas Nethercote
502d16e87f Bug 1416638 - Change nsPrefBranch mIsDefault to a PrefValueKind. r=glandium.
This makes the next patches nicer.

MozReview-Commit-ID: 8EoAkmmMavY

--HG--
extra : rebase_source : 3bb751c8e1353f7e3814257cf41f2f8de4ed3ed5
2017-11-14 19:06:02 +11:00
Nicholas Nethercote
f553c82da0 Bug 1416638 - Add a PrefValueKind arg to Preferences::Get*(), and remove Preferences::GetDefault*(). r=glandium
MozReview-Commit-ID: LgnZAf1pAl1

--HG--
extra : rebase_source : 8ba7c4bfb331f70fd41c2ae1d428e4cb9058d069
2017-11-14 19:06:01 +11:00
Eitan Isaacson
d567085ce1 Bug 1414447 - Use displayed definitions in toolbox component for kb nav. r=jryans 2017-11-13 15:31:00 -05:00
Ya-Chieh Wu
cc97d12776 Bug 1381153 - Part 2: Look up MayHaveTransformAnimation in nsIFrame. r=mstange
Find out where we use MayHaveTransformAnimation in EffectSet
and change them to MayHaveTransformAnimation in nsIFrame.

MozReview-Commit-ID: GhkztK8JtNa
2017-11-12 23:23:00 -05:00
Ya-Chieh Wu
d2e5bc76eb Bug 1381153 - Part 1: Cache MayHaveOpacityAnimation and MayHaveTransformAnimation in nsIFrame. r=mstange, r=mats
There are two places where I have to cache the status of MayHaveOpacityAnimation
and MayHaveTransformAnimation. First place is in |nsIFrame:init()| where an
element is associated with a frame. Second place is in
|KeyframeEffectReadOnly::UpdateEffectSet()| where the script can add animations
on element.

btw I keep the original two flags of MayHaveOpacityAnimation and
MayHaveTransformAnimation in EffectSet because there is no guarantee that
an element has been associated with a frame when we call to |UpdateEffectSet()|.
But we still want to keep the benefits that we can quickly look up
MayHaveOpacityAnimation or MayHaveTransformAnimation. So I keep them in
EffectSet and transfer the status into nsIFrame when we bind an element
to a frame in nsIFrame:Init().

MozReview-Commit-ID: JDwyAQQTKA7
2017-11-13 18:15:00 -05:00
Nicholas Nethercote
6d0e1df407 Bug 1416638 - Add a PrefValueKind arg to Preferences::Set*(). r=glandium
This is unused for now, but will be necessary for nsPrefBranch::Set*() to call
into Preferences::Set*().

The patch also renames some arguments from aPref to aPrefName, because that's a
better name.

MozReview-Commit-ID: 2OPB7CHOgpw

--HG--
extra : rebase_source : 232b7be3c33d185f13ce86d91feea3b55069a4e6
2017-11-13 09:20:45 +11:00
Nicholas Nethercote
51c0610d9a Bug 1416638 - Introduce PrefValueKind. r=glandium
This is nicer than a bool for tracking the Default vs. User distinction, and it
replaces the Preferences.cpp-only WhichValue type.

MozReview-Commit-ID: 8CrdDN2vBJQ

--HG--
extra : rebase_source : 0d49148c73e5aeb0a355a6d4189232c89295d2a7
2017-11-13 09:20:42 +11:00
Benjamin Bouvier
b2f18b5f0e Bug 1415224: Remove wasm test mode entirely; r=luke
MozReview-Commit-ID: L8qoButUhT9

--HG--
extra : rebase_source : 206e8350fdb78b15124c2fb481364752a12ba1d0
2017-11-07 23:01:07 +01:00
Benjamin Bouvier
6b5dff4ed7 Bug 1415224: Remove jit test mode support for int64 testing; r=luke
MozReview-Commit-ID: JnonYprELMt

--HG--
extra : rebase_source : 03fa2e05e2e3789fa1ac3a5f218ed9111bbd1c53
2017-11-09 19:04:19 +01:00
Benjamin Bouvier
ab3b1d143b Bug 1415224: Have wasm assertions auto-generated in wasm; r=luke
MozReview-Commit-ID: I72lkHYq1TF

--HG--
extra : rebase_source : 8b6c8baa58b7265bef781679a2cdb00bb0a6fd9c
2017-11-13 18:30:15 +01:00
Andreas Tolfsen
9987d4cdb0 Bug 1414401 - Schedule Wd tests on linux32 r=jgraham
MozReview-Commit-ID: FRpg35u0NWK

--HG--
extra : rebase_source : af0c35be289bff1c1fb4792d678dea307834cc86
2017-11-07 10:48:58 -08:00
Benjamin Bouvier
3f82636a00 Bug 1415224: Remove wasm testing mode for custom NaN payloads; r=luke
MozReview-Commit-ID: 1CB9zUkTIyk

--HG--
extra : rebase_source : 2b00b600b4607fff066ef2d1e8dae6f523a410fb
2017-11-07 19:16:39 +01:00
Benjamin Bouvier
d9ca9faeb0 Bug 1416766: Immediately throw if an exported wasm function has int64 in the signature; r=luke
MozReview-Commit-ID: HhTUMk21hvM

--HG--
extra : rebase_source : 923c9e18c55b93ec8dd528ab7f68df51208360b1
2017-11-13 16:27:59 +01:00
Benjamin Bouvier
d380ec393f Bug 1416766: Int64 wasm globals should cause a link failure at instanciation time, not compile time; r=luke
MozReview-Commit-ID: 5Ryl47naf9R

--HG--
extra : rebase_source : 742df9347c1a3492f638592436e113922ce46784
2017-11-09 16:30:42 +01:00
Marco Castelluccio
5ced9d1b55 Bug 1417436 - Add Windows code coverage build and test definitions. r=jmaher
--HG--
extra : rebase_source : 3db136b2cccd0a12d6332827748c8a5b9ecefaf8
2017-11-14 23:39:15 +01:00
Tom Schuster
be406a264f Bug 1319512 - Adjust expression closure tests. r=jandem 2017-11-15 16:19:37 +01:00
Tom Schuster
3f07871197 Bug 1319512 - Disable expression closures on Nightly. r=jandem 2017-11-15 16:19:37 +01:00
Geoff Brown
5cfdc40eca Bug 1416914 - Run Android test-verify as tier 2; r=me,test-only 2017-11-15 08:16:41 -07:00
Geoff Brown
4ec80cab97 Bug 1417230 - Do not fail when a skipped web-platform test is verified; r=jgraham 2017-11-15 08:16:39 -07:00
Nathan Froyd
ade9d452f7 Bug 1412983 - part 6 - compile headers for cross-compilers during configure; r=ted.mielczarek
Our toolchain detection logic checks whether we can reuse the target
C (resp. C++) compiler for the host compiler.  This is generally only
applicable in the not-cross-compiling case, but we had special logic to
check for clang in the cross-compiling case and accept it, as clang is
able to generate code for multiple architectures from a single compiler
binary.

Our recent switch to clang on Android has exposed a problem in this
logic: we would never check whether the target clang, compiling for the
host, could actually find the host's headers.  This was especially
problematic on OS X hosts, where the host clang contains special logic
to grovel inside the XCode installation to find C++ headers.  The clang
from the NDK, however, was ignorant of the XCode installation.
Therefore, the NDK clang would happily compile code for the host, even
including C headers for the host, but would be hopelessly lost when it
came to compiling C++ headers during the actual build.

In hopes of mitigating this, we now include a check for a representative
header for C and C++ when checking compilers for each of those
languages.  This check will detect such problems as the above, and will
also alert people to potentially misconfigured compilers in other
situations.

We need to modify our test framework to cope with headers being
included, since our mock environment isn't actually equipped with a full
set of compilers and headers.
2017-11-15 10:12:22 -05:00
Nathan Froyd
fd5e1affd1 Bug 1412983 - part 5 - remove stlport_cppflags dependency from bindgen_cflags_defaults; r=ted.mielczarek
Now that extra_toolchain_flags includes stlport_cppflags, there's no
reason bindgen_cflags_defaults should depend on them both.  So remove
the stlport_cppflags dependency.  (There's no harm to multiply-including
stlport_cppflags, but not repeating -I options is good practice.)
2017-11-15 10:12:22 -05:00
Nathan Froyd
e18f985bb2 Bug 1412983 - part 4 - make extra_toolchain_flags depend on stlport_cppflags; r=ted.mielczarek
extra_toolchain_flags is used for compiling target-specific bits of code
elsewhere in configure.  Very shortly, we'll need to compile bits of
code that depend on the C++ standard library, so we'll want to point the
compiler at the C++ standard library.  Making extra_toolchain_flags
include stlport_cppflags is the best way to do that.
2017-11-15 10:12:22 -05:00
Nathan Froyd
e03872a402 Bug 1412983 - part 3 - move stlport_cppflags prior to extra_toolchain_flags; r=ted.mielczarek
extra_toolchain_flags is going to depend on stlport_cppflags
momentarily, so this commit is just for moving code around.  Note that
the diff shows other things moving *after* stlport_cppflags.
2017-11-15 10:12:23 -05:00
Nathan Froyd
741ca70abc Bug 1412983 - part 2 - use extra_toolchain_flags for computing bindgen flags; r=ted.mielczarek
We compute the same set of data in extra_toolchain_flags as we were
computing in bindgen_cflags_defaults.  We might as well reuse the former
to compute the latter.
2017-11-15 10:12:23 -05:00
Nathan Froyd
c9224d1d2e Bug 1412983 - part 1 - convert stlport_cppflags to return a list; r=ted.mielczarek
A list is a better format for these options, and we'll want a list later
when we use the options as compilation flags.
2017-11-15 10:12:23 -05:00
Dragana Damjanovic
d92ddfb3a4 Bug 1413622 - Add a check to avoid a division by zero. r=mayhemer 2017-11-15 15:01:11 +01:00
Fernando
1960157f5d Bug 1393041 - Refactor and share the telemetry c++ utility functions in gtests. r=dexter 2017-11-14 12:07:00 +01:00
Jan de Mooij
1935a6bcca Bug 1417038 part 2 - Shrink ExitFooterFrame to one word. r=nbp 2017-11-15 14:39:39 +01:00
Jan de Mooij
c35581ffc6 Bug 1417038 part 1 - Remove unused IonOOLPropertyOpExitFrameLayout and IonOOLSetterOpExitFrameLayout. r=nbp 2017-11-15 14:38:52 +01:00
dragan.mladjenovic
985e000ea8 Bug 1416179: Prevent ArrayBufferObject from reserving memory larger than UINT32_MAX on !WASM_HUGE_MEMORY 64-bit platforms; r=lth
--HG--
extra : amend_source : 3975f2aea4dc0647f679424d45ec977a96689b8e
2017-11-07 12:51:25 +01:00
André Bargull
675a354ebc Bug 1405993 - Part 7: Updating ICU requires a clobber. r=clobber
--HG--
extra : rebase_source : 4f2c6fc6cdb7045cb36d0b6200b6e7a60641d591
2017-11-14 03:11:25 -08:00
Andreas Tolfsen
16c97746d1 Bug 1414401 - Enable geckodriver on Linux i686 r=ted,whimboo
This patch enables building of geckodriver in CI on Linux i686.

MozReview-Commit-ID: GkdHDJrzh2X

--HG--
extra : rebase_source : 3202702d8ae3423079aad512a3d7c8dc8e7408a3
2017-11-03 14:13:06 +00:00
Tom Prince
36c3e9c780 Bug 1416023: Fix typo in jar-manifests.rst. r=gps
MozReview-Commit-ID: HC4J9Bwx3DJ

--HG--
extra : rebase_source : 9fc7ff5bb19a0c7097d8e69dfebe8f7aca4d0191
2017-11-09 15:35:28 -07:00
Gregory Szorc
bfcec985a7 Bug 1417387 - Don't mix unicode and bytes in clobber code; r=nalexander
b6adf66f34c6 (bug 1416052) changed the value for "fh" when this code
is called. It can now be an io.BytesIO. This type enforces that
arguments are bytes and doesn't perform automatic type coercion like
most other parts of Python 2.

self.topobjdir is a unicode. And unicode_literals isn't in effect
in this file. So convert self.topobjdir to bytes to make BytesIO
happy.

MozReview-Commit-ID: LrWTKFp3ZKT

--HG--
extra : rebase_source : dc8b9cabe199c78073c96b1c16f9960f92e399e4
2017-11-15 10:17:26 -08:00
Jean-Yves Avenard
2f874411a0 Bug 1415556 - P11. Remove unecessary locking. r=padenot
The method doesn't use any MSG member, only dispatching a task.

MozReview-Commit-ID: 7uZbTvq9OQt

--HG--
extra : rebase_source : e12c5ffcb6479ab2bc06973121c291e759db23a4
2017-11-11 10:20:59 +01:00
Jean-Yves Avenard
d1be81a96e Bug 1415556 - P10. Make functions const where needed. r=padenot
MozReview-Commit-ID: EBEgDVCTewa

--HG--
extra : rebase_source : 282ea4f98d253e9235f159afd7d3f88a4f26d6b1
2017-11-10 20:01:27 +01:00
Jean-Yves Avenard
78e8270149 Bug 1415556 - P9. Remove unused member. r=padenot
MozReview-Commit-ID: 2LbqhBkmDBF

--HG--
extra : rebase_source : 563337da4aef6a16522ceb9e0862f7a42a6efce6
2017-11-10 19:00:12 +01:00
Jean-Yves Avenard
9f54c61d6e Bug 1415556 - P8. Assert on proper access of mStreams member. r=padenot.
mStreams should only ever be accessed on the MSG thread. However, under some shutdown circumstances, it can be accessed on the main thread while the MSG thread is still alive.

This will be corrected in bug 1408276.

MozReview-Commit-ID: 6xWzxxV1Dv3

--HG--
extra : rebase_source : bce92961609da6ea8609ec8ada5a8a30263a84c9
2017-11-10 18:56:29 +01:00
Jean-Yves Avenard
a4416cf9f6 Bug 1415556 - P7. Remove unecessary locking. r=padenot.
mForceShutdownTicket and mShutdownTimer are only ever accessed on the main thread. We don't need the use of the monitor to reset them.

MozReview-Commit-ID: 1DL8bLmzEH5

--HG--
extra : rebase_source : 84d56c7f4428143426cd22e88ef2912330efba4e
2017-11-10 18:53:23 +01:00
Jean-Yves Avenard
66c39c273f Bug 1415556 - P6. Ensure mLifecycleState member is always accessed safely. r=padenot
We only access mLifecycleState via a helper which strongly enforced how the member can be accessed.
Two non-safe accesses are corrected.

MozReview-Commit-ID: 6LYk7t4rSyB

--HG--
extra : rebase_source : 9727771e1b04ba1b39f5cf9a6cf94093b7e92b27
2017-11-10 18:38:02 +01:00
Jean-Yves Avenard
251f706a51 Bug 1415556 - P5. Use helper to set mDriver. r=padenot
MozReview-Commit-ID: Fres1YwcYYM

--HG--
extra : rebase_source : e856357a57708d21e896818095fa1a25085b11a9
2017-11-10 18:28:42 +01:00