Граф коммитов

566044 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen 4891a79ade Bug 1217984 - Remove assertion annotations for 366203-1.xul. r=me 2017-10-25 14:58:32 -04:00
Jesse Ruderman 99162ca8ca Bug 1072792 - Add crashtest. r=me 2017-10-25 14:58:32 -04:00
Jesse Ruderman 006061ed6c Bug 893515 - Add crashtest. r=me 2017-10-25 14:58:31 -04:00
Jesse Ruderman 9712d25eef Bug 884202 - Add crashtest. r=me 2017-10-25 14:58:31 -04:00
ffxbld f9617fb9bd No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-10-25 11:22:54 -07:00
ffxbld 769ad2d454 No bug, Automated HSTS preload list update from host bld-linux64-spot-036 - a=hsts-update 2017-10-25 11:22:50 -07:00
Sebastian Hengst dd47bee646 Backed out changeset f67f8342b981 (bug 1357082) on request from jmaher for still high frequency. r=backout a=backout
MozReview-Commit-ID: 5aI3SCZVaT9

--HG--
extra : amend_source : eecf508380597815c7ad8199e8f3ac2b8ab53d35
2017-10-25 13:02:51 +02:00
Sebastian Hengst 74800ca743 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5UT11zZbl2e
2017-10-25 13:01:33 +02:00
Attila Craciun 7bcf901c3b Merge inbound to mozilla-central r=merge a=merge 2017-10-25 12:30:28 +03:00
Junior Hsu 96911b1321 Bug 870460 - Part 4: Make the lifecycle of cookie thread alongwith the profile. r=ngwh 2017-10-25 01:30:00 -04:00
Xidorn Quan b5008d1736 Bug 1408811 followup 2 - Swap the annotation of empty-1.xul.
MozReview-Commit-ID: 70FJ2D8HrAY
2017-10-25 14:47:11 +11:00
Matt Woodrow 07aad81564 Bug 1405146 - Don't make the decision to build nsDisplayWrapList based on the number of child items, since this can vary when doing partial display list builds. r=mstange
--HG--
extra : rebase_source : 78e330fc4ffe589c8b831f470cbd3858f0f5ec00
2017-10-25 14:17:25 +13:00
John Lin e9ef326a0b Bug 1410771 - extend adaptive playback blacklist for some Samsung tablet. r=JamesCheng
MozReview-Commit-ID: 9X316WYjIS3

--HG--
extra : rebase_source : 41612526a90da44e08a4ac6fdf66f5db63532e61
2017-10-25 09:00:58 +08:00
Glenn Watson a275bdee4f servo: Merge #19009 - Update WR (clip alpha mul, pre-mul rects, box shadow fixes) (from glennw:update-wr-pre); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a65253a11aea13bb7cf26aabdcbac41c02d36f68

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f3d11494ff167100a1326302a5625efb670d2492
2017-10-24 20:20:37 -05:00
Nicholas Nethercote ce583d5ebe Bug 1410765 (part 3) - Remove nsPrefBranch::RemoveObserverFromMap declaration. r=glandium.
--HG--
extra : rebase_source : ab40d0f3430c9259a4fa4cc7fed3f114a946c158
2017-10-25 10:22:37 +11:00
Nicholas Nethercote c67dabae5c Bug 1410765 (part 2) - Redo clang-format on libpref/. r=glandium.
--HG--
extra : rebase_source : 7bf014830baec7abfab51f71ac89a5bc3bec1860
2017-10-25 10:22:37 +11:00
Nicholas Nethercote 91f9b1d8e1 Bug 1410765 (part 1) - Remove unused PrefTypeFlags values. r=glandium.
--HG--
extra : rebase_source : f5d4ac642ddbfc720891c7a72cf735e0f77a460a
2017-10-25 10:22:37 +11:00
Matt Woodrow 9c1811b258 Bug 1411426 - When deleting a frame, make sure we invalidate any frames that had display items dependent on us so that they get rebuilt. r=miko 2017-10-25 12:15:11 +13:00
Matt Woodrow a512274cdf Bug 1411411 - Clip TopLayer display items to the visible area, not the display list building area. r=miko 2017-10-25 09:57:36 +13:00
Matt Woodrow cf1e643666 Bug 1411421 - Make MarkOutOfFlowFrameForDisplay only modifiy the visible rect when we also modified the dirty rect. r=miko 2017-10-25 12:15:07 +13:00
Matt Woodrow d3a34e5fa5 Bug 1402202 - Make FrameProperties::DeleteAll handle the case where deletion of a property triggers deletion of another. r=mats 2017-10-25 12:10:53 +13:00
Ryan VanderMeulen f4ed10c9ae Backed out changeset c73db1c3b6e7 (bug 1406750) for various test failures on a CLOSED TREE. 2017-10-24 18:53:51 -04:00
Jeff Muizelaar faa4cd1783 Bug 1410550. Allow updating a dirty rect of a blob image. r=kats 2017-10-24 18:11:04 -04:00
Emilio Cobos Álvarez b239813eab Bug 1406750 - Use GetStyleContextNoFlush in UpdateCurrentStyleSources, and avoid flushing mPresShell twice. r=bz
MozReview-Commit-ID: Nfu9FZcIzQ
2017-10-24 17:44:12 -04:00
Geoff Brown 98bd20684f Bug 1410714 - Follow-up to fix some minor python lint problems 2017-10-24 15:41:39 -06:00
Geoff Brown 97898a02d1 Bug 1410911 - Only run test-verify when certain file types are changed; r=dustin
When first introduced, test-verify was only run when .js/.html/.xul/.xhtml files
were changed. Recently, it seems to run on every push. This is a speculative fix:
There may be confusion between "test-verify" and "test-verification" so I am
using "test-verify" consistently.
2017-10-24 15:17:27 -06:00
Geoff Brown 5facbdc255 Bug 1410714 - Help mach tests find adb when running Android tests; r=jmaher 2017-10-24 15:17:25 -06:00
James Graham b3cbfea12e Bug 1405141 - Add stability checking to wptrunner, r=gbrown
This adds a --verify flag that is compatible with other Mozilla test
harnesses i.e. it runs each test 10 times without restarting and then
runs it 5 times with restarts, and then repeats with chaos mode
enabled.

This uses the code from, and can replace, the |wpt run --stability|
flag from upstream although that has different default behaviour
(running 10 times with restarts). More work is needed to avoid
duplicating all the code, however.

MozReview-Commit-ID: 7oUEwJk7uhZ
2017-10-24 22:13:25 +01:00
James Graham a099f172a0 Bug 1405141 - Add support for rerunning web-platform-tests without restarting, r=gbrown
This adds a --rerun=N flag which runs each selected test N times in a row.

MozReview-Commit-ID: 4dGuPDkjWeZ
2017-10-24 22:13:24 +01:00
Mike Conley dd33d08c01 Bug 1407631 - Wait about 10 minutes after browser session start before scanning for unsubmitted crash reports. r=gsvelto
While the crash reporter client is submitting a crash report, the report itself
stays in the crashes directory. We suspect that in some cases, if the browser starts
up while the crash reporter client is still sending the report, the unsubmitted
crash report handler will also attempt to send the same report.

This patch makes the unsubmitted crash report handler wait approximately 10 minutes
after the session starts before doing the unsubmitted crash report scan.

MozReview-Commit-ID: KkrPDa1Qwv1

--HG--
extra : rebase_source : cafecef5776a21a76c64300eb53fdde28e09d18b
2017-10-24 16:55:24 -04:00
Kartikaya Gupta d37fe26642 Bug 1405359 - Add some logging code in ScrollingLayersHelper. r=jrmuizel
MozReview-Commit-ID: Lb4UeUxO5HL

--HG--
extra : rebase_source : e5e8c58380055693664bb1a5241bab4d803dfdab
2017-10-24 18:47:24 -04:00
Kartikaya Gupta 4891a7a56f Bug 1405359 - Avoid pushing and popping identical clip stacks for adjacent display items. r=jrmuizel
Instead of unconditionally pushing and popping clips per display item,
this patch changes things so that for each recursive display list, we
create an ItemClips struct. We push this onto the stack when we enter
the display list, and pop it off at the end. For each display item, we
check to see if the clips would actually change compared to the previous
display item, and only do the pop/repush in that case.

MozReview-Commit-ID: J0MCc2V9hWT

--HG--
extra : rebase_source : 8617cfaa7391457867f01c1b619cb871a21bf3f5
2017-10-24 18:47:17 -04:00
Kartikaya Gupta 746bb09454 Bug 1405359 - Make ScrollingLayersHelper a more stateful class. r=jrmuizel
This makes ScrollingLayersHelper a non-RAII type class, and instead adds
methods to notify it of when we start processing a new transaction or a
new display item within the transaction. This patch has no functional
changes, it's non-obvious refactoring.

MozReview-Commit-ID: GEZzCGbVqB1

--HG--
extra : rebase_source : dd4fab7f34da7c5465ba474db670cf583e8dadf4
2017-10-24 18:46:44 -04:00
Kartikaya Gupta 4aa9c4885f Bug 1405359 - Replace the mPushed* variables with a more encapsulated struct. r=jrmuizel
Storing the per-item clip state in a struct like this will allow us to
easily compare the desired clip state across items, so we can avoid
doing unnecessary work when going from one item to the next. This patch
has no functional changes, it's just refactoring.

MozReview-Commit-ID: GX2FX4YDusO

--HG--
extra : rebase_source : 06d7bae5cbae99d2987881f26f7ebd26965c1799
2017-10-24 18:45:28 -04:00
Kartikaya Gupta ead1f0c769 Bug 1405359 - Stop passing around the clip id cache in all the functions. r=jrmuizel
Instead just keep a ref to it as a member variable. No functional
change.

MozReview-Commit-ID: 9jSBdZRIGuV

--HG--
extra : rebase_source : cd1b2f500e9a833f7d42bce53bdaec2118e0d4c3
2017-10-24 18:45:04 -04:00
Dan Glastonbury 0ac4f5bd34 Bug 1410107 - Grow audioipc server slabs as required. r=kinetik
MozReview-Commit-ID: zFfex3LX7K

--HG--
extra : rebase_source : 2ebbb826c210e05a259bf3376853d1886759dfc1
2017-10-25 09:14:45 +10:00
Matt Brubeck ec8cd8d3a8 servo: Merge #19011 - Use actual size for old allocation in ft_realloc (from mbrubeck:realloc); r=glennw
Prevents crashes from improperly freed memory.

Fixes #19008, fixes #18950, fixes #18949.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19008.
- [x] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: e1dac69a4054f208accd18aa443cae19ec7eaf53

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8e6b767fd6674558de1febd6cf5f907c18158669
2017-10-24 18:40:20 -05:00
Francois Marier c57fe362b8 Bug 1411187 - Build protobuf with NOGDI on all Windows builds. r=tjr
MozReview-Commit-ID: 3nPgVJYdD3w

--HG--
extra : rebase_source : 462db0a34c29f1bef475aa264bf1f3fd16652afc
2017-10-24 13:35:56 -07:00
Jonathan Kew 2660b7f4db Bug 1408612 - patch 2 - Create templated gfxFont::DrawGlyphs and DrawOneGlyph methods to allow parts of their complexity to be optimized away at compile time for the most common cases (no color glyphs, no inter-glyph spacing). r=jrmuizel 2017-10-24 15:06:45 +01:00
Jonathan Kew 793b63713b Bug 1408612 - patch 1 - Use single-precision floats more consistently for glyph position computations when drawing text. r=jrmuizel 2017-10-24 09:59:09 +01:00
Nathan Froyd 6a25f52bd6 Bug 1411680 - fix clang toolchain downloaded by `mach bootstrap` on Linux; r=nalexander
We renamed this toolchain a while back, but never updated bootstrap.
2017-10-25 15:10:31 -04:00
Alessio Placitelli 3f0d379cb0 Bug 1411093 - Set the correct Telemetry pref when running tests on Android. r=chutten
Non unified telemetry needs "toolkit.telemetry.enabled" to be set to true
in order for Telemetry to be collected at all.

MozReview-Commit-ID: C7rdov3xFqs

--HG--
extra : rebase_source : 74d4b83ff4d16d2ff224dbe44c14cc867b5e9a64
2017-10-24 09:38:04 +02:00
Brian Birtles ebedef2a25 Bug 849593 - Skip samples of active SMIL timed elements when the sample time precedes the current interval; r=dholbert
In some circumstances it is possible to sample a timed element in the active
state with a time that precedes is current interval.

One possible sequence of steps leading to this situation is as follows:

1. A timed element (e.g. <set>, <animate>) with a non-zero begin time is the
   child of <svg> element A (its "time container") but has yet to be sampled.

2. In order to resolve its initial interval, the timed element registers a
   startup milestone with its time container at time 0.

3. However, before the sample is performed where the timed element's initial
   current interval is resolved, <svg> element A is detached from the document
   tree.

4. The timed element is then attached to a different <svg> element B that has
   a current time greater than the begin time of the timed element and less than
   that of <svg> element A.

5. Since the timed element is still in its startup state it registers its
   startup milestone again, this time with its new time container, i.e. <svg>
   element B.

6. A tick occurs or the document has its style flushed such that a sample is
   performed.

   This includes running the milestone sample which causes the timed element to
   resolve its initial current interval. Furthermore the subsequent regular
   sample of the timed element causes it to transition into its active state
   because the current time of <svg> element B is greater than the begin time of
   the timed element.

7. <svg> element A is re-attached to the document.

8. When we go to run the next sample, we iterate through all time containers
   associated with the document's animation controller which includes both <svg>
   element A, and <svg> element B.

9. <svg> element A renders up its 0 milestone from step (2) since it has yet to
   run it. It converts this to parent time, i.e. the time space of the animation
   controller, which will be zero or less depending on the current time of <svg>
   element A when it was re-attached.

10. Since the milestone from <svg> element A will be the earliest milestone
    time, it will be used as the next milestone sample time.

11. The timed element is then sampled using this time, but first it is converted
    to a time in the time space of the timed element's time container, which is
    now <svg> element B.

    As a result of this conversion, the sample time may end up being *before*
    the beginning of the timed element's current interval. Since timed elements
    never expect the time to go backwards an assertion fails when it detects
    that it is active, but is being sampled before its current interval.

For this particular case, ignoring the "early" sample seems to be the most
appropriate action.

More generally, however, we can anticipate other cases similar to this where
milestones are registered that cause the sample time to temporarily go
backwards. A quick audit of nsSMILTimedElement::DoSampleAt suggests that, with
the code changes from this patch, that is probably ok.

As an alternative we could, perhaps, try to drop and re-create all milestones
when time containers are re-attached to the document tree but that would add
more complexity and would not necessarily cover other similar cases of this
situation.

I have verified that the crashtest included in this changeset fails without the
code changes also in this changeset.

MozReview-Commit-ID: KKGYRayNkpo

--HG--
extra : rebase_source : 832d4b357a2a2fe07abf9eab3a6046599aff3ef5
2017-10-24 13:06:04 +09:00
Xidorn Quan 44b3247164 Bug 1408811 followup - Disable empty-1.xul for stylo windows.
MozReview-Commit-ID: Cx6rhArQm2j
2017-10-25 11:01:50 +11:00
Keith Yeung 39f9d6ab41 servo: Merge #18981 - Merge request type and destination (from KiChjang:fold-type-destination); r=avadacatavra
Fixes #18278.

Source-Repo: https://github.com/servo/servo
Source-Revision: dcd7d2fa32aa53628a9be63a2d0ea64796cd968e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fe27e3095659b41b38bd08b74966c507666bbe5d
2017-10-24 17:02:18 -05:00
Jared Wein e42a0ecfec Bug 1410985 - Run the pocket-library animation if the item was added, regardless of the position of the Pocket button. r=adw
MozReview-Commit-ID: H5jFPHeusJL

--HG--
extra : rebase_source : d2dde89cfb127ac47e0d4ba49c29d26649831f39
2017-10-24 17:40:59 -04:00
Tom Ritter 2d9fdd1bcf Bug 1411142 Cast enums to int to silence warning about comparing enums of different types r=jld
MozReview-Commit-ID: LIbuzPuZ2mr

--HG--
extra : rebase_source : ee5d1f4bf6ef4d0d2e0a694988beeea88beddd80
2017-10-23 23:54:21 -05:00
Mike Hommey 1ab6142261 Bug 1411429 - Remove unused mozjemalloc huge stats. r=njn
Bug 1378258 removed malloc_print_stats and bug 1379890 further removed
the subsequently unused arena stats. It turns out there are also some
huge stats that have been unused since bug 1378258, and that are still
there, so remove them.

--HG--
extra : rebase_source : ae71c7507143503dff8d2e517352a97eb53e4676
2017-10-25 07:20:37 +09:00
Tom Ritter 64fa57a006 Bug 1406542 Enable PTHREAD for vpx and aom under MinGW because we do in fact have them. r=rillian
We were getting warnings that HAVE_PTHREAD_H was being redeclared with the wrong value.
Let's correct that.

MozReview-Commit-ID: KVAsYofozIT

--HG--
rename : media/libvpx/config/win/ia32/vp8_rtcd.h => media/libvpx/config/win/mingw32/vp8_rtcd.h
rename : media/libvpx/config/win/ia32/vp9_rtcd.h => media/libvpx/config/win/mingw32/vp9_rtcd.h
rename : media/libvpx/config/win/ia32/vpx_config.asm => media/libvpx/config/win/mingw32/vpx_config.asm
rename : media/libvpx/config/win/ia32/vpx_config.c => media/libvpx/config/win/mingw32/vpx_config.c
rename : media/libvpx/config/win/ia32/vpx_config.h => media/libvpx/config/win/mingw32/vpx_config.h
rename : media/libvpx/config/win/ia32/vpx_dsp_rtcd.h => media/libvpx/config/win/mingw32/vpx_dsp_rtcd.h
rename : media/libvpx/config/win/ia32/vpx_scale_rtcd.h => media/libvpx/config/win/mingw32/vpx_scale_rtcd.h
extra : rebase_source : beb8b369df337ce2a6fcd860bb9437537376e4c5
2017-10-24 16:57:51 -05:00
Ralph Giles 08d4f53445 Bug 1411371 - Update builders to Microsoft Visual Studio 2017 15.4.1. r=dmajor,mshal
Repack of the new Visual Studio release using the packaging
scripts from bug 1407678. This version also includes the
pgo runtime, resolving a performance regression from the
previous package.

MozReview-Commit-ID: LhoVyG4IwmP

--HG--
extra : rebase_source : 0d3d2f28f05335976d236e5f76893307c252dc96
2017-10-24 11:39:03 -07:00