Commit Graph

604241 Commits

Author SHA1 Message Date
Paul Adenot
15677a0da5 Bug 1456271 - Implement new behaviour of PeriodicWave ctor: not passing in any array makes it into a sine wave. r=baku
MozReview-Commit-ID: AbI62hSxZyS

--HG--
extra : rebase_source : 2d6e9ec5bf95fcfe30d964dfc38eb29333a58578
2018-05-30 18:42:29 +02:00
Gregory Szorc
4a88e570a0 Bug 1475649 - Always use --untracked-files; r=ahal
a35b188d0e44 inadvertently regressed behavior in the case where
the Git status.showUntrackedFiles config option was set and
we want to purge untracked files.

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

--HG--
extra : moz-landing-system : lando
2018-07-16 13:19:09 +00:00
Xidorn Quan
1f2e5ca9b2 Bug 1472386 - Take overflow-wrap into account when calculating min-content intrinsic size. r=jfkthame
MozReview-Commit-ID: Fu6Gbmxs4PN

--HG--
extra : rebase_source : b90c58f16c5cad717961b586fc0a6574343a5692
2018-07-09 14:54:34 +10:00
Brindusan Cristian
6ef44c90c6 Backed out changeset 085439248886 (bug 1460074) for lint build bustages on FocusableDatePicker.java. CLOSED TREE 2018-07-16 15:45:50 +03:00
Brindusan Cristian
62fc67175b Backed out changeset 057ccf1cc3fc (bug 1474704) for bc failures on browser_multiselect_tabs_using_Ctrl.js. CLOSED TREE 2018-07-16 15:44:14 +03:00
Petru Lingurar
ae0a53d265 Bug 1460074 - Still cannot switch between years in date picker; r=jchen
The problem stemmed from having the DatePicker inside a ScrollView which
was receiving the swipe events.
To avoid this I've created the new FocusableDatePicker which has the ability
to prevent it's parent from receiving touch events.

MozReview-Commit-ID: 6VntjE5A0ec

--HG--
extra : rebase_source : a0f9589bf000ba10e5429347fe1dc7516e8eef3f
2018-07-12 18:30:41 +03:00
Polly Shaw
226a5beff6 Bug 356831 - Proxy autodiscovery doesn't check DHCP (option 252) r=bagder,valentin
This patch addresses an issue with Firefox's proxy detection on networks which
do not have their a proxy auto-configuration (PAC) file hosted at
http://wpad/wpad.dat, and instead make use of DHCP option 252 for broadcasting
the address of the PAC file. See https://findproxyforurl.com/wpad-introduction/
for an introduction to the protocol.

Prior to this patch, proxy auto-detect missed out the DHCP query stage, and just
 looked for a PAC file at http://wpad/wpad.dat


This patch only addresses the issue for Firefox on Windows, although it defines a
DHCP client interface which could be implemented on other platforms.

The high-level components of this patch are:
 * nsIDHCPClient.idl - this is an interface which has been defined for querying the
   DHCP server.
 * nsPACMan.cpp - where previously when the PAC URL was simply set to a constant of
   http://wpad/wpad.dat, it now dispatches an asynchronous command to the proxy
   thread. The class ExecutePACThreadAction has been augmented to include an
   instruction to 'ConfigureWPAD' (Configure Web-proxy auto-detect), and a new class,
   'ConfigureWPADComplete' has been created to relay the result (the URL of the PAC
   file) back to the nsPACMan object.
 * nsProtocolProxyService.cpp
   Minor changes to reflect the fact that the PAC URL not being set does not always
   mean there is no PAC to be used; instead it could be in the process of being
   detected.
 * TestPACMan.cpp
   This is a new file, and tests only the DHCP auto-detect functionality.
   Some tests use multiple threads, as they test the non-blocking proxy detection.
 * DHCPUtils.cpp
   A class containing the main logic for querying DHCP.
 * WindowsNetworkFunctionsWrapper.cpp
   A very thin wrapper around the Windows API calls needed by DHCPUtils.
   This class was introduced so it could be mocked out in tests.
 * nsWindowsDHCPClient.cpp
 * An implementation of the interface defined in nsIDHCPClient.idl. Fairly thin:
   most logic is implemented in DHCPUtils.
 * TestDHCPUtils.cpp
   Tests for DHCPUtils and nsWindowsDHCPClient

MozReview-Commit-ID: 4xFQz3tOLEx

--HG--
extra : rebase_source : dfd5c588406a8b0d92f91cc8a0038ca722b7140a
2018-06-07 23:07:28 +01:00
Abdoulaye O. Ly
0e79f1bedf Bug 1474704 - Enable the multiselect tabs feature by default on Nightly builds. r=jaws
MozReview-Commit-ID: CAWYr0RM96Z

--HG--
extra : rebase_source : 85682c1b2ab72bf1efc391f7d32d291326337a37
2018-07-16 04:29:19 +00:00
Julian Descottes
96e2cf4b96 Bug 1475474 - Fix broken link to Firefox Build page in devtools-docs;r=sole
MozReview-Commit-ID: 8xHvnLPU7DK

--HG--
extra : rebase_source : b368a7a45c5167a2ef1aee1504db37c84cb2fb14
2018-07-13 09:02:27 +02:00
Raphael Pierzina
d4d5aeaf26 Bug 1428709 - Enable several mozhttpd tests for Python 3; r=davehunt
MozReview-Commit-ID: K7m58KGR29N

--HG--
extra : rebase_source : cc95b403348679ee4cc263c7ae0e9f6d54026261
2018-07-12 18:37:54 +02:00
Raphael Pierzina
6650158314 Bug 1428709 - Add six for Python 3 compat in mozhttpd; r=davehunt
MozReview-Commit-ID: 1fNdmG9YVQq

--HG--
extra : rebase_source : 560e433640947384baf93d53ffaedad3a64ea2c4
2018-07-03 11:42:29 +02:00
Raphael Pierzina
0ea361ac9f Bug 1428709 - Add py35 skip-if to individual mozhttpd tests;r=davehunt
MozReview-Commit-ID: GXbdp9SU3vn

--HG--
extra : rebase_source : 933bf29e3035c961bfc921dec7947dc311bfb70d
2018-07-03 11:23:02 +02:00
Razvan Caliman
34ed9c55b8 Bug 1470375 - Set the font editor pref to true in Nightly builds. r=gl
MozReview-Commit-ID: 1SKpRcD9VBZ

--HG--
extra : rebase_source : 630feea2217929ec345db943053f5b1909d98d22
2018-07-11 13:36:48 +02:00
shindli
0520c40527 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-16 12:29:59 +03:00
shindli
6f86cc3479 Merge inbound to mozilla-central. a=merge 2018-07-16 12:26:56 +03:00
Tim Huang
e73037dc0e Bug 1473247 - Part 2: Add a test case for making sure that IP addresses can work properly for the firstPartyDomain. r=arthuredelstein,baku
Differential Revision: https://phabricator.services.mozilla.com/D1978

--HG--
extra : moz-landing-system : lando
2018-07-13 19:55:02 +00:00
Tim Huang
c0118a2d73 Bug 1473247 - Part 1: Fixing the issue that the IP addresses won't be set for first party domains. r=arthuredelstein,baku
Right now, the firstPartyDomain won't be set when using IP addresses as
first party domains. It is because of that the TLD service won't accept
IP addresses as valid hosts. The patch fixes this problem by detecting
that if the host is a IP address. If it is, we will still set the
firstPartyDoamin with the IP address.

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

--HG--
extra : moz-landing-system : lando
2018-07-13 19:53:15 +00:00
Daniel Holbert
76f667e72e Bug 1462983: Check for redundant "loaded" messages from opened window, in test_bug607529.html. r=bz
Such messages happen intermittently on Android, presumably from bfcache being
purged due to memory pressure (which would then cause the back() operation
behave like a fresh load).  So on Android, we'll now treat these redundant
messages as a "todo()" failure, to indicate that something went wrong but avoid
turning the testsuite orange.

MozReview-Commit-ID: GkaxB06vL7q

--HG--
extra : rebase_source : 64c0c0a41452d573062774b2300a26aad179b309
2018-07-13 08:38:52 -07:00
David Major
2c005280e2 Bug 1475384: Use lld-link for official Windows builds. r=gps 2018-07-15 21:01:50 -04:00
arthur.iakab
2a8b467320 Merge inbound to mozilla-central a=merge 2018-07-16 00:51:53 +03:00
arthur.iakab
78b9d7d52c Merge autoland to mozilla-central a=merge 2018-07-16 00:50:38 +03:00
Ryan VanderMeulen
93541b3381 Bug 1475878 - Update pdf.js to version 2.0.688. r=bdahl 2018-07-15 15:36:34 -04:00
Andreea Pavel
048a40d18e Merge mozilla-central to mozilla-inbound. a=merge r=backout 2018-07-15 18:07:38 +03:00
Andreea Pavel
1261098dca Backed out 3 changesets (bug 1474300) on request by kats for introducing a crasher a=backout
Backed out changeset f7659b60b7b0 (bug 1474300)
Backed out changeset a65429a135c7 (bug 1474300)
Backed out changeset 376e702ed3ea (bug 1474300)
2018-07-15 17:57:36 +03:00
Hiroyuki Ikezoe
9f85c749a3 Bug 1475769 - Bail out from nsRefreshDriver::Tick before updating mMostRecentRefresh when the refresh driver is waiting for paint. r=mattwoodrow
Before this patch, there is a race condition that the refresh driver updates
the most recent refresh time but animations corresponding to the refresh driver
don't update their internal state, that causes the inconsistency that such
animations are regarded as finished on the most recent time whereas their
internal states represent the animations are still in active.  This is the one
of the cause of bug 1466010, i.e. the display item corresponding to the
animation is going to be rebuilt without calling MarkNeedsDisplayItemRebuild.

MozReview-Commit-ID: 9adzDV9E3ka

--HG--
extra : rebase_source : 7120e9f462309d1c4efe995ef64aeead9e29ff8f
2018-07-15 20:19:29 +09:00
Ciure Andrei
14976cd6b3 Merge inbound to mozilla-central. a=merge 2018-07-15 12:52:50 +03:00
Andreea Pavel
10d4df5aa9 Backed out 3 changesets (bug 1459937) for failing crashtest with Assertion failure: (IndexInFlow(aOldParent) < IndexInFlow(aNewParent)) on a CLOSED TREE
Backed out changeset 2cff5c67d000 (bug 1459937)
Backed out changeset fb3fba19e615 (bug 1459937)
Backed out changeset bd4bd8ac335c (bug 1459937)
2018-07-15 10:06:23 +03:00
Csoregi Natalia
b220f0c0d3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-14 12:45:25 +03:00
Kris Maglione
359bb8002c Bug 1471025: Follow-up: Bump pref access expectations for nonexistent preferences again. r=bustage,test-only DONTBUILD
--HG--
extra : amend_source : 38793b694f7a81dc802b0159b228a0e45515b78f
2018-07-14 01:45:09 -07:00
Jean-Yves Avenard
b0275bc977 Bug 1475642 - Fix playback with some 3rd party audio cards. r=kinetik
Additional fix to bug 1469152

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

--HG--
extra : moz-landing-system : lando
2018-07-14 07:26:17 +00:00
Jan Varga
5f8daf01d9 Bug 1462162 - Filter local storage cache synchronization messages based on origin; r=asuth
This patch adds a new IPDL protocol PBackgroundLocalStorageCache. It is used by LocalStorageCache object to broadcast changes in local storage cache to other content processes. Each origin has its own PBackgroundLocalStorageCache, so now we can notify content processes that actually have a local storage cache for given origin. This greatly improves performance and reduces memory footprint especialy when local storage changes carry big strings and/or happen very quickly (before this patch all child processes were blindly notified).
2018-07-14 08:34:14 +02:00
Olli Pettay
5adedd4945 Bug 1439153 - try to fix ESlint failures, CLOSED TREE, r=bustage 2018-07-14 06:13:08 +03:00
Olli Pettay
de99e4460b Bug 1439153 - Make WebExtensions work with Shadow DOM/WebComponents, r=kmag
--HG--
extra : rebase_source : 83638cba42eea1523d32d06a2eb14df20cbab404
2018-07-14 05:26:15 +03:00
Chris Pearce
7fb3548c85 Bug 1471485 - Ensure autoplay permission promises disconnected if media starts playing. r=jya
We can start playing while we're awaiting a response to an autoplay-media
permission prompt, for example if the user clicks on a play button. In such
cases, it doesn't make sense to keep the autoplay permission request promise
connected in HTMLMediaElement, as since we're playing we'll be resolving the
play() promises and thus we won't be taking action on the autoplay request
promise's result. So we should just disconnect the autoplay permission request
promise if it's connected when we start playing.

MozReview-Commit-ID: 1aiCLXV7Ja9

--HG--
extra : rebase_source : c439e8f084ac8cc01db578d712e15d3174a08e71
2018-07-12 16:19:25 +12:00
Andi-Bogdan Postelnicu
a2e49cabf3 Bug 1453795 - DOM/Crypto - Initialize member fields in classes/ structures. r=mt
--HG--
extra : rebase_source : 9ac3640ce3647da79bf2b5b94a9e10f83f400ec5
extra : amend_source : 97de314b17ce2a764ea96094f8d0ed19e9b26d9e
2018-07-11 10:37:57 +03:00
Emilio Cobos Álvarez
de1504e650 Bug 1475351: Properly clear associated ShadowRoot from StyleSheet objects. r=smaug
Just like we do from the document's destructor.

MozReview-Commit-ID: DygmZ0EI9es
2018-07-15 12:37:44 +02:00
Emilio Cobos Álvarez
dea0d7ad83 Backed out changeset e0841c88d3ae (bug 1474466) for landing with the wrong bug number. r=me 2018-07-15 12:36:07 +02:00
Emilio Cobos Álvarez
cadda9e720 Bug 1474466: Properly clear associated ShadowRoot from StyleSheet objects. r=smaug
Just like we do from the document's destructor.

MozReview-Commit-ID: DygmZ0EI9es
2018-07-15 12:27:05 +02:00
Nils Ohlmeier [:drno]
cf44315a16 Bug 1474517: merge rsdparsa from upstream r=johannes.willbold+610943
Updated rsdparsa to 75d5c6df6728fbab502db06940062e0358536f9f from github
upstream

MozReview-Commit-ID: 9hr7DV6KTkK

--HG--
extra : rebase_source : c5b2c003e76489e267390402ebb5947cf3ec48b6
2018-07-09 23:56:42 -07:00
Matt Woodrow
9171c79a67 Bug 1372458 - Fold opacity into filter drawing rather than using a temporary surface. r=bas,mstange
MozReview-Commit-ID: GOBTUhN7fcC

--HG--
extra : rebase_source : 8355d2001dcc8fba5e43d4ace6483896a9d9cd31
2018-07-14 15:25:49 +12:00
Matt Woodrow
4f18c0f4a2 Bug 1475413 - Prefer using old items for uninvalidated frames during display list merging. r=miko
MozReview-Commit-ID: 14gc2IBJT1o

--HG--
extra : rebase_source : 6de86aec8ef1039b3adf8006cea456efadbed73b
2018-07-13 12:26:36 +12:00
Andi-Bogdan Postelnicu
6ab86028d3 Bug 1475515 - Remove member initialization for union Extra::mMessage. r=bz
MozReview-Commit-ID: GgJyXg5KxQm

--HG--
extra : rebase_source : 4a0e0137c1545b96aab9c436c42274db1c393a0a
2018-07-13 14:39:12 +03:00
Drew Willcoxon
cce37bd375 Bug 1475398 - Update "Firefox 63 uses schema version 52" comment in Database.cpp. r=mak
MozReview-Commit-ID: DAkHO1Hubb3

--HG--
extra : rebase_source : 9c5972cf9d15548766da1b6215af855e20ad66a5
2018-07-12 16:39:33 -07:00
Chris Manchester
d6b368dff1 Bug 1472490 - Make adding a source to SOURCES, UNIFIED_SOURCES, or HOST_SOURCES multiple times an error in moz.build. r=gps
MozReview-Commit-ID: FtPF3dxUxb5

--HG--
extra : rebase_source : ad380999c41830ea0f088bdacf5fc04c95783f04
2018-07-13 15:55:45 -07:00
Andrew Halberstadt
dbf1f2b689 Bug 1474746 - [docs] Normalize keys from MOZ_SPHINX_TREES; r=gps
This will allow developers to use '.' as the key, e.g:
MOZ_SPHINX_TREES['.'] = 'docs'

This will give consumers the ability to remove redundancies from
their urls. For example, the telemetry docs currently have:
MOZ_SPHINX_TREES['telemetry'] = 'docs'

This results in a url like:
https://firefox-source-docs.mozilla.org/main/latest/toolkit/components/telemetry/telemetry/index.html

If they changed their key to '.' instead, the new url would become:
https://firefox-source-docs.mozilla.org/main/latest/toolkit/components/telemetry/index.html

Depends on D2079.

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

--HG--
extra : histedit_source : b34a35d2686553e615c7fc8c48422ee9e7d29179
2018-07-11 16:01:21 +00:00
Andrew Halberstadt
b9e99b1dce Bug 1474746 - [docs] Fix firefox-source-docs url regression by removing redundant "docs" directory; r=gps
This fixes a regression from bug 1454640 where urls had an extra 'docs' path inserted into them, e.g:
toolkit/components/telemetry/telemetry/index.html

became:
toolkit/components/telemetry/docs/telemetry/index.html

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

--HG--
extra : histedit_source : 15c679e2f9366c1ea424adc4c82d7c184d80b3bb
2018-07-11 14:52:33 +00:00
Chris Manchester
1ba362234e Bug 1475390 - Fail configure if Tup is specified on a non-linux build. r=gps
MozReview-Commit-ID: FO6wCbI7YwJ

--HG--
extra : rebase_source : 564b7d22deadfcaa6357a7c9ec7514daf5978127
2018-07-13 15:53:27 -07:00
Noemi Erli
e9d21cd259 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-14 01:22:25 +03:00
Noemi Erli
9793ca2da4 Merge inbound to mozilla-central. a=merge 2018-07-14 00:52:51 +03:00
Geoff Brown
7ca3eff968 Bug 1471080 - Increase test chunks for geckoview-junit; r=me,a=test-only
This should reduce the frequency of gv-junit intermittent time-outs.
2018-07-13 13:43:01 -06:00