Commit Graph

595128 Commits

Author SHA1 Message Date
Zibi Braniecki
069406b327 Bug 1457021 - Migrate the JS of Preferences::SitePermissions to Fluent. r=flod,jaws
MozReview-Commit-ID: Fe4Q6CnTcuj

--HG--
extra : rebase_source : e5ee3154c17dc8932c390075ac491a80d80e25e5
2018-04-25 16:24:39 -07:00
Zibi Braniecki
b1634a4609 Bug 1457021 - Migrate the JS of Preferences::Translation to Fluent. r=Gijs
MozReview-Commit-ID: 8UTYUyOvnBz

--HG--
extra : rebase_source : 7d6f425cc91367f115711b5a2762d2705f31ca97
2018-04-25 15:51:15 -07:00
Zibi Braniecki
7883ca707e Bug 1457021 - Migrate the JS of Preferences::Languages to Fluent. r=flod,Gijs
MozReview-Commit-ID: 6RTJGkrhoWY

--HG--
extra : rebase_source : 3413fff981fd0a46a4daa7ff41c792292335bf35
2018-04-25 15:46:50 -07:00
Zibi Braniecki
8b018a4aa5 Bug 1457021 - Migrate the JS of Preferences::SiteData to Fluent. r=flod,johannh
MozReview-Commit-ID: 5sYMU3dDTRy

--HG--
extra : rebase_source : 1c73e167c944757d3622e18a31a270084f705fb1
2018-04-23 10:12:21 -07:00
Zibi Braniecki
c4de9748da Bug 1457021 - Migrate the JS of Preferences::Fonts to Fluent. r=flod,jaws
MozReview-Commit-ID: A5yrLylYBjm

--HG--
extra : rebase_source : 762e0ae11f57bbf96a2f98d4e6cec2df8b3d8ad3
2018-04-19 17:12:18 -07:00
Zibi Braniecki
a0b03ccae1 Bug 1457021 - Migrate the JS of Preferences::Blocklists to Fluent. r=flod,Gijs
MozReview-Commit-ID: DlcJNPukzHW

--HG--
extra : rebase_source : cf5385f90381a66408b18ac046eebf2d678a8c18
2018-04-19 16:59:44 -07:00
Michael Froman
79bc45e84a Bug 1374699 - make warnings errors on nICEr and nrappkit builds. r=ekr
MozReview-Commit-ID: 7nPOPzcC925

--HG--
extra : rebase_source : b1b4bd391a71dab2bb3409b68c8680e972ee0ae4
2017-09-21 10:29:16 -05:00
Michael Froman
a3a44bb8ab Bug 1374699 - fix .gyp file formatting by detabbing. r=ekr
MozReview-Commit-ID: CaUMCJgzhrQ

--HG--
extra : rebase_source : f371f42e26d6c8aa52338913a511015d9096e5dc
2017-09-21 16:56:07 -05:00
Michael Froman
d5fb082c26 Bug 1374699 - fixing compiler warnings for nrappkit. r=drno
MozReview-Commit-ID: CAQQvheP1Wg

--HG--
extra : rebase_source : a5c5857c84339587f6197be95534700d1aca7942
extra : source : ac789983242b806ceeeca4569ac1f5ddfcbaaba2
2017-09-21 08:56:34 -05:00
Michael Froman
dfb4c1b5bd Bug 1374699 - fixing compiler warnings for nICEr. r=drno
Cleaning up compiler warnings for nICEr.  Major highlights:
 - set _WINSOCK_DEPRECATED_NO_WARNINGS define in nicer.gyp for Windows
   builds of nICEr to avoid warnings about inet_addr use in ice_ctx.c:102,
   ice_ctx.c:297, ice_parser.c:465, and transport_addr_reg.c:143.
 - move nr_ice_accumulate_count from ice_ctx.{h|c} to stun_util.{h|c}
   as nr_accumulate_count to quiet warnings in turn_client_ctx.c and
   stun_client_ctx.c.
 - stun_msg.{h|c} - change nr_stun_attr_data_.length,
   nr_stun_message_attribute.encoding_length and nr_stun_message_.length
   from int to UINT2 (not size_t since other lengths in this header are
   UINT2).
 - stun_codec.{h|c} - lengths and offsets changed from int to UINT2 to
   match changes in stun_msg.{h|c}
 - r_data.{h|c} - change Data.len from int to size_t
 - nr_crypto.{h|c} - change nr_ice_crypto_vtbl_ lengths from int to size_t

MozReview-Commit-ID: EF5v79RpqbI

--HG--
extra : rebase_source : ead30e2359ea6a6aada4dd222137302ba86fb972
2017-07-17 11:49:49 -05:00
Jan Beich
41d0350039 Bug 1460147 - Unbreak platforms without GeckoProfiler after bug 1457323. r=mstange
MozReview-Commit-ID: 5gqME25bjOi

--HG--
extra : rebase_source : 35f2add747a4be79e69f1f98014531ff3932645a
2018-05-09 03:14:32 +00:00
Edouard Oger
c68dba49f8 Bug 1460394 - Implement all nsINavHistoryObserver methods in gHistoryObserver. r=kmag
MozReview-Commit-ID: 31XAQjpRgtc

--HG--
extra : rebase_source : f5eeb882b4f2693bc9c546d66c742cd227b82dfc
2018-05-09 15:36:56 -04:00
Henrik Skupin
9fde0f005d Bug 1434872 - [marionette] Firefox has to automatically dismiss "beforeunload" prompts. r=ato
As requested by the WebDriver specification any beforeunload prompt
has to be automatically dismissed for the close and navigate commands.

MozReview-Commit-ID: 1qp0nzIYTaM

--HG--
extra : rebase_source : 418dca8e9fa61df6d5423c8c5cce6a97a0001821
2018-04-19 14:47:32 +02:00
Henrik Skupin
35e12cd652 Bug 1434872 - [marionette] Fix remote_page checks in bf_cache navigtion tests. r=ato
Currently the remote check only gets performed for the very last page
of each bfcache test. Instead it has to be executed for each individual
web page as loaded.

MozReview-Commit-ID: IIqnLy4RhZ5

--HG--
extra : rebase_source : eaed841979d65b6b2aab4e3ba2bc43679a7ba3a4
2018-05-05 17:04:58 +02:00
Henrik Skupin
23724b04e1 Bug 1434872 - [wdclient] Store original capabilities as used for the driver. r=ato
To allow Session.start() to be called multiple times the originally
requested capabilities for the driver have to be stored. Currently
those are overwritten with the ones as returned by the driver.

That means that custom entries which are getting extracted by the
driver (eg preferences) to setup the browser profile, are lost and
tests themselves cannot internally end a session and start it again.

MozReview-Commit-ID: Fi0cf6MaOc6

--HG--
extra : rebase_source : 91e18d628cceca800a99f70e580f0af4b0d8a2e8
2018-05-07 13:08:08 +02:00
Henrik Skupin
6886a4dc58 Bug 1434872 - [wdclient] Handle SessionNotCreatedException in session.send_command(). r=ato
In case the driver already deleted the session (eg last window closed)
make sure to also invalidate the internal session id.

MozReview-Commit-ID: EIbrEDk73jN

--HG--
extra : rebase_source : a54ec3f877f09bdc1c3467b0c8301255bedae781
2018-05-04 21:19:35 +02:00
Jared Wein
2f13ce1ce7 Bug 1458997 - Wait until the session has been restored before applying the theme transition properties. r=dao
MozReview-Commit-ID: FyOkSgyHP6j

--HG--
extra : rebase_source : 059f83fb9b77a1cde628a439c603a1f5fe454db4
2018-05-07 14:56:47 -04:00
Cosmin Sabou
5470a81920 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 2f2bf3dc60329bfb92eab3401b92f4eadf0bf8c3
2018-05-09 20:31:27 +03:00
Cosmin Sabou
a916fb7c3e Merge inbound to mozilla-central. a=merge 2018-05-09 20:27:38 +03:00
Olli Pettay
bb9609559b Bug 1446834 - Make EventStateManager to use GetFlattenedTreeParent when updating hover/active content, r=emilio 2018-05-09 18:10:55 +03:00
Geoff Brown
5aaf4e3257 Bug 1459728 - Include more Android test suites in try list of non-compiled suites; r=maja_zf 2018-05-09 07:36:53 -06:00
Andrew Osmond
4479d80c10 Bug 1453454 - Improve SourceBuffer support for large encoded image data. r=jrmuizel
Regardless of the size of an encoded image, SourceBuffer::Compact would
try to consolidate all of the chunks into a single chunk. If an image is
quite large, it can be actively harmful to do this, because we want a
very large contiguous chunk of memory for no real reason, and spend
extra time on the main thread doing the memcpy/consolidation.

Instead we now cap out the chunk size at 20MB. If we start allocating
chunks of this size, we will not perform compacting when we have
received all of the data. (Save for realloc'ing the last chunk since it
probably isn't full.)

On a related note, if we hit an out-of-memory condition in the middle of
appending data to the SourceBuffer, we would swallow the error. This is
because nsIInputStream::ReadSegments will succeed if any data was
written. This leaves the SourceBuffer out of sync. We now propogate this
error up properly to the higher levels.

fixup
2018-05-09 09:31:07 -04:00
Joel Maher
b798845062 Bug 1392106 - skip css writing modes on win7/debug and fix import-tests.py to support reftest_writing_modes.list. r=gbrown,xidorn 2018-05-09 08:55:51 -04:00
Jonathan Kew
9c8f263093 Bug 1458004 - Link font-style values italic / oblique to the appropriate variation-font axes or synthetic styling. r=jwatt 2018-05-09 13:49:24 +01:00
Andrew Osmond
14160ac3be Bug 1460258 - Re-enable discarding of animated image frames. r=aosmond 2018-05-09 08:42:58 -04:00
Bas Schouten
c04589f5de Bug 1458655: Do not copy DisplayItemClip onto AssignedDisplayItemData. r=mattwoodrow 2018-05-09 12:29:01 +00:00
Andrew Osmond
d19566e09c Bug 1454149 - Do not advance animated images which are not displayed. r=tnikkel
All animated images on a page are currently registered with the refresh
driver and advance with the tick refresh. These animations may not even
be in view, and if they are large and thus cause redecoding, cause a
marked increase in CPU usage for no benefit to the user.

This patch adds an additional flag, mCompositedFrameRequested, to the
AnimationState used by FrameAnimator. It is set to true each time the
current animated image frame is requested via
FrameAnimator::GetCompositedFrame. It is set to false each time the
frame is advanced in FrameAnimator::AdvanceFrame (via
FrameAnimator::RequestRefresh). If it is true when
FrameAnimator::RequestRefresh is called, then it will advance the
animation according to the normal rules. If it is false, then it will
set the current animation time to the current time instead of advancing.

This should not cause the animation to fall behind anymore or skip
frames more than it does today. This is because if
FrameAnimator::GetCompositedFrame is not called, then the internal state
of the animation is advancing ahead of what the user sees. Once it is
called, the new frame is far ahead of the previously displayed frame.
The only difference now is that we will display the previous frame for
slightly longer until the next refresh tick.

Note that if an animated image is layerized (should not happen today) or
otherwise uses an ImageContainer, this optimization fails. While we know
whether or not we have an image container, we do not know if anything is
actively using it.
2018-05-09 08:04:20 -04:00
Sylvestre Ledru
3bed13c76e Bug 1453444 - Add support for versioned lld binaries r=glandium
Can be used:
ac_add_options --enable-linker=lld-7
or
ac_add_options --enable-linker=lld

MozReview-Commit-ID: GfDevGeooU4

--HG--
extra : rebase_source : ee2aad5f8f721a6fe5840affde6b29a3b940fb91
2018-05-09 13:53:16 +02:00
Jason Laster
49932142ae Bug 1460054 - Update Debugger Frontend v49. r=jdescottes
MozReview-Commit-ID: 4wr5NnLBTn7

--HG--
extra : rebase_source : d277558ed7c89457bd3ac884c701c58a8f92c555
2018-05-09 13:43:46 +02:00
Andrea Marchesini
b5118e1ddf Bug 1302449 - Remove the "referrer" directive in CSP, r=ckerschb 2018-05-09 13:15:08 +02:00
Andrea Marchesini
c71eb06d76 Bug 1400678 - quota storage should be cleared on exit if user has requested cookies to be cleared on exit - fix a ES failure, r=me CLOSED TREE 2018-05-09 11:59:15 +02:00
Margareta Eliza Balazs
6c97db61d4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-09 12:40:18 +03:00
Margareta Eliza Balazs
eb6c5214a6 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
Andrea Marchesini
f8788ffe29 Bug 1400678 - quota storage should be cleared on exit if user has requested cookies to be cleared on exit - tests, r=johannh 2018-05-09 11:30:47 +02:00
Andrea Marchesini
769600b429 Bug 1400678 - quota storage should be cleared on exit if user has requested cookies to be cleared on exit, r=johannh, f=asuth 2018-05-09 11:30:44 +02:00
Andrea Marchesini
418c707d0e Bug 1452784 - Use malloc() instead of new[] in IDBObjectStorage to match the use of free() in memory BlobImpl, r=decoder 2018-05-09 11:02:12 +02:00
Simon Fraser
9b2ede9a8e Bug 1458854 Disable release_eta for rc on beta channel r=bhearsum
Summary:
In essence, we're allowing a new field in the task definition,
which is trusted over the one that's passed in with the config. This
wouldn't make much sense if it had a real date in, but allows us to
set an empty string for the kind that needs it

Reviewers: bhearsum

Reviewed By: bhearsum

Bug #: 1458854

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

--HG--
extra : rebase_source : 82145a94fa91957ffe57112a1c0d327d99e32b23
2018-05-09 09:40:55 +01:00
André Bargull
1cfe9bcd18 Bug 1456118: Update helper scripts for Python 3 compatibility. r=anba 2018-05-09 00:50:57 -07:00
Chris Peterson
87ddcb8273 Bug 1457813 - Part 3: Remove NS_PRECONDITION definition. r=froydnj
--HG--
extra : rebase_source : 9bad9e57e2e0363fb315949ac73b869fac0b9a73
2018-05-08 22:21:22 -07:00
Tooru Fujisawa
c12bdc0642 Bug 1420574 - Add CustomizableUITestUtils.prototype.{addSearchBar,removeSearchBar} to show search bar in nav bar and verify it does not overflow. r=Paolo 2018-05-09 09:48:40 +09:00
Jan-Erik Rediger
43f99fc3af Bug 1320052 - Fix remaining caller of histogram snapshot API. r=Dexter
MozReview-Commit-ID: IqKsfxN12Ru

--HG--
extra : rebase_source : 584e90dfa7d483f068b46e90649b7d4935454b26
2018-05-08 17:08:33 -07:00
Kris Maglione
6807a35903 Bug 1459998: Part 2 - Cleanup cruft. r=aswan
MozReview-Commit-ID: FDDVOptdDLF

--HG--
extra : rebase_source : 08193c7c87825096cdcfe0ad4a73996b1b7ede9d
extra : histedit_source : 9e8cb320ae430e9775d32159c4595be57a68882a
2018-05-08 14:27:15 -07:00
Kris Maglione
a535a8edc4 Bug 1459998: Part 1 - Rewrite tests not to use async helpers. r=aswan
MozReview-Commit-ID: CF2UGYK7wMr

--HG--
extra : rebase_source : 51db222f2fa1c0a1677faed9da09e6023b14d877
extra : histedit_source : f91a0c302c21c0bfad448382ef3dfd2aba5f4128
2018-05-08 14:12:27 -07:00
Robert Xiao
ba5ba53805 Bug 1452442 - Fix Copy as cURL and add tests. r=Honza
Also fixes Bug 1378464 and Bug 1420513.
2018-05-08 18:55:00 -04:00
Bogdan Tara
95208e18f2 Backed out changeset c4608ac6ced9 (bug 1452442) for ES Lint failure on /builds/worker/checkouts/gecko/devtools/client/netmonitor/test/browser_net_copy_as_curl.js CLOSED TREE 2018-05-09 03:51:45 +03:00
Mathieu Leplatre
5aa6d86d41 Bug 1453690 - Fail nicely when RemoteSetting collection is not signed r=mgoodwin
MozReview-Commit-ID: ESP7GXfmYzU

--HG--
extra : rebase_source : 659f97e6d5317a5662c5d7f09fcf770d5928b444
2018-05-08 18:41:50 +02:00
Nicholas Hurley
e648506f89 Bug 1460251 - Up cookie limit to 180 per host and expose prefs. r=mcmanus
MozReview-Commit-ID: 1zFMQ4pbntp

--HG--
extra : rebase_source : 3a0537b63bedaa50f8c59985f24ff9f718cd2814
2018-05-08 04:45:20 -07:00
Johann Hofmann
d04ab13682 Bug 1457338 - Stop touch drag on mouseUp. r=kats
MozReview-Commit-ID: 4uPibB3DR1D

--HG--
extra : rebase_source : 604159d63cbe73d0b944f0129cf3aa13aca302ec
2018-05-04 15:06:37 +02:00
Julian Descottes
55cd41ff36 Bug 1460067 - Update references to devtools-core in devtools documentation;r=jlast
MozReview-Commit-ID: FWqWe0xoBrR

--HG--
extra : rebase_source : 244bc3b34502fd1e73e96fff5390f00f2974d8a6
2018-05-09 00:07:58 +02:00
Henrik Skupin
c1264cf927 Bug 1429391 - [wdspec] Re-enable /webdriver/tests/get_current_url/get.py. r=ato
MozReview-Commit-ID: JvQLE7ye83h

--HG--
extra : rebase_source : 164995b64e8fa37e651b2abcd388057cfa28600a
2018-05-09 09:11:17 +02:00