Commit Graph

615677 Commits

Author SHA1 Message Date
Shane Caraveo
68385e02b4 Bug 1492421 remove duplicate value in restrictedDomains pref, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D6826

--HG--
extra : moz-landing-system : lando
2018-09-25 18:32:17 +00:00
Andrew Halberstadt
9d5e499a90 Bug 1448417 - [mozlint] Remove ability to specify globs in an 'include' directive, r=egao
There is only a single linter (test-disable.yml) that uses a glob in any
include path, and that usage is easily replaced by using the 'extensions' key
instead.

Since globs in include directives aren't very useful, let's disallow them. This
will allow us to simplify the 'filterpaths' logic quite substantially and make
future refactorings in this area easier.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 18:30:23 +00:00
Markus Stange
299faa2eff Bug 1493261 - Back out Bug 1493261 because it broke symbolication on non-Windows platforms. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D6572

--HG--
extra : moz-landing-system : lando
2018-09-25 09:16:32 +00:00
Siddhant085
2bd3beeba9 Bug 1479445: Update the validation of PageInfo to use validateItemProperties r=mak,Standard8
Changed the validation function for PageInfo to use a more general validateItemProperties.
This changes the error message being thrown. Changed the respective test cases to accomodate the change.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 18:21:56 +00:00
Mark Banner
3043f2a053 Bug 1482435 - Separate out nodejs finding logic from configure and use it for ESLint. r=firefox-build-system-reviewers,gps
This extracts the current logic for finding nodejs into its own module in mozbuild. Configure and ESLint then use it.

For ESLint, this will change the first location it looks for nodejs to be the .mozbuild directory.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 18:15:51 +00:00
Botond Ballo
44a6b1b547 Bug 1484597 - Clear the APZ callback transform when originating a main thread scroll offset update for the RCD-RSF. r=kats
Depends on D6076

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

--HG--
extra : moz-landing-system : lando
2018-09-21 19:01:46 +00:00
Botond Ballo
5f5c95ce37 Bug 1484597 - Use the visual viewport offset in ScrollToShowRect(). r=mstange
Depends on D6075

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

--HG--
extra : moz-landing-system : lando
2018-09-21 19:04:49 +00:00
Botond Ballo
ad2c16cef9 Bug 1484597 - Keep the bounding client rect field of the 'mozcaretstatechanged' event relative to the visual viewport. r=mstange,nika
Depends on D6074

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

--HG--
extra : moz-landing-system : lando
2018-09-25 17:46:58 +00:00
Botond Ballo
34115a8216 Bug 1484597 - Expose visual viewport information more conveniently in Layout. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6074

--HG--
extra : moz-landing-system : lando
2018-09-21 19:01:13 +00:00
Henri Sivonen
3a8d018880 Bug 1487398 - Remove useless use of SetCapacity(). r=froydnj,nwgh
Remove various calls to SetCapacity() that fall into various misuse categories:

 1) Mistakenly believing that the caller should advice the string about zero
    terminator.
 2) Cases where a single append does the right computation on its own.
 3) Calling SetCapacity() with a constant when the string is self-allocated
    and could be an nsAuto[C]StringN and the string doesn't get passed on
    in a way that could benefit from a heap-allocated buffer.
 4) Calling SetCapacity() before assigning a shared buffer to the string.
 5) Calling SetCapacity() before calling a function that will either calls
    SetLength() anyway or calls Adopt().

MozReview-Commit-ID: IKjfl5gLmcD

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

--HG--
extra : moz-landing-system : lando
2018-09-25 15:36:31 +00:00
Alex Chronopoulos
623b33566d Bug 1479841 - Use promises instead of pledges through out audio device enumeration code path. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D6249

--HG--
extra : moz-landing-system : lando
2018-09-25 17:03:50 +00:00
Alex Chronopoulos
f4fc798776 Bug 1479841 - Apply ipdl changes to MediaParent and pass back the key through the resolver. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D6248

--HG--
extra : moz-landing-system : lando
2018-09-25 17:03:37 +00:00
Alex Chronopoulos
d34aa387fd Bug 1479841 - Apply ipdl changes to MediaChild and use the promise to return the key. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D6247

--HG--
extra : moz-landing-system : lando
2018-09-25 17:03:29 +00:00
Alex Chronopoulos
d9f3f529a5 Bug 1479841 - Use promise base ipdl api and remove unnecessary IPC response. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D6246

--HG--
extra : moz-landing-system : lando
2018-09-25 17:03:22 +00:00
Tom Prince
14cf8b64d6 Bug 1486224: [fetch-content] Retry downloads when fetching content; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D6686

--HG--
extra : moz-landing-system : lando
2018-09-25 16:40:42 +00:00
Jean-Yves Avenard
2a38025bd4 Bug 1469711 - P3. Allow HDR vp9 decoding with D3D11 compositor r=bryce
The D3D11 compositor now supports 10 and 12 bits image

Depends on D6498

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

--HG--
extra : moz-landing-system : lando
2018-09-24 01:28:29 +00:00
Jean-Yves Avenard
568993ed7f Bug 1469711 - P2. Add 10/12 bits YUV support to D3D11 legacy compositor. r=mattwoodrow
Depends on D6492

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

--HG--
extra : moz-landing-system : lando
2018-09-24 20:08:26 +00:00
Jean-Yves Avenard
cfc24b769e Bug 1469711 - P1. Add 10/12 bits YUV support to D3D11 compositor. r=mattwoodrow
This change is for D3D11 with Advanced Layers enabled.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 11:18:34 +00:00
Martin Stransky
3595f59e15 Bug 1489963 - Draw scrollbars with Gtk widget state and use backdrop state for inactive scrollbars, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D6763

--HG--
extra : moz-landing-system : lando
2018-09-25 11:57:53 +00:00
Matthew Noorenberghe
4aaa87fe69 Bug 1432939 - Link to Firefox Options/Preferences from the PaymentRequest dialog. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D6724

--HG--
extra : moz-landing-system : lando
2018-09-25 17:26:38 +00:00
Jason Orendorff
e6ab602a75 Bug 1491939 - Part 4: Enable streams on a per-realm basis. Drop dom.streams.enabled and dom.workers.options.streams; use only javascript.options.streams. r=baku
Depends on D6555

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

--HG--
extra : moz-landing-system : lando
2018-09-25 14:11:41 +00:00
Jason Orendorff
aaf539046b Bug 1491939 - Part 3: Centralize configuration of JS realm options from prefs. r=baku
Depends on D6554

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

--HG--
extra : moz-landing-system : lando
2018-09-25 14:11:13 +00:00
Jason Orendorff
fbad3f4692 Bug 1491939 - Part 2: Throw, rather than crash, on trying to instantiate a runtime-disabled class. r=jwalden
The new error is thrown if, for example, you try to create a ReadableStream via
the C++ API while streams are disabled.

Depends on D6553

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

--HG--
extra : moz-landing-system : lando
2018-09-25 17:00:32 +00:00
Jason Orendorff
7cf8a82f09 Bug 1491939 - Part 1: Remove remaining traces of build-time ENABLE_STREAMS option. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D6553

--HG--
extra : moz-landing-system : lando
2018-09-25 14:10:16 +00:00
Kershaw Chang
dc8eeee6b9 Bug 1490235 - Use nsDependentCSubstring in AltDataOutputStreamChild::WriteDataInChunks r=mayhemer
Simply replace the nsCString with nsDependentCSubstring to avoid copying the data. In this way, we can also avoid the potential OOM crash.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 16:56:16 +00:00
Andrew Swan
1c46cdfb02 Bug 1494023 Add missing head.js for extension browser tests r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D6816

--HG--
extra : moz-landing-system : lando
2018-09-25 17:10:59 +00:00
Brendan Dahl
6c049f28fa Bug 1492327 - Mimic XUL activeElement behavior for XUL in XHTML. r=smaug
Return the document element as the activeElement when there is no body
element, the document is chrome privileged, and the document element
is a XUL element.

MozReview-Commit-ID: JFDLAqOmLTS

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

--HG--
extra : moz-landing-system : lando
2018-09-25 16:00:13 +00:00
Martin Stransky
7e77a65a6b Bug 1492764 - Set .left class to headerbar box element as Gtk+ does, r=jhorak
Gtk+ sets .left/.right classes to GtkBox element at GtkHeaderBar according to button placement (left/right).
We don't support that now so set .left at least to be compatible with themes - BlueMenta for instance.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:51:40 +00:00
k88hudson
201a155a88 Bug 1493794 - Add new search-only UI, onboarding localization, strings and bugfixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D6699

--HG--
extra : moz-landing-system : lando
2018-09-25 15:01:42 +00:00
Aaron Klotz
e11485f17c Bug 1493845: Disable cross-process DLL blocklist in ASAN builds; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D6745

--HG--
extra : moz-landing-system : lando
2018-09-25 15:00:03 +00:00
Alexandre Poirot
816dd96825 Bug 1490927 - Stop sharing maps in NetworkMonitor between all instances. r=Honza
When opening a web console and a browser console, we instantiate two NetworkMonitor
instances in the same process and they need independant states.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 23:26:05 +00:00
Gregory Mierzwinski
45b9ce1515 Bug 1493021 - Prevent test-coverage from running on non code coverage builds. r=jmaher
This patch prevents the test-coverage task from running on builds that are not related to code coverage.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:10:15 +00:00
Julian Descottes
17903b38b8 Bug 1492863 - Fix react warnings in aboutdebugging-new;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6400

--HG--
extra : moz-landing-system : lando
2018-09-25 11:04:58 +00:00
Andi-Bogdan Postelnicu
8648acbeb0 Bug 1493922 - [Static-Analysis][Clang-Tidy] Add more return codes to mach static-analysis autotest. r=janx
Differential Revision: https://phabricator.services.mozilla.com/D6759

--HG--
extra : moz-landing-system : lando
2018-09-25 12:37:45 +00:00
Martin Stransky
89822d9f40 Bug 1493145 - [CSD] Enable round corners by default by -moz-gtk-csd-transparent-background media query, r=dao
Replace mozilla.widget.use-argb-visuals pref by -moz-gtk-csd-transparent-background media query at browser.css
to draw transparent background. The media query is set by toolkit code and enabled when compatible
window manager is detected.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 11:53:04 +00:00
Jared Wein
b83ae8cfed Bug 1482385 - Check if tooltipNode is non-null before dereferencing it. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D6708

--HG--
extra : moz-landing-system : lando
2018-09-24 23:14:10 +00:00
Bryce Van Dyk
5e078a0d98 Bug 1491889 - Update ChromiumCDMChild to hold a promise to track CDM init. r=cpearce
This changeset extends the async initialize functionality added in the prior
changeset by wrapping the Initialize resolver in a promise. This allows us to
use familiar promise machinery to handle async init of the CDM. We do this by
creating the promise and setting up handling when we receive the init message on
the ChromiumCDMChild, but resolving the promise in the `OnInitialized` callback
from the CDM to the ChromiumCDMChild.

We still only support CDM9 as of this changeset. As such, we now manually call
`OnInitialized` to make sure the ChromiumCDMParent is notified that the CDM has
initialized. When we implement the CDM10 interface, these manual calls will be
moved to the CDM9 compat layer, and Widevine CDM10+ can perform its own
callback.

This changeset adds a failure path to initialization, as the `OnInitialized`
interface we implement allows for failure. However, since we manually call into
this path for CDM9 we shouldn't get any such failures. Once CDM10 is fully
implemented its possible that the init callback could indicate failure, and the
handling here would be invoked.

Depends on D6061

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

--HG--
extra : moz-landing-system : lando
2018-09-25 13:33:27 +00:00
Bryce Van Dyk
2b1313aa34 Bug 1491889 - Update chromium CDM interface to accommodate async init. r=cpearce
Starting at the Widevine CDM10 interface, the CDM is expected to make a callback
to an `OnInititalized` function to signal initialization has taken place. Prior
to this, it was sufficient to call the init function on the CDM, with no waiting
for a callback.

This changeset puts in place the IPDL to support async init, as well as the
handling for the ChromiumCDMParent and ChromiumCDMProxy. The code is not fully
updated to handle CDM10, so CDM9 is the only compatible CDM. Because CDM9 does
not perform the init callback, we immediately call our IPDL to signal init has
taken place. This also accommodates the clearkey case, which uses the CDM9
interface.

Further changesets will put in place more elaborate handling to accommodate the
possible failure of init, as well as implementing the handling `OnInitialized`
function explicitly.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 13:33:09 +00:00
James Graham
caad927e35 Bug 1493674 - Fix up test resolver with out of tree manifest r=ahal
mach try fuzzy has some stronger requirements compared to mach test.

Depends on D6673

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

--HG--
extra : moz-landing-system : lando
2018-09-25 09:40:56 +00:00
James Graham
654866c995 Bug 1493674 - Use in-tree metadata rather than relying on links in the objdir r=ato
Differential Revision: https://phabricator.services.mozilla.com/D6673

--HG--
extra : moz-landing-system : lando
2018-09-25 12:03:34 +00:00
Mark Banner
295ddc689d Bug 1493967 - Add devtools webconsole's automatically generated stub files to the ESLint ignore list. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D6775

--HG--
extra : moz-landing-system : lando
2018-09-25 14:16:52 +00:00
Alexandre Poirot
e008acf411 Bug 1473513 - Backed out changeset 0e431edddacd for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 1BlQk4H0c1w

Depends on D6812

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6813
2018-09-25 19:35:14 +03:00
Alexandre Poirot
18a737b18d Bug 1473513 - Backed out changeset 27419719402e for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 43tUMmC1Je0

Depends on D6811

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6812
2018-09-25 19:35:00 +03:00
Alexandre Poirot
3695cdf575 Bug 1473513 - Backed out changeset 6fc241b06e0b for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 6dCPXvBYhsJ

Depends on D6810

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6811
2018-09-25 19:34:52 +03:00
Alexandre Poirot
67f96eff34 Bug 1473513 - Backed out changeset e56c70bd2f9a for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 9FIL35Nq726

Depends on D6809

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6810
2018-09-25 19:34:43 +03:00
Alexandre Poirot
bb3ecc7ca4 Bug 1473513 - Backed out changeset c690d2383ca4 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: KSgxXnGdsJk

Depends on D6808

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6809
2018-09-25 19:34:35 +03:00
Alexandre Poirot
1255c658b2 Bug 1473513 - Backed out changeset d72f6ff37ca6 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: LKPmFrhaQ5q

Depends on D6807

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6808
2018-09-25 19:34:26 +03:00
Alexandre Poirot
40272ff560 Bug 1473513 - Backed out changeset f9f12b44a3ab for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 8POm9seFrAk

Depends on D6806

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6807
2018-09-25 19:34:18 +03:00
Alexandre Poirot
58167747ab Bug 1473513 - Backed out changeset db43912632fb for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: DbUwQ0NQZcE

Depends on D6805

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6806
2018-09-25 19:34:09 +03:00
Alexandre Poirot
e73ec8adf4 Bug 1473513 - Backed out changeset 80c51a6e896e for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: 3TCiKetO6fn

Depends on D6804

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6805
2018-09-25 19:34:01 +03:00