Commit Graph

595375 Commits

Author SHA1 Message Date
Brian Birtles
4ab18a6435 Bug 1456394 - Factor out TimingParams::FromEffectTiming; r=hiro
Factoring out this method makes the code a little easier to read, particularly
when in the next patch in this series we add
a TimingParams::MergeOptionalEffectTiming method.

MozReview-Commit-ID: 5AU6IfN2grZ

--HG--
extra : rebase_source : f90614c7dd03413b4ce05d62d3ac73f0ba0e7dc3
2018-05-07 12:34:47 +09:00
Brian Birtles
79bd9b3a55 Bug 1456394 - Add AnimationEffect.getTiming(); r=bz,hiro
https://drafts.csswg.org/web-animations-1/#dom-animationeffect-gettiming

MozReview-Commit-ID: 8gnd5Gl0UkK

--HG--
extra : rebase_source : 12d28eac599bb2462ef8e6b32cf75e8bd14262eb
2018-05-07 12:32:38 +09:00
Brian Birtles
516b224d43 Bug 1456394 - Rename animation timing dictionaries; r=bz
As per the changes in:

  d4519d9bba (diff-4c9f5c055fb219a7fcad23a9a7a80b64R4206)

MozReview-Commit-ID: Iwvbp0H6jlg

--HG--
extra : rebase_source : 2c8bbab7aee617b65e5a7647ed146abdb0dde2d6
2018-05-07 12:09:54 +09:00
Brian Birtles
f8c518344a Bug 1456394 - Rename AnimationEffectReadOnly to AnimationEffect; r=bz,hiro
MozReview-Commit-ID: 8jzJiCWt5vs

--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffect.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffect.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffect.webidl
extra : rebase_source : 2bd6490fe9be47cfb760bda81a63c33ba0b0397d
2018-05-07 11:15:16 +09:00
Brian Birtles
3184f30162 Bug 1456394 - Merge KeyframeEffectReadOnly and KeyframeEffect; r=bz,hiro
MozReview-Commit-ID: FvTMGjxfRXk

--HG--
extra : rebase_source : 8f7fd0903c9ca2f545dce2633eb797345a7517f8
2018-05-07 11:08:59 +09:00
Brian Birtles
9622b88217 Bug 1456394 - Rename KeyframeEffectReadOnly.{h,cpp} to KeyframeEffect.{h,cpp}; r=bz,hiro
MozReview-Commit-ID: 5Q7oQV8vmgS

--HG--
rename : dom/animation/KeyframeEffectReadOnly.cpp => dom/animation/KeyframeEffect.cpp
rename : dom/animation/KeyframeEffectReadOnly.h => dom/animation/KeyframeEffect.h
extra : rebase_source : cdc8448e7d07376691ef9187f7d6f4424800b690
2018-05-07 11:07:06 +09:00
Brian Birtles
81725f45de Bug 1456394 - Move KeyframeEffect constructors to KeyframeEffectReadOnly.{h,cpp}; r=bz,hiro
By doing this we will have all the KeyframeEffect* related code in
KeyframeEffectReadOnly.{h,cpp} so we can rename them to KeyframeEffect.{h,cpp}
in the next patch and make it easier to examine the history for the bulk of this
code.

The added [HeaderFile] annotation will be removed in a subsequent patch in this
series.

MozReview-Commit-ID: Fxk6fPukgAS

--HG--
extra : rebase_source : 0bb0f846aba69e2b79724adb3148948317667eae
2018-05-07 11:07:01 +09:00
Brian Birtles
faad139012 Bug 1456394 - Moving timing updates to KeyframeEffectReadOnly; r=hiro
This might seem a bit odd but later in this patch series we will rename
KeyframeEffectReadOnly to KeyframeEffect.

MozReview-Commit-ID: H9b8brtA36W

--HG--
extra : rebase_source : 9e34d583c087733b3fa05d99a67def55653c4556
2018-05-07 11:02:12 +09:00
Brian Birtles
d6adea94b0 Bug 1456394 - Move KeyframeEffect attribute setters to KeyframeEffectReadOnly; r=bz,hiro
It might seem a bit odd to move the setters to the read-only class that we are
ultimately planning to drop but the reason for doing this is that
KeyframeEffectReadOnly.cpp has a *lot* more code than KeyframeEffect.cpp.

In order to simplify code archaeology we take the following approach:

  1. Move code from KeyframeEffect.{h,cpp} to KeyframeEffectReadOnly.{h,cpp}.
  2. Delete KeyframeEffect.{h,cpp}.
  3. Rename KeyframeEffectReadOnly.{h,cpp} to KeyframeEffect.{h,cpp}.

Note that at least steps 2 and 3 must be performed in separate patches as
mercurial does not successfully track renames when the target name already
exists.

MozReview-Commit-ID: LwJoxGJitKR

--HG--
extra : rebase_source : ae437c6e74435b983c7390df301055472fa3c4ff
2018-05-07 10:48:48 +09:00
Doug Thayer
f567be9b73 Bug 1176019 - Fix browser_tabswitchbetweenplugins.js r=mconley
After digging into this, I'm still not entirely sure why the timing
has changed such that the checks don't work immediately. I have a
strong suspicion though that it's simply because our tab switch is
now instant, resulting in the necessary messages just being a
little bit behind. Hopefully this is an acceptable bandaid.

MozReview-Commit-ID: H1wKW1UQBxp

--HG--
extra : rebase_source : 8ec2277d63add09576518076734ab1f81df3ede3
2018-05-08 15:26:15 -07:00
Doug Thayer
1f5c3f7c7a Bug 1176019 - Fix browser_bug1196539.js painting check r=mconley
MozReview-Commit-ID: HgzcSIdIh1h

--HG--
extra : rebase_source : 00bfebafe1b31a4e6dca6f1c1cab1a7d4510f062
2018-05-08 09:49:24 -07:00
Doug Thayer
bbadb1c753 Bug 1176019 - Cache layers of background tabs r=mconley
We maintain a simple LRU cache of tab layers by setting their
docShellIsActive = false with preserveLayers(true). Once they
are pushed out of the cache by more recently used tabs, their
layers are discarded.

Luckily most of the complexity of this could be contained in
the AsyncTabSwitcher - the one change that had to sit outside of
that was moving the aTab.closing = true earlier in the removeTab
call, so that we could use that information to eagerly evict tabs
from the cache. This was to address a leak in a few tests on try.

MozReview-Commit-ID: 2E3uU8LEYkD

--HG--
extra : rebase_source : b7e7bb3fcf1ed59e79a7c9fb9d3e6ce735ab54e9
2018-04-16 15:35:41 -07:00
Matthew Gregan
c34ad7d35b Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 6e8cf15241b0282406322cce29220a677edd1585
2018-05-10 12:11:51 +12:00
Mathieu Leplatre
2136d2066e Bug 1458920 - Filter RemoteSettings sync event data r=Gijs,mgoodwin
MozReview-Commit-ID: Hw9CA5W2J26

--HG--
extra : rebase_source : 689aae16d007c19f1d9c73c3be95bd5618b0fe36
2018-05-08 16:30:40 +02:00
Mathieu Leplatre
28f6b114ec Bug 1458920 - Update blocklists dumps in release r=Gijs
MozReview-Commit-ID: 5WQfUxRjf8V

--HG--
extra : rebase_source : 71c6eabb571bbeae7db63ce7a8541e1bba95adaa
2018-05-08 15:33:47 +02:00
Mathieu Leplatre
6e44c0840d Bug 1458920 - Add RemoteSettings custom filtering function r=Gijs
MozReview-Commit-ID: 1fxfg1MRww3

--HG--
extra : rebase_source : d2aba30ca2d5787d9fbf75c53ab299b71cea844a
2018-05-09 22:53:04 +02:00
Mathieu Leplatre
2414383617 Bug 1458920 - Update RemoteSettings documentation r=Gijs
MozReview-Commit-ID: JUKlnwZOIH8

--HG--
extra : rebase_source : 7d98d9c94cde1aab553fd1c6a41d97f28b21b36e
2018-05-07 18:34:58 +02:00
Kestrel
63bbad4332 Bug 1025815 - caretPositionFromPoint needs to account for CSS transforms. r=bz
MozReview-Commit-ID: 1cTUyd0x6xy

--HG--
extra : rebase_source : 2194519fa3417dc8a8fe63db5b773e56daa38b16
2018-05-08 18:09:32 +08:00
Kartikaya Gupta
27baa6b4f2 Bug 1460495 - When sending a transaction, ensure the new transaction that takes its place has the same async-scene-build flag set. r=sotaro
MozReview-Commit-ID: HYwUwqE2P2O

--HG--
extra : rebase_source : 9540a4dc271d51b5d517fb6498d54d0c55eec6c6
2018-05-10 13:05:22 -04:00
Michael Kaply
02a451dc6e Bug 1460190 - Handle search regions with default but no enginelist. r=adw
MozReview-Commit-ID: FJM1Q9DLXWR

--HG--
extra : rebase_source : 7b22a5e40982280a858f7147edd00fc83c0fe52b
2018-05-09 23:29:34 -07:00
Coroiu Cristina
b11f8e3794 Backed out changeset b5fac38dc791 (bug 1457359) for build bustage on a CLOSED TREE 2018-05-11 04:17:18 +03:00
Matthew Gregan
f5a2e9785e Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 299d9f8347d2f0ef0d66b9ea52a4ee7a31af0cd2
2018-05-10 12:11:51 +12:00
Edouard Oger
5bf0e60e17 Bug 1460396 - Make notifyHistoryObservers an arrow function. r=tcsc
MozReview-Commit-ID: B4BPE98YxEi

--HG--
extra : rebase_source : ace8cdb66f41af25f1ed8124bb9d77a567810db9
2018-05-09 15:26:04 -04:00
Matt Woodrow
cb53646377 Bug 1460482 - Force root scroll frame overlay scroll bars to be always on top. r=mstange
MozReview-Commit-ID: 3zeykuDgEHc

--HG--
extra : rebase_source : 56515ba09442c49cb5c9cbbfdc3be258279ccb37
2018-05-10 16:52:12 +12:00
Brad Werth
895cc178cf Bug 1460041 Part 2: Add WPT reftests for many shape-outside shapes that use an element offset from its container. r=jfkthame
This adds several tests to ensure that computation of float areas for
shape-outside shapes works for elements that are offset from their containing
block.

MozReview-Commit-ID: FWUfCb9Evhl

--HG--
extra : rebase_source : bf7302ddc12631d30643d5246f90af234e07babb
2018-05-09 12:50:25 -07:00
Brad Werth
140f9cb9f9 Bug 1460041 Part 1: Correct PolygonShapeInfo constructor to measure its start and end block extents in margin rect space. r=jfkthame
MozReview-Commit-ID: 5pxiK1oH7sn

--HG--
extra : rebase_source : f6ad9f0e66a0ce5fe7c487a0cd9a05e74bbd201f
2018-05-08 15:56:49 -07:00
Brendan Dahl
0cc1c8ec9b Bug 221706 - Use unwritable region when printing on Windows. r=jimm
Read more information from the printing device to setup the unwritable region.
Translate the printing context's coordinate system so that the point (0,0)
refers to the top-left of the physical paper instead of the top-left of the
printable region.

MozReview-Commit-ID: 9ei2FgEUDyO

--HG--
extra : rebase_source : c2e2715f47499538035101a285152eca2aba3202
2018-03-28 17:13:10 -07:00
David Keeler
6499399d3c bug 1427248 - avoid changing certificate trust in nsNSSComponent initialization r=fkiefer,jcj
If a user has set a master password on their NSS DB(s), when we try to change
the trust of a certificate, we may have to authenticate to the DB. This involves
bringing up a dialog box, executing javascript, spinning the event loop, etc.
In some cases (particularly when antivirus software has injected code into
Firefox), this can cause the nsNSSComponent to be initialized if it hasn't
already been. So, it's a really, really bad idea to attempt to change the trust
of a certificate while we're initializing nsNSSComponent, because this results
in a recursive component dependency and everything breaks. To get around this,
if we need to load 3rd party roots (e.g. enterprise roots or the family safety
root), we defer any trust changes to a later event loop tick. In theory this
could cause verification failures early in startup. We'll have to see if this
is an issue in practice.

MozReview-Commit-ID: FvjHP5dTmpP

--HG--
extra : rebase_source : 73d39788ce39adcbe01c89867061f64d05a3876b
2018-05-07 17:05:30 -07:00
Dorel Luca
e2b88544d0 Backed out 3 changesets (bug 1176019) for Browser-chrome failures on dom/plugins/test/mochitest/browser_tabswitchbetweenplugins.js. CLOSED TREE
Backed out changeset 31b295f557db (bug 1176019)
Backed out changeset 6c591b484a11 (bug 1176019)
Backed out changeset 3e7dbe6b5122 (bug 1176019)
2018-05-11 02:03:20 +03:00
Daisuke Akatsuka
5ed3641c23 Bug 1457067 - Part 2: Add test whether options panel toggled by key event and Settings on the meatball menu. r=jdescottes
MozReview-Commit-ID: 4bSeh8kkTx6

--HG--
extra : rebase_source : 08166f34103f0f7de9cb76dd894a788397851d7f
2018-05-11 07:35:26 +09:00
Daisuke Akatsuka
a441adab36 Bug 1457067 - Part 1: Implement so as to toggle the options panel if click 'Settings' on the meatball menu. r=jdescottes
MozReview-Commit-ID: 3ST6EtMuA2F

--HG--
extra : rebase_source : 707efe3da6f4d799ba2043408ae03a19fe97bb1b
2018-05-11 07:35:22 +09:00
Coroiu Cristina
8d9a2fdf05 Backed out 2 changesets (bug 1460041) for lint failure at /builds/worker/checkouts/gecko/tools/lint/wpt.yml on a CLOSED TREE
Backed out changeset 25c0ace5ecb4 (bug 1460041)
Backed out changeset 8f13ab5de9be (bug 1460041)
2018-05-11 01:25:08 +03:00
Emilio Cobos Álvarez
d1d42daa92 Bug 1032034: Test that unicode range syntax isn't a primitive token. r=bz
MozReview-Commit-ID: AaV2pq5v4Ye

--HG--
extra : rebase_source : ce8ec9416d5ff868435e074652d730e37a4aa2f6
2018-05-10 20:21:23 +02:00
Brad Werth
071596b53f Bug 1460041 Part 2: Add WPT reftests for many shape-outside shapes that use an element offset from its container. r=jfkthame
This adds several tests to ensure that computation of float areas for
shape-outside shapes works for elements that are offset from their containing
block.

MozReview-Commit-ID: FWUfCb9Evhl

--HG--
extra : rebase_source : 1618d53e7be07ac460c3b7a52b75dbd4d69d8e2f
2018-05-09 12:50:25 -07:00
Brad Werth
0e6a1cf4aa Bug 1460041 Part 1: Correct PolygonShapeInfo constructor to measure its start and end block extents in margin rect space. r=jfkthame
MozReview-Commit-ID: 5pxiK1oH7sn

--HG--
extra : rebase_source : f6ad9f0e66a0ce5fe7c487a0cd9a05e74bbd201f
2018-05-08 15:56:49 -07:00
Dorel Luca
2f3e1241e7 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : b3e2947586dd2ed9dbe52aabb06808d4ac8dbfff
2018-05-11 01:02:37 +03:00
Dorel Luca
d32e085275 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-11 00:59:14 +03:00
Dorel Luca
a5bc0b3f70 Backed out 4 changesets (bug 1460402) for lint failure on intl/locales/en-US/hyphenation/hyph_en_US.dic. CLOSED TREE
Backed out changeset c2e8fbd72ca6 (bug 1460402)
Backed out changeset 3676e913dbff (bug 1460402)
Backed out changeset bb12ffd4b96e (bug 1460402)
Backed out changeset 3e50885329c4 (bug 1460402)
2018-05-11 00:47:34 +03:00
Csoregi Natalia
d2a7e3fcd3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-10 19:45:06 +03:00
Csoregi Natalia
3f17a23476 Merge inbound to mozilla-central. a=merge 2018-05-10 19:42:51 +03:00
Csoregi Natalia
282a3f5586 Merge autoland to mozilla-central. a=merge 2018-05-10 19:42:10 +03:00
Csoregi Natalia
c60391a8f1 Backed out 2 changesets (bug 1414776) due to a regression on bug 1459910. a=backout
Backed out changeset ed3b0284c348 (bug 1414776)
Backed out changeset 77045639ed6c (bug 1414776)
2018-05-10 19:26:22 +03:00
Mike Hommey
b94cf61acd Bug 1459722 - Remove zxx_stream. r=froydnj
It was necessary back when we were doing decompression from a signal
handler, because we couldn't then have zlib call malloc, but we don't
do that anymore, so the whole wrapping is effectively unused.

With the wrapping gone, we manually initialize the zalloc, zfree and
opaque fields, as specified in the zlib documentation.

--HG--
extra : rebase_source : c4e84009e65f71f6c43362468c2934e04a8abda1
2018-05-10 11:45:23 +09:00
Sylvestre Ledru
4f1403c359 Bug 1460402 - Update the CI to use codespell with pip instead of the apt packages (too old) r=ahal
MozReview-Commit-ID: 9QkTPyP7izS

--HG--
extra : rebase_source : 4784a5af43e806f2ec017fe16d930b3845fe2dde
2018-05-09 21:57:36 +02:00
Sylvestre Ledru
4631824f9c Bug 1460402 - Update the codespell support to use pip instead of the package r=ahal
MozReview-Commit-ID: J4wS7s9sWFe

--HG--
extra : rebase_source : 4666a3e5bab6ee5ca95fcc31da4ef625e46e2d59
2018-05-09 21:56:43 +02:00
Sylvestre Ledru
341d0a75ef Bug 1460402 - Update the flake8 support to use the pip class r=ahal
MozReview-Commit-ID: 9BWa0cnWJdS

--HG--
extra : rebase_source : 6de8669427b1724aadc39c0d10dd30e0e26abdc8
2018-05-09 21:55:21 +02:00
Sylvestre Ledru
482e851d53 Bug 1460402 - Create a new class to manage pip install r=ahal
MozReview-Commit-ID: JnscCmC4gBt

--HG--
extra : rebase_source : d2d203d63a1c21fa90c36a28a58378bf66718751
2018-05-10 19:05:30 +02:00
Tom Schuster
01e9c257a6 Bug 1459607 - CallSiteObjects can only contain strings. r=jandem
--HG--
extra : rebase_source : daf441f2520867ba4594f06bb0937d70083cacce
2018-05-08 22:42:54 +02:00
David Major
ae0bb01f30 Bug 1453061: Merge libvpx code size fix. r=drno
https://chromium-review.googlesource.com/c/webm/libvpx/+/841103
2018-05-10 14:31:49 -04:00
David Major
05169b1ca8 Bug 1453061: Merge libaom code size fix. r=drno
https://aomedia-review.googlesource.com/c/aom/+/39401
2018-05-10 14:30:55 -04:00