Commit Graph

568756 Commits

Author SHA1 Message Date
Kyle Machulis
ea86e1d617 Bug 1416069 - Remove nsIDOMHTMLHtmlElement and nsIDOMHTMLBaseElement; r=bz
MozReview-Commit-ID: 7qUw7cLeTpe
2017-11-10 13:10:02 -08:00
Kyle Machulis
f25f505bc5 Bug 1415747 - Remove nsIDOMHTMLScriptElement; r=bz
MozReview-Commit-ID: 3I7qVTsKFJC
2017-11-10 13:10:00 -08:00
Dylan Roeh
ebd39f9ce0 Bug 1337078 - Improve the use of Android API in OSPreferences r=snorp
Add BrowserLocaleManager.refreshLocales, a native function which calls OSPreferences::Refresh, and BrowserLocaleManager.getLocale, which returns the current locale string. Use these in place of observing modification of the intl.locale.os pref.
2017-11-10 09:20:04 -06:00
Andrea Marchesini
bbddef77bd Bug 1415682 - Abort API exposed to System, r=qdot 2017-11-10 19:37:13 +01:00
Andrea Marchesini
8088ca91a2 Bug 1416174 - part 4 - OSFileConstants should use UniquePtr instead of nsAutoPtr, r=smaug 2017-11-10 19:37:13 +01:00
Andrea Marchesini
c0c371855c Bug 1416174 - part 3 - moving gPaths to mPaths,r=smaug 2017-11-10 19:27:55 +01:00
Andrea Marchesini
9258fa02c1 Bug 1416174 - part 2 - OSFileConstants as nsIObserver, r=smaug 2017-11-10 19:27:29 +01:00
Andrea Marchesini
b06af90b93 Bug 1416174 - part 1 - OSFileConstants must be a singleton, r=smaug 2017-11-10 19:27:03 +01:00
Andrea Marchesini
3ff4869cbb Bug 1411384 - nested sync XHR should throw, r=smaug 2017-11-10 19:25:31 +01:00
Mats Palmgren
e471cefe55 Bug 1415683 - Make nsGridContainerFrame aware of the ::backdrop placeholder list. r=dholbert
MozReview-Commit-ID: KtOTmQSYgAn
2017-11-10 19:28:05 +01:00
Jason Kratzer
4b13bd4cda Bug 1415185 - Crashtest.
MozReview-Commit-ID: EoXgceDULsF
2017-11-10 19:28:05 +01:00
Mats Palmgren
72cf06d0c8 Bug 1415185 - Make nsBlockFrame::DoRemoveFrame handle anon/generated content from all the continuations it destroys. r=emilio
nsBlockFrame::DoRemoveFrame destroys the continuations in first-to-last
order. Unfortunatley, this means that frames for anon/generated content
that were pushed to a later continuation may already be unbound by
the time we destroy its frame.  This patch fixes that by collecting
anon/generated content from all the continuations, rather than from
each continuation separately.


MozReview-Commit-ID: LPBSoqjfjnA
2017-11-10 19:28:05 +01:00
Jeff Muizelaar
0d413c707d Bug 1415326. Tolerate slight changes in scale for fallback items. r=ethlin
This helps us avoid rerasterizing the blob images every frame.  This makes a
huge difference in performance. Our score goes from approx 75 to 380. Current
Firefox gets about 200.
2017-11-10 13:19:11 -05:00
Joel Maher
20e06de06f Bug 1408403 - fix linting problem. r=me CLOSED TREE 2017-11-10 13:06:10 -05:00
Emilio Cobos Álvarez
5e27db6805 Bug 1415021: Re-disable web-components in the crashtest for leaks, see bug 1416296. r=me on a CLOSED TREE
MozReview-Commit-ID: IhWWbh7B8N
2017-11-10 18:58:11 +01:00
snowman-mh
88c40f69b9 Bug 1352429 - Improve error message for in operator. r=arai 2017-11-08 15:03:47 +09:00
Milan Sreckovic
bec00bb060 Bug 1416012 - Fix a typo where << was used instead of <= (in a currently unused function LogicalRect::IsEmpty). r=bz 2017-11-10 07:18:00 -05:00
huangwenjun
4d46bb2355 Bug 1223312 - Part 2: Disable Noise reduction same as ARM. r=jesup
--HG--
extra : rebase_source : 4f06c862e6f019587717c7be19d2085c9047e80d
2017-11-08 18:33:00 -05:00
huangwenjun
adc74c715f Bug 1223312 - Part 1: Enable webrtc on MIPS64 platforms by default. r=drno, r=jesup, r=ted
--HG--
extra : rebase_source : 4bda2b90dc957d93e92edc6f36d10997608617d4
2017-11-08 18:30:00 -05:00
Kevin Gibbons
23d394affc Bug 1380881 - Implement optional catch binding proposal. r=shu 2017-07-12 13:59:26 -07:00
Emilio Cobos Álvarez
6d99e28430 Bug 1415021: Enable webcomponents in the crashtest since it calls createShadowRoot. r=me
Thanks RyanVM for the heads-up!

MozReview-Commit-ID: nOQtodKAVY
2017-11-10 17:11:28 +01:00
Jonathan Kew
7036cc5f85 Backed out changesets 75e7f32c3365, eec946b59360, 72a6f5f3512c, ea8ee40ed426 (bug 1412090) for apparently breaking all system-installed fonts on some Linux systems. r=backout 2017-11-10 16:05:33 +00:00
Daniel Stenberg
f36fff6bfc Bug 1416048 - Use uint32_t for DNS TTL data. r=valentin
--HG--
extra : rebase_source : 55e5b4f2db839755b5e248a21746aec2c6e6b1dc
2017-11-09 15:43:00 -05:00
qiaopengcheng
be9033b5a9 Bug 1403438 - Add profiler-lul on mips64-linux. r=sewardj
--HG--
extra : rebase_source : 9f507b59a77785d60a0944baf4dad27ec7d2e1c7
2017-09-28 02:04:00 -04:00
Jason Laster
bd8a2fdfb5 Bug 1415300 - Update Debugger frontend (11-7). r=jdescottes
Taken from upstream commit: be179268c9b89390c13bdc9c4cca6000f6f583e5
Added skip-if true to some new debugger mochitests that still look intermittent.

MozReview-Commit-ID: EIcx5z9s7XF

--HG--
extra : rebase_source : 949356260ce38bba65166130d71438f443033137
2017-11-10 12:04:10 +01:00
Joel Maher
08d5d4f854 Bug 1408403 - disable talos-g2-e10s on ccov builds. r=dustin 2017-11-10 10:32:55 -05:00
Ryan Hunt
ac638de2f4 Don't do PaintThebes after PaintOffMainThread. (bug 1399692 part 10, r=dvander)
MozReview-Commit-ID: J0IOzqIGRtz

--HG--
extra : rebase_source : d20a570de201dc46ceb3605db20af40f2f2fed8e
extra : source : eab96d73c39df98c888a491f54fbb963069c5f6b
2017-11-09 15:44:21 -05:00
Ryan Hunt
84c229fe9d Don't reuse a back buffer after a swap if the content or surface changed (bug 1399692 part 9, r=bas)
MozReview-Commit-ID: HGAxkeyESbc

--HG--
extra : rebase_source : 7c09e853a3feeb1d1d9d7cc93d77242265ec590b
extra : source : 7d9324e2ab34946539be9f17d74f639aae5ba7e5
2017-11-05 10:38:47 -05:00
Ryan Hunt
9dc07b61c4 Don't copy over regions that will be painted in this frame (bug 1399692 part 8, r=bas)
We do the same in FinalizeFrame, so we should do it here.

MozReview-Commit-ID: JTKDj8yrtI2

--HG--
extra : rebase_source : 6ba114c6734990dcb62e361889d1b2cf2b5ad7dc
extra : intermediate-source : 76bf99decf0906f0a6a4ad99539fd40f97c4539f
extra : source : fb9b0524428307c4ee097894e37879339df47579
2017-11-04 14:52:31 -04:00
Ryan Hunt
c34dc7e2af Replay buffer commands on paint thread when OMTP is enabled (bug 1399692 part 7, r=bas)
This commit does the work of actually dispatching the recorded buffer operations
to the paint thread, and removing some main thread asserts from TextureClient.

MozReview-Commit-ID: CN3RoQPz9fP

--HG--
extra : rebase_source : 08ae6cf8445ef0a757efc54175768c2fa9bb1685
extra : intermediate-source : 0fc2414f146d8f5d08c97e5b7eedb25c5632ab2d
extra : source : e9349ad2f1f8fec862b1d2271d0d8f25ad0814d4
2017-10-26 00:47:17 -04:00
Ryan Hunt
cc9ba81109 Record buffer operations to a struct for replaying on paint thread (bug 1399692 part 6, r=bas)
This commit adds a CapturedBufferState which is used to record all the operations
that are necessary for preparing the buffers. The commands are then instantly
executed to preserve the same behavior, but in the following commit they will
be dispatched to the paint thread.

Note: RotatedBuffer's aren't thread safe and so a shallow copy needs to be made
for sending to the paint thread. This complicates the code for AdjustTo as it can
fail naturally and the buffer parameter changes are needed later in BeginPaint.
So the code for AdjustTo is split up a bit to accomodate that.

MozReview-Commit-ID: FwSwFay887o

--HG--
extra : rebase_source : 70dd8a055aaa13586810030978409d1a89c39081
extra : intermediate-source : f235b12eda6efe0bdec8e6590d813738f53ffe82
extra : source : cb6507b560aaad188fc83a47b664aaa5692a0acd
2017-10-25 10:20:49 -04:00
Ryan Hunt
1c5e585bd6 Simplify copying the front buffer to the back buffer (bug 1399692 part 5, r=bas)
To sync the back buffer with the front buffer, we set the back buffer rect and
rotation to the front buffer's, and then copy over the pixels that different.

We used to do the updating of the rect and rotation before BeginPaint, but that
isn't necessary and we can move it to be with the copying of pixels.

MozReview-Commit-ID: HzBKvMZkn1

--HG--
extra : rebase_source : 053e55df273d0d89327b80bc599ee05a020f6fef
extra : intermediate-source : 467532fd5b7a2385ba0dbdb9201e28e8f2b4a583
extra : source : 3d0da65640964e5a0565b5e7b7646cf719ce1449
2017-10-23 18:27:53 -04:00
Ryan Hunt
8348d444d0 Don't create back buffer for front buffer until we know what type to create. (bug 1399692 part 4, r=bas)
This commit is an optimization for double buffering that delays the creation of
a back buffer until we know what kind of content type it needs to be.

Before this commit, we would EnsureBackBufferIfFrontBuffer before BeginPaint,
then in BeginPaint we could determine that we actually needed a different kind
of buffer because the content changed type, and recreate it.

This was needed because BeginPaint would copy the old front buffer to the buffer
created by EnsureBackBufferIfFrontBuffer, and then if anything failed or we had
determined we couldn't reuse the buffer, we would create a new one and copy that
"temporary" back buffer over, and use the new one.

This is unnecessary because we only need read access on that "temporary" back
buffer, and so we can just use the current front buffer instead.

This optimization only affects the double buffered case, and the single buffered
or basic cases should remain the same.

Note: Because we now need the front buffer for copying into the new back buffer,
we cannot Clear() it away in some error cases.

Note: The code in FinalizeFrame assumes that the back and front buffer have the
same size. This was implicitly enforced before, and now needs to be explicitly
enforced. This commit tries to preserve the exact same behavior, although the
restriction should be removed as long as the back buffer is large enough for
the visible region.

MozReview-Commit-ID: 2hyrrUhA4zO

--HG--
extra : rebase_source : 5db62a4d24383c7d64e127880a3bee7ff76dada1
extra : intermediate-source : dce585be0737f3c9b6b241afb0851d85fb9453c9
extra : source : 926af2eca400cf8a16777813ceb586b1d3be7d68
2017-10-23 15:33:40 -04:00
Ryan Hunt
56b43edede Remove BufferContentType and add ValidBufferSize (bug 1399692 part 3, r=bas)
BufferContentType and BufferSizeOkFor make more sense as general functions for
any RotatedBuffer, and this helps out in a later patch.

MozReview-Commit-ID: EAVodvl4WTu

--HG--
extra : rebase_source : 122b6466ef0194d6ff682d677db01312c9e27a2a
extra : intermediate-source : b971c1aa5a78c17d49d1d64389516437024be72a
extra : source : b57a3f0d08478f094328b5a50c57eed35798fdf0
2017-10-23 14:56:13 -04:00
Ryan Hunt
37f9020f14 Simplify the code for creating a new back buffer (bug 1399692 part 2, r=bas)
MozReview-Commit-ID: D28JNYWD9Uc

--HG--
extra : rebase_source : 089014bebbf97af2eeb5b940cf468411b753c428
extra : intermediate-source : 8ba8bda8521a6460b1213d2d0f14ebefc0a3e14a
extra : source : 9fcb661df79e51c80f5ffb24717dba655dc97d73
2017-10-23 12:40:01 -04:00
Ryan Hunt
c6550ebd1e Remove unneeded lambda capture in paint thread (bug 1399692 part 1, r=bas)
MozReview-Commit-ID: 71X22PHRTRz

--HG--
extra : rebase_source : 1d1016e48054c39a615c31880e4aa8a38f426bf0
extra : intermediate-source : 2c41a712dff22de4fb2bbfd7c5a418fbc3a26f11
extra : source : 744c8fabaa1c3e6b7322cd2b4c6672b8509c643c
2017-10-31 01:55:24 -04:00
Nathan Froyd
4d60ad6f66 Bug 1341234 - part 3 - add various system library CFLAGS to BINDGEN_SYSTEM_FLAGS; r=gps
This change ensures that folks who configure --with-system-FOO for
various values of FOO can build Stylo, since bindgen will know where to
find the flags for said FOO packages.
2017-11-10 10:05:36 -05:00
Nathan Froyd
17b6101551 Bug 1341234 - part 2 - add an intermediate step for determining bindgen's CFLAGS; r=gps
Add an intermediate step in old-configure.in for setting up
BINDGEN_CFLAGS (renamed to BINDGEN_SYSTEM_FLAGS), so we can add whatever
flags we like (e.g. for system libaries with their includes in
non-standard places) at a later point.
2017-11-10 10:05:36 -05:00
Nathan Froyd
380dc56df2 Bug 1341234 - part 1 - add AC_SUBST_TOML_LIST macro; r=gps
Stylo's bindgen is configured partially through a .toml.in file that
substitutes the value of a configure variable (BINDGEN_CFLAGS) into a
TOML list.  We can debate whether this is a good thing to do some other
time; the reality is that the current moz.configure code that provides
the set_config for BINDGEN_CFLAGS needs to perform all the quoting
itself.

We want, however, to define the substituted variable in old-configure.in
land (some of the values that will go into BINDGEN_CFLAGS are only
defined in old-configure.in, and are not trivially ported to
moz.configure), which means that we need to have quoting logic in
m4/Python when we generate config.status.  This patch adds an
appropriate macro for doing so.
2017-11-10 10:05:36 -05:00
Nathan Froyd
1009160a12 Bug 1341234 - part 0 - fix typo in AC_SUBST_SET checking; r=gps
The various AC_SUBST macros generate AC_SUBST_*FOO macros for holding the
values to substitute.  The macros also cross-check the AC_SUBST_* macros
generated by other variants to make sure that you don't try to do
something like AC_SUBST(FOO) and AC_SUBST_SET(FOO).  However, the check
in AC_SUBST_SET for AC_SUBST_LIST duplicate is missing an underscore:
the AC_SUBST_LIST macro generates another macro starting with
AC_SUBST_LIST_, but the AC_SUBST_SET macro checks for the prefix
AC_SUBST_LIST, which is missing the trailing underscore.

As we're going to be adding yet another AC_SUBST_* macro variant, and
therefore adding more checks to all existing macros, let's clean this up
before we start.
2017-11-10 10:05:36 -05:00
Franziskus Kiefer
0ab6bdd2fa Bug 1413937 - add sha384 and sha512 to pycert and pykey, r=keeler
MozReview-Commit-ID: ArjNHLC1MFC

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

--HG--
extra : rebase_source : 781abe2faa33aa4f55902db1b191159f9c88254d
2017-11-09 16:55:12 +01:00
Paul Adenot
d712cb2e50 Bug 1221580 - Followup, don't enable full-duplex on unknown platforms.
MozReview-Commit-ID: 7yJmup9a35A
2017-11-10 15:29:49 +01:00
Emilio Cobos Álvarez
f21768f547 Bug 1415021: Add crashtest. r=me
MozReview-Commit-ID: AX0CTVFJo7P
2017-11-10 15:16:32 +01:00
Geoff Brown
bb5c47c068 Bug 1416006 - Offer to update host-utils from mach; r=jmaher 2017-11-10 07:03:40 -07:00
Geoff Brown
f8aa684664 Bug 1415242 - Use new hostutils for Android browser tests; r=jmaher 2017-11-10 07:03:38 -07:00
Geoff Brown
cbb956e0c3 Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
Julian Seward
b9b2ff68ea Bug 1415637 - Possibly incorrect MOZ_MAKE_MEM_UNDEFINED in nsTHashtable copy constructor. r=froydnj.
--HG--
extra : rebase_source : 7b9e456c52d0cca67984cd261afcae1f57356995
2017-11-10 11:23:12 +01:00
Sebastian Hengst
78a26654b3 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-10 15:32:04 +02:00
Sebastian Hengst
e26417e1b1 Backed out changeset d9a7e2fba868 (bug 1404427) on suspicion of causing failures in browser_sanitize-timespans.js at some times of the day. r=backout a=backout on a CLOSED TREE 2017-11-10 15:28:16 +02:00
Joel Maher
54dfc3f6dc Bug 1415986 - run windows 10 mochitest-clipboard on vm, not hardware. r=ahal 2017-11-10 08:25:36 -05:00