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

63275 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren 06a85186ef Bug 1425599 part 11 - [css-grid] Hoist the marking of excluded tracks out from GrowSelectedTracksUnlimited to a separate method (idempotent change). r=dholbert 2018-03-15 22:41:24 +01:00
Mats Palmgren a39d52bb0b Bug 1425599 part 10 - [css-grid] Make MarkExcludedTracks a static method since it doesn't use 'this' (idempotent change). r=dholbert 2018-03-15 22:41:24 +01:00
Mats Palmgren c635cef6a8 Bug 1425599 part 9 - [css-grid] Merge DistributeToTrackLimits/Bases (idempotent change). r=dholbert 2018-03-15 22:41:24 +01:00
Mats Palmgren 0d5ad6e072 Bug 1425599 part 8 - [css-grid] Factor out the fit-content clamping function from DistributeToTrackLimits and pass it as a param instead (idempotent change). r=dholbert 2018-03-15 22:41:24 +01:00
Mats Palmgren 9fa33326f8 Bug 1425599 part 7 - [css-grid] Remove the 'limits' copy of track sizes since they are no longer needed (idempotent change). r=dholbert 2018-03-15 22:41:24 +01:00
Mats Palmgren 22697a61e7 Bug 1425599 part 6 - [css-grid] Make the size distribution methods templated with the intent of merging them in a later patch (idempotent change). r=dholbert
This patch also introduces an eInfinitelyGrowable bit to help
get rid of the 'limits' temporary track sizes in the next patch.
2018-03-15 22:41:24 +01:00
Mats Palmgren 2720195299 Bug 1425599 part 5 - [css-grid] Make CollectGrowable a templated method so that it works with either base/limit sizes (idempotent change). r=dholbert 2018-03-15 22:41:24 +01:00
Mats Palmgren 0214a637ef Bug 1425599 part 4 - [css-grid] Factor out the starting base/limit size to a templated method (idempotent change). r=dholbert 2018-03-15 22:41:24 +01:00
Mats Palmgren c11cc9b466 Bug 1425599 part 3 - [css-grid] Factor out most of the max-sizing parts of the track sizing for spanned items to a templated method (idempotent change). r=dholbert 2018-03-15 22:41:24 +01:00
Mats Palmgren 77f3d19f2c Bug 1425599 part 2 - [css-grid] Factor out the min-sizing parts of the track sizing for spanned items to a templated method (idempotent change). r=dholbert 2018-03-15 22:41:23 +01:00
Mats Palmgren c8fd367dc3 Bug 1425599 part 1 - [css-grid] Change the track sizing algorithm for spanning items so that it accumulates individual item contributions to the plan by max() rather than incrementing the planned size directly. r=dholbert
Also, fix a bug when copying back the planned limits after
updating it for the first span group.  It should only copy
back track sizes that were actaully spanned by those items,
other content-sized tracks' limits should remain at "infinity".
2018-03-15 22:41:23 +01:00
Emilio Cobos Álvarez 2738470e2b Bug 474655: Add a deprecation warning + use counter to GetPropertyCSSValue. r=bholley
The use counter comes built-in with the DeprecatedOperationList stuff.

MozReview-Commit-ID: 9Opag1NMp32
2018-03-15 18:22:32 +01:00
Andreea Pavel e5950c0d39 Backed out 2 changesets (bug 1442239) for xpcshell failures at widget/tests/unit/test_taskbar_jumplistitems.js on a CLOSED TREE
Backed out changeset 513cd669aca1 (bug 1442239)
Backed out changeset aef4c73f736f (bug 1442239)
2018-03-19 21:19:26 +02:00
Valentin Gosu f0c7a1ae13 Bug 1442239 - Make URI deserialization (nsISerializable.read) happen via nsIURIMutator only r=mayhemer
* Deserialization now only happens via a mutator
* The CID for URI implementations actually returns the nsIURIMutator for each class
* The QueryInterface of mutators implementing nsISerializable will now act as a finalizer if passed the IID of an interface implemented by the URI it holds

MozReview-Commit-ID: H5MUJOEkpia

--HG--
extra : rebase_source : 8ebb459445cab23288a6c4c86e4e00c6ee611e34
2018-03-08 13:35:10 +01:00
Nicolas Silva b3fa768783 Bug 1437032 - Rely on WebRender to pixel snap gradients instead of doing it when building the display list. r=mstange
To correctly apply pixel snapping during display list construction we would need to snap each tile of a repeated gradient individually. It's preferrable to do this in WebRender rather than decompose gradients into many display items.
2018-03-15 11:54:35 +01:00
shindli 9bfc016707 Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
Phil Ringnalda 0bf2d49044 Bug 1369411 followup, redisable test_bug394057.html on Android, where it still fails, on a CLOSED TREE 2018-03-14 19:45:09 -07:00
Kris Maglione 3bff085af2 Bug 1445551: Part 2 - Remove multiprocessCompatible flag. r=aswan
We no longer support legacy extensions with e10s shims, and the only remaining
uses that matter are in-tree test harnesses, which have been fixed. This flag
no longer serves a purpose.

MozReview-Commit-ID: EdCNqF4MttN

--HG--
extra : rebase_source : 0fef334354faa7541628614cb964a29faaa9df41
2018-03-13 19:02:42 -07:00
Emilio Cobos Álvarez 02a0a55ecc Bug 1369411: Use a runnable instead of a timer for pref changes in nsPresContext. r=bholley
This should hopefully make pushPrefEnv able to deal with it.

I optimistically enabled Android too, pending a CI run.

MozReview-Commit-ID: 47C4q0lzIek
2018-03-14 23:33:21 +01:00
Emilio Cobos Álvarez a4486328c8 Bug 1433671: Add MOZ_CAN_RUN_SCRIPT annotations to AccessibleCaret and other stuff. r=bz
MozReview-Commit-ID: Js0CF7WQM73
2018-03-14 23:32:22 +01:00
Nicholas Nethercote e303a46fae Bug 1445142 - Remove DefaultAtoms. r=froydnj
Now that nsGkAtoms is in xpcom/, we can call nsGkAtoms::AddRefAtoms() from
NS_InitAtomTable(), which removes the need for DefaultAtoms, and also removes a
duplicate static atom.

MozReview-Commit-ID: CyfvnvZomzZ

--HG--
extra : rebase_source : 53ead62323a340038c1b4594b1a3eb225aa19626
2018-03-14 11:11:02 +11:00
Xidorn Quan 8031c0838a Bug 1444296 part 2 - Have a separate marker for styles to present stats. r=mstange
MozReview-Commit-ID: FXYnFXDvajw

--HG--
extra : rebase_source : e6b10e1df7d1815afb704b4e6eea812c2affa7fb
extra : source : 1e8a29eb9c2966f458d8019feb9f91323dc4d94a
2018-03-15 11:59:22 +11:00
Xidorn Quan 26878c7730 Bug 1444296 part 1 - Have servo report traversal statistics to gecko. r=bholley
MozReview-Commit-ID: 52YO9mzvneR

--HG--
extra : rebase_source : 873f58bd4ef8e426c350090e4132a8714f4667f4
extra : source : a9d9dc35b9e85eb483aa984977606883680a16c5
2018-03-15 11:59:22 +11:00
Andreea Pavel 46575fad3b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-15 00:10:23 +02:00
Andrew Osmond 4986917db0 Bug 1435291 - Part 2. Make background SVGs use WebRender instead of fallback. r=jrmuizel 2018-03-14 14:19:13 -04:00
Tom Ritter ce3c0e4f8f Bug 1443943 Allow internal callers of performance.now() to opt-out of clamping/jittering r=bholley
PresShell only uses performane.now to track refresh times, and notify internal
observers. We can provide more accurate times by not clamping and jittering
these numbers.

MozReview-Commit-ID: FkDGJhrLeAy

--HG--
extra : rebase_source : 99c571d1e5df53f51b4be0304df3818c161d2972
2018-03-09 20:12:53 -06:00
Emilio Cobos Álvarez 6400343bb7 Bug 1424963: Add ChromeOnly CSSStyleDeclaration::GetCSSImageURLs. r=bz
MozReview-Commit-ID: CISe5jaQbIQ
2018-03-14 11:07:41 +01:00
Nicholas Nethercote 5b4739162e Bug 1445114 - Move RDF atoms into nsGkAtoms. r=froydnj
There are only a handful of them, and two of them are duplicates of atoms
within nsGkAtoms anyway.

MozReview-Commit-ID: Cb90STdeGdK

--HG--
extra : rebase_source : 6ebc6996b129e70907f634e1876725c9e5da41ab
2018-03-14 10:27:34 +11:00
Nicholas Nethercote d41188c796 Bug 1445117 - Remove duplicates from nsGkAtoms. r=froydnj
In each case, the atom had an obvious name and a weird name. Where possible, I
kept the obvious name and commented out the weird name, viz:

- `mixed` over `_mixed` for "mixed"
- `el` over `el_` for "el"
- `other` over `other_` for "other"
- `remote` over `Remote` for "remote"

But for several of them I didn't do that, because the weird name is used
within the HTML5 parser -- which is a huge pain to modify because it involves
code generated by code from another repo -- so I kept the weird name and
commented out the obvious name, viz:

- `list_` over `list` for "list"
- `svgSwitch` over `_switch` for "switch"
- `set_` over `set` for "set"

MozReview-Commit-ID: Jp3CpdWXNDm

--HG--
extra : rebase_source : 421ce5316772f1951488307e81f2ceee696d363d
2018-03-14 10:27:25 +11:00
Nicholas Nethercote 991955fad8 Bug 1445079 - Remove nsHTMLTags::sTagAtomTable[]. r=froydnj
The atoms in nsHTMLTags are a subset of nsGkAtoms, which means that
sTagAtomTable[] currently ends up holding duplicate pointers to the same static
atoms.

This patch removes sTagAtomTable[]. The only place that used sTagAtomTable[]
was nsHTMLTags::AddRefTable(). It now instead calls NS_GetStaticAtom() to get
the static atoms registered by nsGkAtoms.

The patch also moves some checking of sTagNames from RegisterAtoms() (which is
removed) to AddRefTable().

All this reduces the number of duplicate static atoms from 148 to 12.

MozReview-Commit-ID: 14qXYeoorFr
* * *
[mq]: foo

MozReview-Commit-ID: AgQbXlcvWrt
2018-03-14 09:56:14 +11:00
Boris Zbarsky 145e566cd8 Bug 1444686 part 10. Remove nsIDOMDragEvent::GetDataTransfer. r=mystor
MozReview-Commit-ID: LwKqWBGXVcN
2018-03-13 16:24:00 -04:00
Boris Zbarsky 3857fba2a3 Bug 1444686 part 9. Remove use of nsIDOMDataTransfer from nsITreeView. r=mystor
MozReview-Commit-ID: Dpn7YSZpDsc
2018-03-13 16:24:00 -04:00
Boris Zbarsky f511f70886 Bug 1444686 part 8. Remove use of nsIDOMDataTransfer from layout/forms. r=mystor
MozReview-Commit-ID: 2MR9MVbdOPP
2018-03-13 16:24:00 -04:00
Boris Zbarsky d4bb233636 Bug 1444686 part 6. Get rid of nsIDOMDataTransfer::GetFiles. r=mystor
MozReview-Commit-ID: 3gAWLI2DyyU
2018-03-13 16:24:00 -04:00
Boris Zbarsky 0da7198eee Bug 1444686 part 4. Get rid of nsIDOMDataTransfer::Get/SetDropEffectInt. r=mystor
MozReview-Commit-ID: EQ8KXMf4mnR
2018-03-13 16:23:59 -04:00
Boris Zbarsky 4968b166a6 Bug 1444686 part 1. Get rid of nsIDOMDataTransfer::Get/SetDropEffect. r=mystor
MozReview-Commit-ID: 6Kn9uuaQYI0
2018-03-13 16:23:59 -04:00
Andrew Osmond c887fd120c Backed out changeset 7f0409a405f2 (bug 1435291). 2018-03-13 16:03:59 -04:00
Emilio Cobos Álvarez ab60ae72ae Bug 1443415: Move nsPresContext::NotifyFontFaceSetOnRefresh to nsIPresShell. r=bholley
The font face set is owned by the document now, and the shell knows about
refresh driver ticks. There's no reason for it to live in the pres context.

MozReview-Commit-ID: I8gtimok7VG

--HG--
extra : rebase_source : a3216a2efe4bdddbbd83751f3ad2299372232409
2018-03-06 09:01:35 +01:00
Emilio Cobos Álvarez 86556a39c3 Bug 1443492: Flush the document, not the shell, in cross-doc getComputedStyle situations. r=dbaron
We flushed the style of the original doc, but not layout, and thus the iframe
resize wasn't noticed, and the style flush on the child presShell wasn't
sufficient.

Do a style flush on the child document instead, so that it flushes layout on the
parent document too if needed.

MozReview-Commit-ID: 5ZhBuxpKIUg
2018-03-16 17:23:33 +01:00
Dão Gottwald 487924b63b Bug 1446414 - Remove underutilized browser.homePage and browser.goHome. r=enn 2018-03-16 16:31:59 +01:00
Jonathan Watt 567187dd64 Bug 1397795 - Fix stack overflow crash due to box-shadow. r=mstange
GetBoxShadowRectForFrame is called while we're calculating the visual
overflow bounds for a frame.  So it is not valid for it to use the frame's
"current" visual overflow rect (which may be uninitialized or stale).

MozReview-Commit-ID: J52dxIMrMg5
2018-02-23 10:40:12 +00:00
Coroiu Cristina 51fd916771 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-03-16 01:43:13 +02:00
Noemi Erli da9500ef7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 19:44:05 +02:00
Tom Ritter 88fc3fb4ea Bug 1440195 Address CSS Animations r=birtles
For now, we are going to make _all_ CSS Animations related timer fuzzing
only applicable in Resist Fingerprinting Mode (addressing the last couple
that had not already been configured that way.)

We hardcode their content mix-ins as zero, but leave comments indicating
how they should behave.

MozReview-Commit-ID: KhmV7wO8Pt5

--HG--
extra : rebase_source : 3b087d40b6332d447b442b435ed6fee8993e0145
2018-03-05 15:58:46 -06:00
Adrian Wielgosik 0138ac9ff0 Bug 1447121 - Clean up ShouldDisplaySelection, convert it to use Selection and nsRange. r=bz
MozReview-Commit-ID: Bo7zIkNLRMh

--HG--
extra : rebase_source : 200ca7847a758e60d1b1de77ab0c5c4acfe886ab
2018-03-18 20:01:09 +01:00
Julian Seward babba9b13b Bug 1447405 - Valgrind cries at nsFrame::ComputeSize in stylo-only builds. r=emilio.
In nsFrame::ComputeSize and nsFrame::ComputeSizeWithIntrinsicDimensions, the
following expressions

  isFlexItem && usingFlexBasisForISize
  isFlexItem && !usingFlexBasisForISize

are sometimes compiled by recent gcc/clang in the opposite order, viz
[!]usingFlexBasisForISize && isFlexItem.  In this case the transformation is
correct as can be seen by analysing code earlier in these functions.
Unfortunately this causes Valgrind/Memcheck to report a branch on undefined
data which, in this case, is a false positive.

A simple fix is simply to initialise usingFlexBasisForISize to false at its
declaration point.

--HG--
extra : rebase_source : 39877e4ea8ec678288e6b49af120445c96ef8c0a
2018-03-13 07:37:25 +01:00
Matt Woodrow 0c51f3f066 Bug 1443027 - Fix the merging algorithm to pass the new tests correctly. r=mstange
MozReview-Commit-ID: JnglCbdhZzE
* * *
[mq]: update-test

MozReview-Commit-ID: JMIzrnVeSTo

--HG--
extra : rebase_source : 0ea5ff0e79d1eb1a8f13ea4a17e37fe2601d44e7
2018-03-23 16:47:37 +13:00
Matt Woodrow 8851b8d76c Bug 1443027 - Add two new tests for merging behaviour. r=mstange
MozReview-Commit-ID: G5vgtSCdRZP

--HG--
extra : rebase_source : df104a7df2c199d9e95025c533f62428dc1a1efc
2018-03-23 12:20:40 +13:00
Kartikaya Gupta 395eaf8c66 Bug 1448490 - Make the layers id a struct instead of a uint64_t. r=mattwoodrow
The new struct is in LayersTypes.h, all the rest of the changes are just
replacing existing uint64_t instances with the new LayersId struct.

Note that there is one functional change, in
CompositorBridgeParent::DeallocPWebRenderBridgeParent, where we now
correctly convert the PipelineId to a LayersId before using it to index
into sIndirectLayerTrees, whereas before we were incorrectly just using
the mHandle part of the PipelineId.

MozReview-Commit-ID: GFHZSZiwMrP

--HG--
extra : rebase_source : d2b274f63aaee2ee9bba030297e0a37a19af0d6c
2018-03-24 19:06:01 -04:00
Emilio Cobos Álvarez 5caaf1c9f3 Bug 1445682: Make Shadow DOM account for stylesheet applicableness correctly. r=xidorn
Summary:
Also, make stuff sound in presence of CSSOM and what not.

The dirty: false thing is reverting an accidental change that landed in the
de-XBL stuff, which was harmless, but now wouldn't let me assert stuff properly.

Reviewers: xidorn

Bug #: 1445682

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

MozReview-Commit-ID: K0W2Rv0qK8X
2018-03-19 15:50:31 +01:00
Emilio Cobos Álvarez 558271a554 Bug 1446470: Another followup, fix the expectation for stylo-disabled. r=me
MozReview-Commit-ID: 9sv44EVMOYk
2018-03-19 15:14:02 +01:00
Emilio Cobos Álvarez 132a58858d Bug 1446470: followup: Enable the right pref on a reftest on a CLOSED TREE. r=me
MozReview-Commit-ID: FtWEJE1mrBi
2018-03-19 14:30:37 +01:00
Emilio Cobos Álvarez ae450c4678 Bug 1446470: Add another pref to control the url-prefix hack. r=xidorn,smaug
MozReview-Commit-ID: D4qL0oO69Uh
2018-03-19 13:20:40 +01:00
Emilio Cobos Álvarez cc210b144e Bug 1446470: Allow @-moz-document url-prefix() on content. r=xidorn
MozReview-Commit-ID: zaT41fpsDT
2018-03-19 13:20:35 +01:00
Andreea Pavel 62b7a93603 Backed out 3 changesets (bug 1446157) for browser chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE
Backed out changeset 2491f8caeffa (bug 1446157)
Backed out changeset be65061c2d72 (bug 1446157)
Backed out changeset de560a993de1 (bug 1446157)
2018-03-22 18:49:31 +02:00
Timothy Guan-tin Chien 67c91ad718 Bug 1446157 - Follow-up, Remove unused grippyhidden="true" attribute from Layout Debugger r=dbaron
MozReview-Commit-ID: 6Kbn7oB7svH

--HG--
extra : rebase_source : c5b9e38f0db5f9cb10c5db7df954fd1059c02f8e
2018-03-20 17:29:44 +08:00
Timothy Guan-tin Chien aa45f889db Bug 1446157 - Remove unused grippy binding r=enndeakin+6102
MozReview-Commit-ID: KWC9HpTzig

--HG--
extra : rebase_source : 382083ebb3fd2d1b10c70df314bd67ce5ded1f08
2018-03-20 17:21:19 +08:00
Boris Zbarsky 37b111ac2a Bug 1447472 part 2. Remove nsIDOMCustomEvent. r=qdot
MozReview-Commit-ID: 3NPqLIU8cka
2018-03-26 14:53:51 -04:00
Boris Zbarsky 5b0b5358d6 Bug 1446527 part 6. Remove nsIDOMUIEvent. r=qdot
MozReview-Commit-ID: 7GbifGJQUtQ
2018-03-26 14:53:03 -04:00
Boris Zbarsky 18b01d00a3 Bug 1446527 part 3. Remove nsIDOMUIEvent::AsEvent. r=qdot
MozReview-Commit-ID: 9KqSXRUIc8G
2018-03-26 14:53:02 -04:00
Geoff Brown cf1401dff9 Bug 1448697 - Try to use force-stop instead of kill to end remote applications; r=bc
This is important for running browser tests on some non-privileged devices, where
kill may not be permitted.
2018-03-26 12:21:46 -06:00
Ryan Hunt f9ce570d9b Add a fast path for tiled gradients with no pixel alignment or repeat spacing. (bug 1443912, r=mattwoodrow)
MozReview-Commit-ID: 2TKL2ohrex4

--HG--
extra : rebase_source : 5f5f9af22f950fbdc0c695f2e2ad631a33607654
2018-03-19 13:31:41 -05:00
Jonathan Watt a50cb762aa Bug 1448702 - Remove ComputedStyle::AsServo(). r=emilio 2018-03-25 13:23:00 +03:00
Ryan VanderMeulen 1ea76f0173 Merge m-c to inbound. a=merge 2018-03-26 09:19:51 -04:00
Robert Longson 898ce47974 Bug 1446650 - support the SVG 2 side attribute for textPaths r=dholbert 2018-03-22 18:43:50 +00:00
Lee Salzman 7c1041b99c Bug 1447035 - follow-up - reftest comment clarification. r=me 2018-03-22 14:37:43 -04:00
Lee Salzman 9ae36ca090 Bug 1447035 - test to verify that multiple accelerated canvases on the same page work. r=dholbert
MozReview-Commit-ID: 5C6gfzMFPhq
2018-03-22 14:34:29 -04:00
Andreea Pavel d9d9517a78 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-20 00:42:18 +02:00
Valentin Gosu af5eeff2e3 Bug 1442239 - Make URI deserialization (nsISerializable.read) happen via nsIURIMutator only r=mayhemer
* Deserialization now only happens via a mutator
* The CID for URI implementations actually returns the nsIURIMutator for each class
* The QueryInterface of mutators implementing nsISerializable will now act as a finalizer if passed the IID of an interface implemented by the URI it holds

MozReview-Commit-ID: H5MUJOEkpia

--HG--
extra : rebase_source : 01c8d16f7d31977eda6ca061e7889cedbf6940c2
2018-03-19 20:22:32 +01:00
Andrew Osmond 785d1f4d18 Bug 1435291 - Part 2. Make background SVGs use WebRender instead of fallback. r=jrmuizel 2018-03-13 15:59:05 -04:00
Robert Longson 7db14a3fbb Bug 1325320 part 4 - additional reftest for textPath pointing to a line r=dholbert 2018-03-13 19:54:25 +00:00
Robert Longson 797f6cb1a6 Bug 1325320 part 3 - move GetPathLengthScale to SVGGeometryElement and convert callers of SVGPathElement methods to work on the base SVGGeometryElement class and work for all shapes, not just paths r=dholbert 2018-03-13 19:52:03 +00:00
Andreea Pavel 8fa0b32c84 Merge mozilla-inbound to mozilla-cenral. a=merge 2018-03-13 19:01:32 +02:00
Andrew Osmond 26b8f527e1 Bug 1444387 - Part 2. Ensure we use NOT_READY for empty image containers with WebRender. r=jrmuizel
When we fail to generate an image key for an image, it is likely because
the image container is empty. This is not a fatal error, it just means
we haven't produced a frame yet. We should be using NOT_READY instead of
BAD_IMAGE as a result. This is important because reftests rely upon
these error codes to know whether or not they should wait; it could
cause intermittent failures.
2018-03-13 09:16:04 -04:00
Andrew Osmond fcec47e7bd Bug 1444387 - Part 1. Avoid using fallback if an image is not ready. r=jrmuizel
If an image container is empty, it will not produce an image key for use
with WebRender. This is generally not a sign of failure because the
producer likely has yet to populate the container with data. As such, we
should not immediately attempt to fallback. In fact, fallback can make
things worse in this situation, as we will create an image client to
send over the data, but then find that there is no data to share (or
find that there is, due to a race with the producer thread, and use
image clients when we could use shared surfaces).
2018-03-13 09:16:04 -04:00
Narcis Beleuzu 298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Emilio Cobos Álvarez de099db7bd Bug 1444905: Remove scoped style support from the old style system. r=xidorn,smaug
Summary: It uses two node bits that can be better suited for something else.

Reviewers: xidorn, smaug

Bug #: 1444905

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

MozReview-Commit-ID: HIPDtHm6xpM
2018-03-13 10:26:13 +01:00
Miko Mynttinen 3356f300e6 Bug 1443518 - Fix incorrect CompositorHitTestInfo ordering for inline lines r=mattwoodrow
MozReview-Commit-ID: D7yLNHQN3z0

--HG--
extra : rebase_source : 34f2f668bcdd8e0bc9741b879e696608345fdca3
2018-03-09 11:48:07 +01:00
David Major 02df77788a Bug 1424281 - De-optimize some functions to work around crashes during compilation. r=froydnj
--HG--
extra : rebase_source : 2d1ddef02e87ea794ddc0e73c358396208aab635
2018-03-06 10:15:34 -05:00
Sylvestre Ledru 174a529299 Bug 1444852 - nsIFrame::BuildDisplayListForChild Remove the init step as the result is unused r=miko
MozReview-Commit-ID: G07Fwu1aw0M

--HG--
extra : rebase_source : 0732665c062587c813ec7002704d23006ee33ccf
2018-03-12 12:28:00 +01:00
Sebastian Hengst 33c90f9938 merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-03-13 02:11:18 +02:00
Lee Salzman d3709cc4e9 Bug 1444506 - part 6 - fuzz for Skia m66 update. r=jrmuizel 2018-03-12 16:37:10 -04:00
Kartikaya Gupta 99522f2154 Bug 1258238 - Remove code that displays visibility visualization on the APZ minimap. r=mattwoodrow
This code was originally added to debug the frame visibility code.
However it wasn't architected correctly and makes the compositor use an
untrusted layers id from content. Instead of fixing this I'd rather just
delete it, since it's a big pile of code that is basically a debugging
tool that nobody owns anymore.

MozReview-Commit-ID: nPZqVeYsFp
2018-03-12 14:17:34 -04:00
Brian Birtles 40fad942d5 Bug 1382841 - Rename test_XXX_to_rename.html files in layout/style/test to test_XXX.html; r=hiro
MozReview-Commit-ID: Fes2hiyypWV

--HG--
rename : layout/style/test/test_animations_effect_timing_duration_to_rename.html => layout/style/test/test_animations_effect_timing_duration.html
rename : layout/style/test/test_animations_effect_timing_enddelay_to_rename.html => layout/style/test/test_animations_effect_timing_enddelay.html
rename : layout/style/test/test_animations_effect_timing_iterations_to_rename.html => layout/style/test/test_animations_effect_timing_iterations.html
rename : layout/style/test/test_animations_iterationstart_to_rename.html => layout/style/test/test_animations_iterationstart.html
rename : layout/style/test/test_animations_pausing_to_rename.html => layout/style/test/test_animations_pausing.html
rename : layout/style/test/test_animations_playbackrate_to_rename.html => layout/style/test/test_animations_playbackrate.html
rename : layout/style/test/test_animations_reverse_to_rename.html => layout/style/test/test_animations_reverse.html
rename : layout/style/test/test_animations_styles_on_event_to_rename.html => layout/style/test/test_animations_styles_on_event.html
rename : layout/style/test/test_transitions_replacement_on_busy_frame_to_rename.html => layout/style/test/test_transitions_replacement_on_busy_frame.html
2018-03-12 16:08:36 +09:00
Brian Birtles f916dc68ff Bug 1382841 - Remove old test_XXX openers that just set the dom.animations-api.core.enabled pref from layout/style/test**; r=hiro
As with an earlier patch in this series, we rename the file_* test content files
to test_*_to_rename.html in this patch, and then in a subsequent patch drop the
_to_rename suffix so that we can trace the history of the test_* files back to
their file_* equivalents.

MozReview-Commit-ID: Jes8xSQzkCF

--HG--
rename : layout/style/test/file_animations_effect_timing_duration.html => layout/style/test/test_animations_effect_timing_duration_to_rename.html
rename : layout/style/test/file_animations_effect_timing_enddelay.html => layout/style/test/test_animations_effect_timing_enddelay_to_rename.html
rename : layout/style/test/file_animations_effect_timing_iterations.html => layout/style/test/test_animations_effect_timing_iterations_to_rename.html
rename : layout/style/test/file_animations_iterationstart.html => layout/style/test/test_animations_iterationstart_to_rename.html
rename : layout/style/test/file_animations_pausing.html => layout/style/test/test_animations_pausing_to_rename.html
rename : layout/style/test/file_animations_playbackrate.html => layout/style/test/test_animations_playbackrate_to_rename.html
rename : layout/style/test/file_animations_reverse.html => layout/style/test/test_animations_reverse_to_rename.html
rename : layout/style/test/file_animations_styles_on_event.html => layout/style/test/test_animations_styles_on_event_to_rename.html
rename : layout/style/test/file_transitions_replacement_on_busy_frame.html => layout/style/test/test_transitions_replacement_on_busy_frame_to_rename.html
2018-03-12 16:08:36 +09:00
Robert Longson 7709e9b3e1 Bug 1444666 - get rid of nsSVGUtils version of GetStrokeDashData and replace by SVGContentUtils::GetStrokeOptions r=jwatt 2018-03-11 16:11:24 +00:00
Daniel Holbert 296a409c95 Bug 1444481 part 3: #include nsStringFwd.h rather than nsString.h in some layout/style headers. r=xidorn
These files only use references to string types, e.g. "nsAString&", so they
only need forward-declarations of these types -- not the full definition.

Note that the last file here (nsStyleUtil.h) already has an #include for
nsStringFwd.h, which is why that files change is just a pure removal (of the
unnecessary nsString.h #include).

MozReview-Commit-ID: 9sLSyeBS49M

--HG--
extra : rebase_source : 683a2c621f7b7cae754f129effabd9defe7ba665
2018-03-09 11:55:12 -08:00
Daniel Holbert db1f9ead22 Bug 1444481 part 2: Replace unneeded #includes in nsStyleConsts.h with more specific ones (and add missing headers to nsStyleCoord.h). r=xidorn
nsStyleConsts.h doesn't use anything from gfxRect.h or nsFont.h, so this patch
removes those #includes from it. However, it does need some other headers that
it was pulling in indirectly via those #includes, which I'm now making it
*directly* #include. Specifically, it needs:
 - inttypes.h for "uint8_t"
 - gfxFontConstants.h for NS_FONT_WEIGHT_BOLD and related constants.

On its own, the above changes cause build errors in nsStyleCoord.h, because
that other header has an #include for nsStyleConsts.h, which it was
inadvertently depending on (very indirectly) to provide some definitions (via
the aforementioned removed #includes). So we need to give nsStyleCoord.h some
new #includes to directly provide what it needs & keep it
compiling. Specifically:
 - mozilla/gfx/Types.h for the mozilla::Side type
 - nsISupportsImpl.h for the NS_INLINE_DECL_THREADSAFE_REFCOUNTING macro

MozReview-Commit-ID: BDlaIIOQiPE

--HG--
extra : rebase_source : a16f85f030330ff009461c4d48028327cc4ba0cf
2018-03-09 11:53:22 -08:00
Botond Ballo 674b1aad72 Bug 1307555 - Create a hit test info item for a scroll frame's scrolled frame that's not clipped to the displayport. r=mstange
MozReview-Commit-ID: 5MJg4zqxSAk

--HG--
extra : rebase_source : eecfc53d0951112d2e6cb8bc8aa62ae27a4d9d93
2018-02-26 19:03:32 -05:00
Mike Conley 106d68a34a Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 75f51378401f0ca63384a9df52a5e5f04e00bb9d
2018-02-28 16:15:51 -05:00
Emilio Cobos Álvarez ba8a820351 Bug 1444507: Remove unused binding functions. r=bholley
MozReview-Commit-ID: EGceLrhKVIm

--HG--
extra : rebase_source : ce46652a15b9e7700cd2f1c5235f77439ffeb246
2018-03-09 20:10:22 +01:00
Andreea Pavel e843cc64e7 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-09 21:35:33 +02:00
Andreea Pavel a3a0c1c649 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-09 21:33:50 +02:00
Emilio Cobos Álvarez ac276d4193 Bug 1434692: Add a WPT test for calc font-variation-settings. r=dholbert
Summary:
Along with other internal tests. Tests for font-feature-settings exist, they're
not synced yet.

Reviewers: dholbert

Reviewed By: dholbert

Bug #: 1434692

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

MozReview-Commit-ID: BfGSZMh9Hss
2018-03-09 12:15:09 +01:00
Emilio Cobos Álvarez 79d8c2b1b9 Bug 1444249: Re-enable test_webkit_flex_display.html on stylo linux debug. r=xidorn
Should pass fine.

Was disabled in Bug 1380053, presumably because it asserted or what not at that
point? Who knows.

MozReview-Commit-ID: LSH6ZId9Ezj

--HG--
extra : rebase_source : fb1bfeae35442d2acc65b8f5ceb8ee1f75f33303
2018-03-09 01:15:34 +01:00
Dorel Luca 30edeead7c Merge mozilla-central to mozilla-inbound. a=merge 2018-03-09 12:01:54 +02:00
Dorel Luca 950dc4ffdd Backed out 2 changesets (bug 1440753) for talos bustages
Backed out changeset 75ccc12de326 (bug 1440753)
Backed out changeset d9297cea0239 (bug 1440753)
2018-03-09 11:44:17 +02:00
Robert Longson 81b5779eda Bug 1325320 - change SVGGeometryElement::GetOrBuildPath to take DrawTarget as a pointer since all its callers have drawTarget as a pointer themselves.
This is consistent with most other methods that take a drawTarget parameter r=dholbert

--HG--
extra : amend_source : 77aa7f7d9cb19f9aa08014fff3b209dc151b75f3
2018-03-09 07:36:13 +00:00
Bas Schouten e15b1f553e Bug 1440753 - Addendum: Initialize local bool to satisfy valgrind which somehow got upset. r=mattwoodrow
MozReview-Commit-ID: AWmaObPEZHH
2018-03-09 07:05:21 +01:00
Bas Schouten cf1a0d14c2 Bug 1440753: Replace pixman regions with our own region code. r=mattwoodrow
MozReview-Commit-ID: KPsTAw3Uwa2
2018-03-09 05:27:15 +01:00
Nicholas Nethercote 0e2f1f5ab8 Bug 1444031 - Rename nsStaticAtom::mAtom as mAtomp. r=froydnj
Because (a) that name better indicates that it's a pointer to a pointer, and
(b) because nsStaticAtom::mString is going to be renamed as mAtom in bug
1411469.

MozReview-Commit-ID: D5tuNOstMgr

--HG--
extra : rebase_source : 9344eeea0288c8c52c069ce21e8bc55f6e0f3f6f
2018-03-08 11:42:06 +11:00
Csoregi Natalia d61cdcf041 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-09 02:20:43 +02:00
Narcis Beleuzu 67adc3007a Merge mozilla-central to autoland. CLOSED TREE 2018-03-08 20:03:58 +02:00
Brindusan Cristian eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Brindusan Cristian 588d8120aa Merge autoland to mozilla-central. a=merge 2018-03-08 19:58:38 +02:00
Narcis Beleuzu d069c08959 Backed out changeset 93a515ea1721 (bug 1442020) for bc failures on /browser_devices_get_user_media_tear_off_tab.js. a=backout 2018-03-08 19:48:58 +02:00
Brindusan Cristian 9b55951a57 Backed out changeset 2c63728fdf4b (bug 1438990) for reftest failures on clipping-6.html 2018-03-08 14:24:33 +02:00
Matt Woodrow 7636eef464 Bug 1440966 - Store optimized Layer in DisplayItemData as part of AddPaintedLayerFor. r=jnicol 2018-03-07 15:42:43 +13:00
Matt Woodrow e08fd4e616 Bug 1438990 - Remove common clip count code from FrameLayerBuilder, as it's no longer necessary now that we have ASRs. r=mstange
* * *
[mq]: fix

MozReview-Commit-ID: F3tlwtmGlvL
2018-03-07 15:40:42 +13:00
Matt Woodrow 20a885856b Back out changeset dd8af18e26d4 (Bug 1439809) for having incorrect merging behaviour and causing crashes. r=backout 2018-03-08 20:00:41 +13:00
Xidorn Quan ae0176dff3 Bug 1443046 - Construct URLValue eagerly and share it between specified value and style structs. r=emilio
MozReview-Commit-ID: CxbAsRzTNYm

--HG--
extra : rebase_source : 51136b3b596fa03b0814a82485399a7dad41c458
2018-03-08 15:08:13 +11:00
Eric Rahm 4f6df203c9 Bug 1442491 - Convert PLHash instances in PressShell to nsClassHashtables. r=dholbert
--HG--
extra : rebase_source : 058ce46be7173da804505caefeb9a4a0bc88e5eb
2018-03-01 18:59:13 -08:00
Eric Rahm 38563e186d Bug 1442480 - Switch nsNodeInfoHash to a nsDataHashTable. r=smaug
This switches `nsNodeInfoHash` to a nsDataHashTable. The hash function and
equality operator are moved to NodeInfoInner so that they can be easily reused.

--HG--
extra : rebase_source : d2e42447a77ffdde620508da28554528ebd78bf8
2018-03-01 15:33:52 -08:00
Kartikaya Gupta 83395962a2 Bug 1443807 - Update reftest annotations for changes in WR PR 2487. r=jrmuizel
MozReview-Commit-ID: 2GmItjRPNBz

--HG--
extra : rebase_source : b37f1e1894eaf325ff1cb488fc08a15feddaf487
2018-03-09 08:39:46 -05:00
Neerja Pancholi a972280d60 Bug 1338039 - Add extremely permissive fuzzy annotation for box-sizing-replaced-001.xht to prevent failures due to paint delay reduction. r=dholbert
The test that we are updating the fuzzy annotation for is the W3C copy. There is an *existing* local copy of this test that
was created as part of Bug 1295466 (copy of test is here->https://searchfox.org/mozilla-central/source/layout/reftests/bugs/1295466-1.xhtml)
and this copy is the stricter modified version which makes it ok for us to have this extremely permissive annotation on the W3C copy.

MozReview-Commit-ID: 2qXSbVONl64

--HG--
extra : rebase_source : f8b1eb2f79a9bc60155f0b8f2eaedc248fba38d8
2018-03-07 13:59:50 -08:00
Daniel Holbert 5110d9e202 Bug 1443672: Adjust a few .cpp files in layout to #include their own header first. r=emilio
MozReview-Commit-ID: L4ZSDT5Akhi

--HG--
extra : rebase_source : 4795c4eaf84957639f446471788697956fe2bf17
2018-03-06 15:59:36 -08:00
Botond Ballo b4385a3fda Bug 1442767 - Rename Box to RectAbsolute (Gecko changes). r=kats
MozReview-Commit-ID: 1wrzwQw8bdx

--HG--
rename : gfx/src/nsCoordBox.h => gfx/src/nsRectAbsolute.h
extra : rebase_source : ec71a9add57c07887cb37f2d105390072e13d98d
2018-03-05 18:08:18 -05:00
Mike Conley b797442465 Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 283c263a33b924e50170ae26f049d98b825f6f1d
2018-02-28 16:15:51 -05:00
Hiroyuki Ikezoe 581ad12972 Bug 1443423 - Call Animation::Play() or Pause() directly from CSSAnimation::XXXFromStyle(). r=birtles
When CSS animation playState is changed, we should call RequestRestyle(Layer)
to reflect the new state to the compositor just like when animation timing
params are changed.

MozReview-Commit-ID: JNDBco5uuK2

--HG--
extra : rebase_source : cc7de301efdb18a97597d94682ff2329ee1f60d6
2018-03-07 11:48:30 +09:00
Hiroyuki Ikezoe be2fe6bf8c Bug 1437272 - Split nsTimingFunction into an independent header file. r=birtles
So that we don't need to include nsStyleStruct.h in gfx any more.

MozReview-Commit-ID: 6nOaAbssLCz

--HG--
extra : rebase_source : 9c195c90277a4584dc14a6949e9eea53bcd8487c
2018-03-08 18:22:45 +09:00
Emilio Cobos Álvarez 00c01ddc68 Bug 1443753: Tidy PresShell.h. r=dholbert
Summary:
 * Remove unnecessary virtual, since we also override.
 * Remove unnecessary mozilla:: qualification, since we are in the mozilla
   namespace already.
 * Avoid inconsistently-followed member-variable indentation.
 * Make the destructor not virtual, since it doesn't override anything and this
   is a final class (the destructor is called from the virtual Release()).

Reviewers: dholbert

Bug #: 1443753

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

MozReview-Commit-ID: Hy2aKuhoOKd
2018-03-08 09:26:14 +01:00
Brad Werth 8481de6863 Bug 1444227 Part 1: Re-enable the test on stylo. r=emilio
MozReview-Commit-ID: KSwcm7SV2Jo

--HG--
extra : rebase_source : 26947bac92356cd382d9872a24a47634e9415334
2018-03-08 14:30:10 -08:00
Hiroyuki Ikezoe e6806e41d7 Bug 1444221 - #ifdef out some animation related stuff for MOZ_OLD_STYLE. r=xidorn
MozReview-Commit-ID: 9VC4qUbO6uK

--HG--
extra : rebase_source : 79113eb99cd784dc9a591bb9529381a932f07f97
2018-03-09 07:09:44 +09:00
L. David Baron eabc90a51d Bug 1444136 - Move images into support subdirectory so they work in the built CSS testsuite. r=gsnedders
This patch was written using the commands (in layout/reftests/w3c-css/submitted/background/):
```
mkdir support
hg mv *.png support/
ls support/ | while read FNAME; do sed -i -e "s,$FNAME,support/$FNAME,g" *.html; done
```

MozReview-Commit-ID: AqOcWOZPi3Y

--HG--
rename : layout/reftests/w3c-css/submitted/background/aqua-yellow-32x32.png => layout/reftests/w3c-css/submitted/background/support/aqua-yellow-32x32.png
rename : layout/reftests/w3c-css/submitted/background/aqua-yellow-37x37.png => layout/reftests/w3c-css/submitted/background/support/aqua-yellow-37x37.png
rename : layout/reftests/w3c-css/submitted/background/border.png => layout/reftests/w3c-css/submitted/background/support/border.png
rename : layout/reftests/w3c-css/submitted/background/reticule-bl.png => layout/reftests/w3c-css/submitted/background/support/reticule-bl.png
rename : layout/reftests/w3c-css/submitted/background/reticule-bo.png => layout/reftests/w3c-css/submitted/background/support/reticule-bo.png
rename : layout/reftests/w3c-css/submitted/background/reticule-br.png => layout/reftests/w3c-css/submitted/background/support/reticule-br.png
rename : layout/reftests/w3c-css/submitted/background/reticule-ct.png => layout/reftests/w3c-css/submitted/background/support/reticule-ct.png
rename : layout/reftests/w3c-css/submitted/background/reticule-le.png => layout/reftests/w3c-css/submitted/background/support/reticule-le.png
rename : layout/reftests/w3c-css/submitted/background/reticule-ri.png => layout/reftests/w3c-css/submitted/background/support/reticule-ri.png
rename : layout/reftests/w3c-css/submitted/background/reticule-tl.png => layout/reftests/w3c-css/submitted/background/support/reticule-tl.png
rename : layout/reftests/w3c-css/submitted/background/reticule-to.png => layout/reftests/w3c-css/submitted/background/support/reticule-to.png
rename : layout/reftests/w3c-css/submitted/background/reticule-tr.png => layout/reftests/w3c-css/submitted/background/support/reticule-tr.png
rename : layout/reftests/w3c-css/submitted/background/reticule.png => layout/reftests/w3c-css/submitted/background/support/reticule.png
extra : rebase_source : 278586f66ce9ea114da920b0d4df1e5dde5ad278
2018-03-08 12:15:11 -08:00
Daniel Holbert 0b54929413 Bug 1443929: Give RestyleManager.cpp an include for nsTransitionManager.h (which it needs/uses). r=emilio
MozReview-Commit-ID: vtQVYKDcCM

--HG--
extra : rebase_source : 144e7f026429dfa780377ffd82bbaf6a77344100
2018-03-07 13:40:58 -08:00
Noemi Erli 2062223489 Backed out changeset 04fecea9eaf0 (bug 1443672) as per dholbert's request on a CLOSED TREE 2018-03-07 20:55:26 +02:00
Daniel Holbert 93e46d9a9b Bug 1443672: Adjust a few .cpp files in layout to #include their own header first. r=emilio
MozReview-Commit-ID: L4ZSDT5Akhi

--HG--
extra : rebase_source : 4795c4eaf84957639f446471788697956fe2bf17
2018-03-06 15:59:36 -08:00
Bogdan Tara f93e407658 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-07 12:06:25 +02:00
Emilio Cobos Álvarez c976615ed6 Bug 1024082: Remove PresShell::FrameManager(), use PresShell::FrameConstructor instead. r=dholbert
Unfortunately this means that we need to export a couple more headers, but that
should be ok.

In particular, we have to export some headers that are #included by
nsCSSFrameConstructor.h, because nsCSSFrameConstructor.h itself will now be
included in more places outside of layout/, by .cpp files that don't necessarily
have the ability to indirectly #include its other headers, unless we export
them.

MozReview-Commit-ID: 2n9KHW6Yjrd
2018-03-07 10:17:52 +01:00
Emilio Cobos Álvarez 043503a6d4 Bug 1024082: Remove most of the nsIPresShell::FrameManager calls. r=dholbert
Most of them just want GetRootFrame(), and there's no need to explicitly go
through the frame manager for that, we have a handy alias in the shell.

MozReview-Commit-ID: GriEqkasidY
2018-03-07 10:17:49 +01:00
Emilio Cobos Álvarez 72f6feaa97 Bug 1024082: Remove nsFrameManagerBase. r=dholbert
Instead move UndisplayedNode to its own file, which is what causes the include
hell due to requiring nsIContent / nsStyleContext.

MozReview-Commit-ID: 1opiajueZNb
2018-03-07 10:17:48 +01:00
Jeff Walden 76b527d6d8 Bug 1443342 - Don't blacklist nsCSSProps.cpp:SortPropertyAndCount from integer-overflow sanitizing. r=froydnj
--HG--
extra : rebase_source : b5d9da242923e0ae43abf6a508e0298b64741466
2018-03-06 09:34:04 -08:00
Xidorn Quan f276e38c01 Bug 1375913 - Do not disable thread pool in the parent process. r=bholley
MozReview-Commit-ID: 2EMq1IdlEof

--HG--
extra : source : cca6b27458bc7ffaaf59765907bd9ef8f62ee87d
extra : intermediate-source : 22231bda44877a5a5c17b65e1c9b750118eabe5d
2018-03-07 14:30:11 +11:00
Boris Zbarsky 826d1e3167 Bug 1443344. Flag a parent sheet load as failed if an import is blocked by content policy. r=bholley
MozReview-Commit-ID: AArgnuHbCYL
2018-03-06 14:45:27 -05:00
Boris Zbarsky ccac7d9846 Bug 1442126. Make sure to consistently fail a sheet load if any of its imports fail. r=bholley
This fixes a race where we would fail if and only if our last-to-complete import failed.

MozReview-Commit-ID: L33bIxlkj08
2018-03-06 14:45:27 -05:00
Kartikaya Gupta 45d31fa895 Bug 1442627 - Stop exporting APZCTreeManager.h in mozilla/layers/. r=botond
MozReview-Commit-ID: GC5fSWOYtF5

--HG--
extra : rebase_source : e2dfe679595bf9208e082699a99375cd509b66e3
2018-03-06 10:25:39 -05:00
Kartikaya Gupta b18710abb6 Bug 1442627 - Move static helpers from APZCTreeManager to APZUtils. r=botond
This also includes unified build fixes that were needed as a result of
the shuffling around.

MozReview-Commit-ID: 1AGG3DHnN1m

--HG--
extra : rebase_source : 7399cea6dff2bd91ab305dee22d93b32382cc0be
2018-03-06 10:25:39 -05:00
Emilio Cobos Álvarez 5f157cdc49 Bug 1443205: followup: Fix a typo from the previous patch. r=me
MozReview-Commit-ID: Iv3sGbJUin8
2018-03-06 11:04:55 +01:00
Emilio Cobos Álvarez 8a71d9537a Bug 1443205: Convert media feature values to enum classes. r=xidorn
Reviewers: xidorn

Bug #: 1443205

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

MozReview-Commit-ID: E0zQHBv0Ysc
2018-03-06 10:04:08 +01:00
Chris Peterson 73675ec9f2 Bug 1443402 - Fix some -Wmissing-prototypes warnings in layout. r=dholbert
-Wmissing-prototypes is a new optional warning available in clang ToT. It warns about global functions that have no previous function declaration (e.g. from an #included header file). These functions can probably be made static (allowing the compiler to better optimize them) or they may be unused.

Confusingly, clang's -Wmissing-prototypes is equivalent to gcc's -Wmissing-declarations, not gcc's -Wmissing-prototypes. A function prototype is a function declaration that specifies the function's argument types. C++ requires that all function declarations specify their argument types, but C does not. As such, gcc's -Wmissing-prototypes is a C-only warning about C functions that have no previous function *prototypes* (with argument types), even if a previous function *declaration* (without argument types) was seen.

MozReview-Commit-ID: FGKVLzeQ2oK

--HG--
extra : rebase_source : 81e62163bf41a5d5dd87abf5397e6e8c62ed4096
extra : source : 653a9fc279e2f6a6d066474a94a70d65ac703d6b
2018-02-22 21:03:45 -08:00
Cosmin Sabou c17d867e25 Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.js => browser/modules/AsyncTabSwitcher.jsm
2018-03-06 06:27:48 +02:00
Kannan Vijayan 627eb6ae9a Bug 1411415 - r=bz r=fitzgen 2018-03-05 19:27:02 -05:00
Hiroyuki Ikezoe 0476fc2aa7 Bug 1442861 - Clear mNeedStyleFlush flag after ProcessPendingRestyles(). r=emilio
mNeedStyleFlush is also set by animation restyle request.  So it's possible
that the flag is set again in PostRestyleForThrottledAnimations() or in
sequential tasks for updating animations after the flag is cleared at the top
DoFlushPendingNotifications().

MozReview-Commit-ID: KPSS6cJb4HX

--HG--
extra : rebase_source : 31d839f12b654d52b352cd50e19bc1953c46b7c2
2018-03-06 06:34:02 +09:00
Jonathan Kew 195f35adee Bug 253143 - Do not add letter-spacing after zero-width format controls such as ZWSP. r=jwatt 2018-03-05 21:57:57 +00:00
Geoff Brown 1ca8ea6a02 Bug 1443177 - Support 'verify' in reftest sandbox; r=jmaher 2018-03-05 14:39:53 -07:00
Emilio Cobos Álvarez 41e05df804 Bug 1443483: FlushTarget doesn't really make sense. r=xidorn
Summary:
FlushTarget wants to decide whether we should flush the parent document or all
of them. However, the only point of flushing parent documents is that media
query changes could affect the document we really want to flush.

That's completely pointless if we actually don't flush the subdocument, so just
skip doing that. This case is already checked (see the DocumentNeedsRestyle
stuff, which is also somewhat poorly named, which walks up the document chain).

Reviewers: xidorn

Bug #: 1443483

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

MozReview-Commit-ID: LiI7IrUBeqq
2018-03-07 01:09:46 +01:00
Jonathan Watt 88c85e4536 Bug 499025 - Don't open an error pop-up if the user cancels printing. r=bobowen
This fixes PrintTargetWindows::BeginPrinting to detect when the
user cancels and have it return NS_ERROR_ABORT in that case.

The rest of the changes are simply making sure that the various
call points up the call stack don't print a warning message if
NS_ERROR_ABORT is returned up from
PrintTargetWindows::BeginPrinting.

MozReview-Commit-ID: 6xZ5SPje6TT
2018-02-06 20:14:47 +00:00
Nathan Froyd 062f6d980e Bug 1443236 - remove static init and shutdown nsRegion routines; r=kats
These routines are no-ops; let's get rid of them.
2018-03-05 14:06:50 -05:00
Cosmin Sabou d1fd0be305 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-05 20:16:04 +02:00
Cosmin Sabou afd17d1bf7 Merge inbound to mozilla-central. a=merge 2018-03-05 20:12:38 +02:00
Emilio Cobos Álvarez 4657059140 Bug 1437155: Expect an assertion on the old style system. r=me
The old style system can't find the appropriate style to inherit from when
::first-line and display: contents are involved...

MozReview-Commit-ID: 98t1ABgLulQ
2018-03-05 16:20:35 +01:00
Margareta Eliza Balazs acef52f8d3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-05 11:48:38 +02:00
Bob Owen 2c3ffe3ac4 Bug 1441598: Don't try and send messages to PrintProgressDialogChild when printing is complete. r=jwatt 2018-03-05 08:22:14 +00:00
Hiroyuki Ikezoe 0206c630c9 Bug 1428693 - Use GetOverflowAreasRelativeToSelf() instead of GetOverflowAreas() for scrollable parent. r=mattwoodrow
Because the scrollable parent might be transformed by its ancestors.

MozReview-Commit-ID: FuCPLg54z7h

--HG--
extra : rebase_source : 7c11c5384d2aed6c663b915fcacae7c627052a43
2018-03-05 07:55:32 +09:00
Emilio Cobos Álvarez dc83850d63 Bug 1437155: Avoid giving a first-letter frame to a display: contents element. r=mats
It doesn't make sense, since they have no frame themselves, and it breaks
invariants other code relies on. Use the parent frame instead.

The stack overflow happens because we give the first-letter frame to the
display: contents element, then we reframe it.

Removing a display: contents node calls ContentRemoved on all the children. One
of these children is this text-node inside the first-letter frame. Since it was
split by bidi resolution we go ahead and reframe the parent in:

  https://searchfox.org/mozilla-central/rev/d2b4b40901c15614fad2fa34718eea428774306e/layout/base/nsCSSFrameConstructor.cpp#9688

But the parent is the display: contents node, which results in infinite
recursion.

The usage of GetParent() is wrong anyway too, since it doesn't handle XBL or
Shadow DOM in any way.

MozReview-Commit-ID: JFD16at316V

--HG--
extra : rebase_source : e485b45bc146a70c26f8534f760899218da07500
2018-03-05 11:42:12 +01:00
Emilio Cobos Álvarez c7ca6716ed Bug 1443101: Assert Gecko_ContentList_AppendAll is main-thread-only. r=xidorn
It's only used for DOM APIs.

MozReview-Commit-ID: EFMLH4yDtBf

--HG--
extra : rebase_source : 538ed6f07ba409c1c39b1967af3fa4bf7cf74987
2018-03-05 12:01:31 +01:00
Jonathan Kew 39f06257ec Bug 1435692 - Add a reftest for font-optical-sizing with OpenType Variation fonts. r=jwatt 2018-03-03 22:12:15 +01:00
Jonathan Kew e1e7553c5f Bug 1435692 - patch 2 - Implement the font-optical-sizing property in the Gecko style system, to control whether optical size is automatically applied. r=jwatt
MozReview-Commit-ID: ClcWeX6Hsvm
2018-03-03 22:12:11 +01:00
Emilio Cobos Álvarez 844c66e0c8 Bug 1442246: Copy less URLs on stylo. r=jdm
MozReview-Commit-ID: NmHue1mGDq
2018-03-03 20:37:52 +01:00
Mike Cooper 466bc9466e Bug 1436113 - Part 2: Refactor "shield-recipe-client" to "normandy" r=Gijs
MozReview-Commit-ID: 8i9Jrq8rj3W

--HG--
extra : rebase_source : 9fb6772a231d214659d024348a52997c74dd5523
extra : amend_source : 312164e67feb3ac43b6b760cad73a2ff6e1f601a
extra : source : 8ccf1c3f156f19293c8a692585a663c5f685d195
2018-03-02 11:18:59 -08:00
Emilio Cobos Álvarez ee1509e8fe Bug 1442318. r=jdm
MozReview-Commit-ID: 2qfmMO4M14Z
2018-03-02 20:40:19 +01:00
Andreea Pavel 6e194b7c24 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-02 18:24:58 +02:00
Andreea Pavel 1a958ddba5 Merge autoland to mozilla-central. a=merge 2018-03-02 18:19:20 +02:00
Sebastian Hengst 16f523f1ac Bug 1442428 - Annotate css-disabled/select/select-fieldset-legend-4.html reftest: Fix second fuzzy-if; r=me,a=test-only 2018-03-02 17:04:45 +02:00
Ciure Andrei 199c24a789 Merge inbound to mozilla-central. a=merge 2018-03-02 12:16:06 +02:00
Ciure Andrei 71383d1213 Merge autoland to mozilla-central. a=merge 2018-03-02 12:13:33 +02:00
Bogdan Tara df1787e902 Bug 1442428 - Annotate css-disabled/select/select-fieldset-legend-4.html reftest so it passes on Android; r=me,a=test-only 2018-03-02 11:34:40 +02:00
Dorel Luca 3ccafa2b66 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-02 00:09:29 +02:00
Xidorn Quan 5b522decf1 Bug 1441729 - Remove aTextIsSignificant param from nsStyleUtil::IsSignificantChild and its friends. r=emilio
MozReview-Commit-ID: CEZmAwcnglg

--HG--
extra : rebase_source : 4b5526baaf6a5fdee658ae5bdecb46e719bb2d38
2018-02-28 12:54:01 +11:00
Tiberius Oros be676ac217 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-01 19:34:54 +02:00
Tiberius Oros 61d400da1c Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
Sebastian Hengst 405622e7b5 Bug 1440938 - Fall back to cairo's glyph metrics API if FreeType fails in some way, or if we're not using a variation font: Add back annotations for failing Android reftests. r=test-fix CLOSED TREE
--HG--
extra : amend_source : 31148a09ffdc5ba2dac05877d821991155ff59a7
2018-03-01 21:41:25 +02:00
Sebastian Hengst 118e03a936 merge mozilla-central to mozilla-inbound 2018-03-01 20:32:20 +02:00
Kartikaya Gupta e38ffe883b Bug 1440664 - Update reftest annotation for changes in WR PR 2471. r=jrmuizel
MozReview-Commit-ID: A75y6OtL4AR

--HG--
extra : rebase_source : 2573804a6aabed4a31ce68cc96c4fc4e5660210c
2018-03-01 16:53:00 -05:00
Kartikaya Gupta 1edc77ffd1 Bug 1440664 - Update reftest annotation for WR PR 2443. r=jrmuizel
MozReview-Commit-ID: L941zlptWWM

--HG--
extra : rebase_source : 486ac26cdbf2cd9106c4551b077e457da4167f62
2018-03-01 16:52:51 -05:00
Matt Woodrow 646790055d Bug 1440177 - Part 7: Don't allocate new clips when flattening nsDisplayOpacity. r=mstange
Combing the two clips as-is should always be correct, and since they're frequently identical, we can usually make IntersectClip a no-op.

MozReview-Commit-ID: 3xxMyZjwPvJ

--HG--
extra : rebase_source : 8ae4891b88d7229a685771c13a98d3578ffb8767
2018-03-02 11:19:17 +13:00
Matt Woodrow 1e2b3f200e Bug 1440177 - Part 6: Don't dereference display items during AddPaintedDisplayItem for the LAYER_NONE case. r=jnicol
The display items are almost certainly gone from the cache at this point, so dereferencing them can take a while.
This moves the DisplayItemData lookup, and the IsReused/HasMergedFrames checks into the ProcessDisplayItems pass (where we already use the items), and then just uses the AssignedDisplayItem entry for everything.

MozReview-Commit-ID: 8udcE0bmyF3

--HG--
extra : rebase_source : 594513ef2c7d68b42e56b0536f8f6372fa9de90f
2018-03-02 11:19:17 +13:00
Masatoshi Kimura b1b043af08 Bug 1442266 - Stop including unnecessary <iostream>. r=froydnj
MozReview-Commit-ID: B0JDqyBanFE

--HG--
extra : rebase_source : dec1e2678083e3fb2b9a6b89322d1fa747ed6d4a
2018-03-01 23:07:56 +09:00
Narcis Beleuzu d970361c95 Backed out 2 changesets (bug 1436113) for bc failures on browser_about_studies.js
Backed out changeset 8ccf1c3f156f (bug 1436113)
Backed out changeset 18a7f08a6cdc (bug 1436113)

--HG--
rename : toolkit/components/normandy/content/AboutPages.jsm => browser/extensions/shield-recipe-client/content/AboutPages.jsm
rename : toolkit/components/normandy/content/about-studies/about-studies.css => browser/extensions/shield-recipe-client/content/about-studies/about-studies.css
rename : toolkit/components/normandy/content/about-studies/about-studies.html => browser/extensions/shield-recipe-client/content/about-studies/about-studies.html
rename : toolkit/components/normandy/content/about-studies/about-studies.js => browser/extensions/shield-recipe-client/content/about-studies/about-studies.js
rename : toolkit/components/normandy/content/about-studies/common.js => browser/extensions/shield-recipe-client/content/about-studies/common.js
rename : toolkit/components/normandy/content/about-studies/img/shield-logo.png => browser/extensions/shield-recipe-client/content/about-studies/img/shield-logo.png
rename : toolkit/components/normandy/content/about-studies/shield-studies.js => browser/extensions/shield-recipe-client/content/about-studies/shield-studies.js
rename : toolkit/components/normandy/content/shield-content-frame.js => browser/extensions/shield-recipe-client/content/shield-content-frame.js
rename : toolkit/components/normandy/content/shield-content-process.js => browser/extensions/shield-recipe-client/content/shield-content-process.js
rename : toolkit/components/normandy/docs/data-collection.rst => browser/extensions/shield-recipe-client/docs/data-collection.rst
rename : toolkit/components/normandy/docs/index.rst => browser/extensions/shield-recipe-client/docs/index.rst
rename : toolkit/components/normandy/jar.mn => browser/extensions/shield-recipe-client/jar.mn
rename : toolkit/components/normandy/lib/ActionSandboxManager.jsm => browser/extensions/shield-recipe-client/lib/ActionSandboxManager.jsm
rename : toolkit/components/normandy/lib/AddonStudies.jsm => browser/extensions/shield-recipe-client/lib/AddonStudies.jsm
rename : toolkit/components/normandy/lib/Addons.jsm => browser/extensions/shield-recipe-client/lib/Addons.jsm
rename : toolkit/components/normandy/lib/CleanupManager.jsm => browser/extensions/shield-recipe-client/lib/CleanupManager.jsm
rename : toolkit/components/normandy/lib/ClientEnvironment.jsm => browser/extensions/shield-recipe-client/lib/ClientEnvironment.jsm
rename : toolkit/components/normandy/lib/EventEmitter.jsm => browser/extensions/shield-recipe-client/lib/EventEmitter.jsm
rename : toolkit/components/normandy/lib/FilterExpressions.jsm => browser/extensions/shield-recipe-client/lib/FilterExpressions.jsm
rename : toolkit/components/normandy/lib/Heartbeat.jsm => browser/extensions/shield-recipe-client/lib/Heartbeat.jsm
rename : toolkit/components/normandy/lib/LogManager.jsm => browser/extensions/shield-recipe-client/lib/LogManager.jsm
rename : toolkit/components/normandy/lib/NormandyApi.jsm => browser/extensions/shield-recipe-client/lib/NormandyApi.jsm
rename : toolkit/components/normandy/lib/NormandyDriver.jsm => browser/extensions/shield-recipe-client/lib/NormandyDriver.jsm
rename : toolkit/components/normandy/lib/PreferenceExperiments.jsm => browser/extensions/shield-recipe-client/lib/PreferenceExperiments.jsm
rename : toolkit/components/normandy/lib/PreferenceFilters.jsm => browser/extensions/shield-recipe-client/lib/PreferenceFilters.jsm
rename : toolkit/components/normandy/lib/RecipeRunner.jsm => browser/extensions/shield-recipe-client/lib/RecipeRunner.jsm
rename : toolkit/components/normandy/lib/Sampling.jsm => browser/extensions/shield-recipe-client/lib/Sampling.jsm
rename : toolkit/components/normandy/lib/SandboxManager.jsm => browser/extensions/shield-recipe-client/lib/SandboxManager.jsm
rename : toolkit/components/normandy/lib/ShieldPreferences.jsm => browser/extensions/shield-recipe-client/lib/ShieldPreferences.jsm
rename : toolkit/components/normandy/lib/Storage.jsm => browser/extensions/shield-recipe-client/lib/Storage.jsm
rename : toolkit/components/normandy/lib/TelemetryEvents.jsm => browser/extensions/shield-recipe-client/lib/TelemetryEvents.jsm
rename : toolkit/components/normandy/lib/Uptake.jsm => browser/extensions/shield-recipe-client/lib/Uptake.jsm
rename : toolkit/components/normandy/lib/Utils.jsm => browser/extensions/shield-recipe-client/lib/Utils.jsm
rename : toolkit/components/normandy/moz.build => browser/extensions/shield-recipe-client/moz.build
rename : toolkit/components/normandy/skin/osx/Heartbeat.css => browser/extensions/shield-recipe-client/skin/osx/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/Heartbeat.css => browser/extensions/shield-recipe-client/skin/shared/Heartbeat.css
rename : toolkit/components/normandy/skin/shared/heartbeat-icon.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-icon.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-lit.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-lit.svg
rename : toolkit/components/normandy/skin/shared/heartbeat-star-off.svg => browser/extensions/shield-recipe-client/skin/shared/heartbeat-star-off.svg
rename : toolkit/components/normandy/test/.eslintrc.js => browser/extensions/shield-recipe-client/test/.eslintrc.js
rename : toolkit/components/normandy/test/browser/.eslintrc.js => browser/extensions/shield-recipe-client/test/browser/.eslintrc.js
rename : toolkit/components/normandy/test/browser/action_server.sjs => browser/extensions/shield-recipe-client/test/browser/action_server.sjs
rename : toolkit/components/normandy/test/browser/browser.ini => browser/extensions/shield-recipe-client/test/browser/browser.ini
rename : toolkit/components/normandy/test/browser/browser_ActionSandboxManager.js => browser/extensions/shield-recipe-client/test/browser/browser_ActionSandboxManager.js
rename : toolkit/components/normandy/test/browser/browser_AddonStudies.js => browser/extensions/shield-recipe-client/test/browser/browser_AddonStudies.js
rename : toolkit/components/normandy/test/browser/browser_Addons.js => browser/extensions/shield-recipe-client/test/browser/browser_Addons.js
rename : toolkit/components/normandy/test/browser/browser_CleanupManager.js => browser/extensions/shield-recipe-client/test/browser/browser_CleanupManager.js
rename : toolkit/components/normandy/test/browser/browser_ClientEnvironment.js => browser/extensions/shield-recipe-client/test/browser/browser_ClientEnvironment.js
rename : toolkit/components/normandy/test/browser/browser_EventEmitter.js => browser/extensions/shield-recipe-client/test/browser/browser_EventEmitter.js
rename : toolkit/components/normandy/test/browser/browser_FilterExpressions.js => browser/extensions/shield-recipe-client/test/browser/browser_FilterExpressions.js
rename : toolkit/components/normandy/test/browser/browser_Heartbeat.js => browser/extensions/shield-recipe-client/test/browser/browser_Heartbeat.js
rename : toolkit/components/normandy/test/browser/browser_LogManager.js => browser/extensions/shield-recipe-client/test/browser/browser_LogManager.js
rename : toolkit/components/normandy/test/browser/browser_NormandyDriver.js => browser/extensions/shield-recipe-client/test/browser/browser_NormandyDriver.js
rename : toolkit/components/normandy/test/browser/browser_PreferenceExperiments.js => browser/extensions/shield-recipe-client/test/browser/browser_PreferenceExperiments.js
rename : toolkit/components/normandy/test/browser/browser_RecipeRunner.js => browser/extensions/shield-recipe-client/test/browser/browser_RecipeRunner.js
rename : toolkit/components/normandy/test/browser/browser_ShieldPreferences.js => browser/extensions/shield-recipe-client/test/browser/browser_ShieldPreferences.js
rename : toolkit/components/normandy/test/browser/browser_Storage.js => browser/extensions/shield-recipe-client/test/browser/browser_Storage.js
rename : toolkit/components/normandy/test/browser/browser_about_preferences.js => browser/extensions/shield-recipe-client/test/browser/browser_about_preferences.js
rename : toolkit/components/normandy/test/browser/browser_about_studies.js => browser/extensions/shield-recipe-client/test/browser/browser_about_studies.js
rename : toolkit/components/normandy/test/browser/browser_Normandy.js => browser/extensions/shield-recipe-client/test/browser/browser_bootstrap.js
rename : toolkit/components/normandy/test/browser/fixtures/addon-fixture/manifest.json => browser/extensions/shield-recipe-client/test/browser/fixtures/addon-fixture/manifest.json
rename : toolkit/components/normandy/test/browser/fixtures/normandy.xpi => browser/extensions/shield-recipe-client/test/browser/fixtures/normandy.xpi
rename : toolkit/components/normandy/test/browser/head.js => browser/extensions/shield-recipe-client/test/browser/head.js
rename : toolkit/components/normandy/test/unit/.eslintrc.js => browser/extensions/shield-recipe-client/test/unit/.eslintrc.js
rename : toolkit/components/normandy/test/unit/echo_server.sjs => browser/extensions/shield-recipe-client/test/unit/echo_server.sjs
rename : toolkit/components/normandy/test/unit/head_xpc.js => browser/extensions/shield-recipe-client/test/unit/head_xpc.js
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/invalid_recipe_signature_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/implementation/sha384-RGx3rydrSq53UfmW9kFcK0mQYra67XIvZvr4MhmAe--ljiiMQOtgM7Cmca48um3v
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/console-log/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/console-log/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/implementation/sha384-HM_avYcD00o27ufwU1V7PIBtiuMAXML6MMwlYrDEqDX-XzGVuOfL52RCM680JExN
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/opt-out-study/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/opt-out-study/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/implementation/sha384-KQgG38GQ7KZAb2VIB48ANQO6nBcxZoLm2ORzUviRT5nAvSywyPjZ5cJIElw6iXIt
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/preference-experiment/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/preference-experiment/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4 => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/implementation/sha384-dEGiyKPEln8Ns5cQHzGpMIGdirSAAX0X-Kwlu-U3sJ05yNbO-ANij_a6c5SyL7G4
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/show-heartbeat/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/show-heartbeat/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/action/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/action/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/classify_client/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/classify_client/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/index.json
rename : toolkit/components/normandy/test/unit/mock_api/api/v1/recipe/signed/index.json => browser/extensions/shield-recipe-client/test/unit/mock_api/api/v1/recipe/signed/index.json
rename : toolkit/components/normandy/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain => browser/extensions/shield-recipe-client/test/unit/mock_api/normandy.content-signature.mozilla.org-20210705.dev.chain
rename : toolkit/components/normandy/test/unit/query_server.sjs => browser/extensions/shield-recipe-client/test/unit/query_server.sjs
rename : toolkit/components/normandy/test/unit/test_NormandyApi.js => browser/extensions/shield-recipe-client/test/unit/test_NormandyApi.js
rename : toolkit/components/normandy/test/unit/test_Sampling.js => browser/extensions/shield-recipe-client/test/unit/test_Sampling.js
rename : toolkit/components/normandy/test/unit/test_SandboxManager.js => browser/extensions/shield-recipe-client/test/unit/test_SandboxManager.js
rename : toolkit/components/normandy/test/unit/test_Utils.js => browser/extensions/shield-recipe-client/test/unit/test_Utils.js
rename : toolkit/components/normandy/test/unit/utils.js => browser/extensions/shield-recipe-client/test/unit/utils.js
rename : toolkit/components/normandy/test/unit/xpcshell.ini => browser/extensions/shield-recipe-client/test/unit/xpcshell.ini
rename : toolkit/components/normandy/vendor/LICENSE_THIRDPARTY => browser/extensions/shield-recipe-client/vendor/LICENSE_THIRDPARTY
rename : toolkit/components/normandy/vendor/PropTypes.js => browser/extensions/shield-recipe-client/vendor/PropTypes.js
rename : toolkit/components/normandy/vendor/React.js => browser/extensions/shield-recipe-client/vendor/React.js
rename : toolkit/components/normandy/vendor/ReactDOM.js => browser/extensions/shield-recipe-client/vendor/ReactDOM.js
rename : toolkit/components/normandy/vendor/classnames.js => browser/extensions/shield-recipe-client/vendor/classnames.js
rename : toolkit/components/normandy/vendor/mozjexl.js => browser/extensions/shield-recipe-client/vendor/mozjexl.js
2018-03-01 06:44:44 +02:00
Narcis Beleuzu 6be3b8b032 Backed out 7 changesets (bug 1440177) for crashtest (on 1359658-1.html) and reftest failures
Backed out changeset f359ad5c4fc3 (bug 1440177)
Backed out changeset d63c5a6c13ae (bug 1440177)
Backed out changeset d22462ac7ee1 (bug 1440177)
Backed out changeset b7e46c4c7dc1 (bug 1440177)
Backed out changeset f92987184172 (bug 1440177)
Backed out changeset e6808a7dda3e (bug 1440177)
Backed out changeset ce353b632a31 (bug 1440177)
2018-03-01 06:21:43 +02:00
Matt Woodrow c72e4fb667 Bug 1440177 - Part 5: Don't call GetDisplayItemDataForManager in AddPaintedDisplayItem since we already have it passed in as a parameter. r=jnicol
MozReview-Commit-ID: CfHL0Kqto6X

--HG--
extra : rebase_source : 02ceb42a81030527f4320de9b8bcbef8b5a5e853
2018-02-19 12:37:01 +13:00
Matt Woodrow 897969a477 Bug 1440177 - Part 4: Avoid expensive hashtable lookups in PaintedLayerDataTree when we're in an inactive layer and want all items in the same layer. r=mstange
MozReview-Commit-ID: AWsXw2ZrL9Q

--HG--
extra : rebase_source : 98ec4dd7f2e3260ac98767704bf3a3d02cd4e734
2018-02-15 15:52:37 +13:00
Matt Woodrow 3508130537 Bug 1440177 - Part 3: Preallocate a small number of PaintedLayerData objects and only resize the mPaintedLayerDataStack once. r=jnicol
MozReview-Commit-ID: 4RvU35pBz3z

--HG--
extra : rebase_source : 9c39e02256ded8da71c24df441328a1f03c625cc
2018-02-15 14:45:35 +13:00
Ciure Andrei 234819650e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-02 12:19:09 +02:00
Adrian Wielgosik c3a7bce436 Bug 1441270 - Remove nsIDOMWebGLRenderingContext. r=jgilbert
It's now empty and unused.

MozReview-Commit-ID: KvhdDp3dqU3

--HG--
extra : rebase_source : f017bb78250d62189105918dda2708ed01ca1aec
2018-02-26 20:36:04 +01:00
Matt Woodrow 720a1bf71e Bug 1440177 - Part 2: Combine PaintedLayerItemsEntry and PaintedDisplayItemLayerUserData into a single struct. r=jnicol
These two structs store very similar state (including duplicating the mask layer common clip count), and the former uses an expensive hashtable for lookups.
This patch combines the two, and uses a vector of entries instead of the hashtable so we can do the cleanup pass.
* * *
[mq]: fix

MozReview-Commit-ID: KamhbGAIqpD

--HG--
extra : rebase_source : 2d4c1522b04018dfab5cd4eabde828349548548c
2018-02-13 15:56:43 +13:00
Matt Woodrow b68fc392ab Bug 1440177 - Part 1: Don't call GetLayerState from BuildContainerLayerFor as it recurses into child display items to find the answer. r=jnicol
MozReview-Commit-ID: 3A4OBC5L6Ps

--HG--
extra : rebase_source : 51f8b0a2dd25fbd503938c8f9742f13df609283e
2018-02-13 14:25:55 +13:00
Zhang Junzhi 101d7d588a Bug 1439882 - Removes several redundant #include directives in layout files r=dholbert
Some included headers for source code in layout directory are left unused. This
patch merely removes these redundant headers. All of these headers are still
found in use for other code, so all of them and their related cpp files are kept
still.

MozReview-Commit-ID: KCleuWyOV8Z

--HG--
extra : rebase_source : 6e892dcd8ad8c1f56069d4d93bc7124641361232
2018-03-02 04:12:39 +08:00
Dorel Luca d5ffb280ca Merge mozilla-central to autoland. r=merge on a CLOSED TREE
--HG--
extra : amend_source : 1da4c47b073cb2032ddeb3da8b88736e5a1c363d
2018-03-02 00:17:24 +02:00
arthur.iakab 1577dd49c5 Backed out 7 changesets (bug 1440177) for build bustages on a CLOSED TREE
Backed out changeset d83a1820b2f2 (bug 1440177)
Backed out changeset a77d06b2cf03 (bug 1440177)
Backed out changeset 928770efc9a3 (bug 1440177)
Backed out changeset 49b285030492 (bug 1440177)
Backed out changeset 717a696b17e0 (bug 1440177)
Backed out changeset 0840994846bf (bug 1440177)
Backed out changeset b1ba6c67264b (bug 1440177)

--HG--
extra : amend_source : 1396090c186d31b5196c2c876bcb1ccf5f1ba940
2018-03-01 23:45:23 +02:00
Matt Woodrow c1025a1ff3 Bug 1440177 - Part 7: Don't allocate new clips when flattening nsDisplayOpacity. r=mstange
Combing the two clips as-is should always be correct, and since they're frequently identical, we can usually make IntersectClip a no-op.

MozReview-Commit-ID: EKHdPogzd3t

--HG--
extra : rebase_source : 13dede364b603ff5dd889141430d5d4cd7e51e17
2018-03-02 10:06:13 +13:00
Matt Woodrow d4d690dde3 Bug 1440177 - Part 6: Don't dereference display items during AddPaintedDisplayItem for the LAYER_NONE case. r=jnicol
The display items are almost certainly gone from the cache at this point, so dereferencing them can take a while.
This moves the DisplayItemData lookup, and the IsReused/HasMergedFrames checks into the ProcessDisplayItems pass (where we already use the items), and then just uses the AssignedDisplayItem entry for everything.

MozReview-Commit-ID: JrRshEyZncb

--HG--
extra : rebase_source : 280bda37cba3f9dc5a5ba3dadec5e09848b7321c
2018-03-02 10:06:13 +13:00
Matt Woodrow 0d25ffa6b4 Bug 1440177 - Part 5: Don't call GetDisplayItemDataForManager in AddPaintedDisplayItem since we already have it passed in as a parameter. r=jnicol
MozReview-Commit-ID: IHrVPutPSC5

--HG--
extra : rebase_source : c42f425a665a12a8602d9a7cfacdb16b14cf81a2
2018-02-19 12:37:01 +13:00
Matt Woodrow ba1dc01583 Bug 1440177 - Part 4: Avoid expensive hashtable lookups in PaintedLayerDataTree when we're in an inactive layer and want all items in the same layer. r=mstange
MozReview-Commit-ID: 6brxIaZR2eq

--HG--
extra : rebase_source : 920907a40682b636353c33b50c59e8bf75d130db
2018-02-15 15:52:37 +13:00
Matt Woodrow b38deac587 Bug 1440177 - Part 3: Preallocate a small number of PaintedLayerData objects and only resize the mPaintedLayerDataStack once. r=jnicol
MozReview-Commit-ID: 1LIxNSVHHkp

--HG--
extra : rebase_source : 94e8b91151cec4ecfa071d5d5c40309da1a8563f
2018-02-15 14:45:35 +13:00
Matt Woodrow a1d4e255f4 Bug 1440177 - Part 2: Combine PaintedLayerItemsEntry and PaintedDisplayItemLayerUserData into a single struct. r=jnicol
These two structs store very similar state (including duplicating the mask layer common clip count), and the former uses an expensive hashtable for lookups.
This patch combines the two, and uses a vector of entries instead of the hashtable so we can do the cleanup pass.
* * *
[mq]: fix

MozReview-Commit-ID: KamhbGAIqpD

--HG--
extra : rebase_source : 5da2d922f1ae6f47e7e82928f878c7810630ac22
2018-02-13 15:56:43 +13:00
Matt Woodrow 6ed309c84c Bug 1440177 - Part 1: Don't call GetLayerState from BuildContainerLayerFor as it recurses into child display items to find the answer. r=jnicol
MozReview-Commit-ID: 3A4OBC5L6Ps

--HG--
extra : rebase_source : 51f8b0a2dd25fbd503938c8f9742f13df609283e
2018-02-13 14:25:55 +13:00
Gijs Kruitbosch 8fc45f6ac9 Bug 1370930 - remove DirectoryLinksProvider, r=Mardak
MozReview-Commit-ID: 4YcsNvRg7Hn

--HG--
extra : rebase_source : 15518736c9cc52cf18a0540417e6a38c9bed630a
2018-03-01 16:53:49 +00:00
Matt Woodrow d67f293fa2 Bug 1440177 - Part 7: Don't allocate new clips when flattening nsDisplayOpacity. r=mstange
Combing the two clips as-is should always be correct, and since they're frequently identical, we can usually make IntersectClip a no-op.

MozReview-Commit-ID: AzqvbQJAytp

--HG--
extra : rebase_source : cc7e401af1dab029fa1519164c6a4e97eb8b70e9
2018-03-01 11:42:30 +13:00
Matt Woodrow 3eb2633a17 Bug 1440177 - Part 6: Don't dereference display items during AddPaintedDisplayItem for the LAYER_NONE case. r=jnicol
The display items are almost certainly gone from the cache at this point, so dereferencing them can take a while.
This moves the DisplayItemData lookup, and the IsReused/HasMergedFrames checks into the ProcessDisplayItems pass (where we already use the items), and then just uses the AssignedDisplayItem entry for everything.

MozReview-Commit-ID: 3NibNGSVsax

--HG--
extra : rebase_source : b5b4d82798404ad4c8d84ca33bfb30d4afa55fb6
2018-03-01 11:42:27 +13:00