Commit Graph

618337 Commits

Author SHA1 Message Date
Alex Chronopoulos
42e1c2a80b Bug 934425 - Add mochitest for setSinkId. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5875

--HG--
extra : moz-landing-system : lando
2018-10-12 08:45:17 +00:00
Alex Chronopoulos
5580e3fad1 Bug 934425 - Implement setSinkId in HTMLMediaElement. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D5874

--HG--
extra : moz-landing-system : lando
2018-10-12 09:39:30 +00:00
Alex Chronopoulos
79f5e13243 Bug 934425 - Add SinkId in webidl for HTMLMediaElement. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D5873

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:55 +00:00
Alex Chronopoulos
6e1c6f8946 Bug 934425 - Implement asynchronous method to switch sink in MediaDecoder. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D5872

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:47 +00:00
Alex Chronopoulos
2c94f04194 Bug 934425 - Set device info in MediaSink and switch sink device. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D5871

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:35 +00:00
Alex Chronopoulos
662ff54a4e Bug 934425 - Create a method in MediaManager to look up a given sink id. r=jib
Implement a new method in MediaManager that enumerates audio output devices and looks up for a given sink id asynchronously.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:23 +00:00
Alex Chronopoulos
12ad318568 Bug 934425 - Add device info in MediaDevice. r=jib
MediaDevice is the core object for audio device enumeration. By adding AudioDeviceInfo every information of audio devices will be available. In this case device id will be available from the first enumeration and there is no need to enumerate multiple times to get that info.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 08:48:22 +00:00
Patrick Brosset
58e1a1c0d9 Bug 1495717 - More user-friendly Flex item sizing information; r=gl
MozReview-Commit-ID: 3cSeShKP6TE

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

--HG--
extra : moz-landing-system : lando
2018-10-12 08:46:34 +00:00
Rob Wu
44a8b6f990 Bug 1488914 - Use about:home / about:privatebrowsing in windows.create r=rpl,dao
Use a homepage URL instead of a new tab URL by default in
browser.windows.create.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 08:47:00 +00:00
Jean-Yves Avenard
ca7b17362f Bug 1498162 - Ensure some variables are initialzied before using them r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8384

--HG--
extra : moz-landing-system : lando
2018-10-11 20:34:04 +00:00
Patrick Brosset
5deff44e6f Bug 1497521 - Force the new flexbox inspector ON before running its tests; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8089

--HG--
extra : moz-landing-system : lando
2018-10-12 05:04:39 +00:00
Brindusan Cristian
989c05aa9a Backed out changeset d44ae1668a70 (bug 1494685) as per emilio's request. 2018-10-12 05:33:38 +03:00
Emilio Cobos Álvarez
dfeadd509a Bug 1494685 - Add a reftest. r=kats
Probably not the most reliable test to catch this (as it depends on
the font and such) but still fails here and I'd like WPT to have a test-case
for this. I'm looking into adding a WR test-case ATM, though fighting with
it way too much.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 02:04:27 +00:00
alwu
7d4abd3e75 Bug 1496496 - part5 : add test. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D7824

--HG--
extra : moz-landing-system : lando
2018-10-08 18:45:51 +00:00
alwu
7c0b331bf7 Bug 1496496 - part4 : avoid to notify audible state changed frequently. r=padenot
We don't want to notify state changed frequently if the input stream is consist of
interleaving audible and inaudible blocks.

This situation is really common, especially when user is using OscillatorNode to produce
sound. Sending unnessary runnable frequently would cause performance debasing.

If the stream contains 10 interleaving samples and 5 of them are audible, others are
inaudible, user would tend to feel the stream is audible. Therefore, we have the loose
checking when stream is changing from inaudible to audible, but have strict checking when
streaming is changing from audible to inaudible. If the inaudible blocks continue over a
speicific time thersold, then we will think the steam as inaudible.

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

--HG--
extra : moz-landing-system : lando
2018-10-08 18:52:01 +00:00
alwu
55fe876b28 Bug 1496496 - part3 : add log. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D7821

--HG--
extra : moz-landing-system : lando
2018-10-05 19:04:17 +00:00
alwu
57b2fc6a83 Bug 1496496 - part2 : rename variables and functions. r=padenot
The naming `isAudible` is more clear than `isInputMuted`, so also change related functionis and variables.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 19:04:16 +00:00
alwu
6ac9eb0021 Bug 1496496 - part1 : add IsAudible() to detect audible data. r=padenot
Add method to help us know whether audio block is audible or not, so that we won't
show the sound indicator for silent web audio.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 18:17:41 +00:00
Brindusan Cristian
77f8de2029 Backed out changeset b57be7d7343c (bug 1493864) for build bustages on android-findbugs. CLOSED TREE 2018-10-12 03:25:55 +03:00
Botond Ballo
7944b45377 Bug 1495055 - Adjust the composited layout viewport in AdjustScrollForSurfaceShift(). r=kats
Depends on D7368

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

--HG--
extra : moz-landing-system : lando
2018-10-11 05:58:13 +00:00
Botond Ballo
8c049d6070 Bug 1495055 - Accept layout viewport updates from the main thread right away on Android. r=kats
Usually APZ waits at least one transaction from the time the composition
bounds (visual viewport) is updated, before updating the (layout) viewport,
but this causes problems due to the visual and layout viewport being out of
sync during orientation changes and dynamic toolbar transitions on Android.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 12:04:10 +00:00
Sam Foster
e556af6195 Bug 1485105 - Allow 12-19 digit length card numbers. r=MattN
* Change to isValidNumber to allow any number length in the range. This also removes 9 as a valid payment card number length
* Amend form autocomplete test for sensitive 9 digit numbers. We no longer consider them valid cc numbers, test for 19 digit numbers instead
* Fix intermittent issue in a session restore test. It turns out Date.now().toString() can sometimes pass the Luhn algorithm and look like a valid credit card number. I believe this could lead to it being treated as sensitive data which is not saved and restored, failing the test

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

--HG--
extra : moz-landing-system : lando
2018-10-11 23:54:25 +00:00
Andrew McCreight
53217795fe Bug 1493237 - Use a test-only non-nsISupports wrapper cached WebIDL class in a weak map test r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D8134

--HG--
extra : moz-landing-system : lando
2018-10-11 23:02:10 +00:00
divyansh
a5939cf925 Bug 1478694 - Ensure that WebExtensions alarms set in the past are fired immediately. r=rpl
Bug 1478694 - Ensure that WebExtensions alarms set in the past are fired immediately.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 19:22:21 +00:00
Wes Kocher
ac5fd36c61 Bug 1496627 - Make sure fennec is granted all the permissions it needs to run wpt r=gbrown
Without this, the user must manually install fennec with expanded permissions with `adb install -g <apk>`.

With this patch, `./mach wpt` on its own handles everything from emulator setup to test running.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 22:07:45 +00:00
Felipe Gomes
7d4ee76a9d Bug 1498032 - Support flat policies on Mac. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D8302

--HG--
extra : moz-landing-system : lando
2018-10-11 21:36:56 +00:00
Felipe Gomes
3faedbfe89 Bug 1498032 - Part 0. Move the removeUnknownPolicies function into macOSPoliciesParser.jsm. r=spohl
This just simplifies things a bit for the next patch

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

--HG--
extra : moz-landing-system : lando
2018-10-11 19:07:50 +00:00
Mike Conley
90e282026f Bug 1497901 - Make some tests work if Activity Stream runs in its own content process. r=Felipe
The separate Activity Stream content process is currently pref-able, and I'd like to make sure
that the tree is green with it enabled and disabled. This patch makes it so that tests that
browse from about:home/about:newtab to some other page or back work properly even if there
are process flips.

Based on work originally by Jay Lim (:imjching) <jay@imjching.com>.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 21:13:31 +00:00
Ed Lee
704e5da4d0 Bug 1498314 - Add simplified onboarding, CFR installing and bug fixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D8443

--HG--
rename : browser/components/newtab/content-src/asrouter/templates/NewsletterSnippet/NewsletterSnippet.jsx => browser/components/newtab/content-src/asrouter/templates/SubmitFormSnippet/SubmitFormSnippet.jsx
rename : browser/components/newtab/content-src/asrouter/templates/NewsletterSnippet/NewsletterSnippet.schema.json => browser/components/newtab/content-src/asrouter/templates/SubmitFormSnippet/SubmitFormSnippet.schema.json
rename : browser/components/newtab/content-src/asrouter/templates/NewsletterSnippet/_NewsletterSnippet.scss => browser/components/newtab/content-src/asrouter/templates/SubmitFormSnippet/_SubmitFormSnippet.scss
rename : browser/components/newtab/test/unit/asrouter/templates/NewsletterSnippet.test.jsx => browser/components/newtab/test/unit/asrouter/templates/SubmitFormSnippet.test.jsx
extra : moz-landing-system : lando
2018-10-11 20:30:28 +00:00
Drew Willcoxon
47b312fbc2 Bug 1494471 - Ignore the autofill threshold when autofilling URLs r=mak
Differential Revision: https://phabricator.services.mozilla.com/D7361

--HG--
extra : moz-landing-system : lando
2018-10-11 08:34:25 +00:00
Joel Maher
75b335a2dc Bug 1241535 - add support for 'geckoprofile' action task in-tree. r=bstack
Add support for 'geckoprofile' action task in-tree.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 20:22:42 +00:00
Edouard Oger
8ca8070181 Bug 1496637 - Fetch missed FxA commands sporadically on sync r=markh
Differential Revision: https://phabricator.services.mozilla.com/D7911

--HG--
extra : moz-landing-system : lando
2018-10-11 20:08:33 +00:00
Matt Howell
62a191de2d Bug 1497907 - Don't accidentally hide the uninstaller reboot opt-out radio button. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D8309

--HG--
extra : moz-landing-system : lando
2018-10-11 22:59:49 +00:00
shindli
6dbc16f83e Backed out changeset 7bd7b375eb2e (bug 1497921) per developer's request CLOSED TREE 2018-10-12 01:19:46 +03:00
Connor Sheehan
962fb415b2 Bug 1483941: add documentation about build telemetry r=ted
This commit adds some documentation about build telemetry
to the build system documentation. This doc should be used
as a reference during opt-in to build system telemetry,
and includes paths to the relevant files for users to audit
independently. Documentation regarding the schema types and
object properties was generated by the `jsonschema2rst` tool,
available on PyPI.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 19:58:47 +00:00
Michael Ratcliffe
d2d39186f6 Bug 1478481 - Flexbox highlighter overlay is wrong size, in page with full-page-zoom applied r=gl
- Added AutoRefreshHighlighter flag to AutoRefreshHighlighter. This ensures that getQuads() ignores the zoom factor.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 23:59:45 +00:00
Chris Manchester
55dced2da0 Bug 1497359 - Detect and reject re-use of objdirs between Make and Tup in configure. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D8289

--HG--
extra : moz-landing-system : lando
2018-10-11 19:16:49 +00:00
Brian Grinstead
164506b0dc Bug 1491484 - Skip less of browser_findbar.js on linux opt;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D8390

--HG--
extra : moz-landing-system : lando
2018-10-11 18:23:52 +00:00
Iain Ireland
5e4193a2fc Bug 1423937: Add FrameIter::hasInitialEnvironment to guard FrameIter::callObj r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D8395

--HG--
extra : moz-landing-system : lando
2018-10-11 18:12:28 +00:00
Jan-Erik Rediger
cf8a6d4615 Bug 1498245 - Call exit_func to raise any errors if parsing failed r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D8386

--HG--
extra : moz-landing-system : lando
2018-10-11 17:44:54 +00:00
Jan Henning
814f205eb5 Bug 1493864 - Assign site notifications to a dedicated notification channel. r=jchen
Bug 1378445 made those audible and we want to preserve the behaviour.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 19:44:01 +00:00
Thomas Wisniewski
b572526d9c Bug 1451485 - convert webcompat-reporter to a webextension; r=aswan,Pike
convert webcompat-reporter to a webextension

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

--HG--
rename : browser/extensions/webcompat-reporter/skin/lightbulb.svg => browser/extensions/webcompat-reporter/icons/lightbulb.svg
extra : moz-landing-system : lando
2018-10-11 15:53:23 +00:00
Iain Ireland
49c397140e Bug 1498303: Relax restrictions on pending exceptions in math functions called from recovery code r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D8448

--HG--
extra : moz-landing-system : lando
2018-10-11 21:30:18 +00:00
Narcis Beleuzu
c31a01ef52 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-12 00:57:21 +03:00
Narcis Beleuzu
d30168f45c Merge inbound to mozilla-central. a=merge 2018-10-12 00:48:03 +03:00
Brindusan Cristian
e1f4f3ac73 Backed out changeset 0ff0cb536428 (bug 1497969) for devtools failures on browser_rules_add-rule-pseudo-class.js. CLOSED TREE 2018-10-12 00:00:47 +03:00
Narcis Beleuzu
e8f62dbf84 Backed out changeset b01876f4f16e (bug 1498215) for bustages on test_pathutils.py. CLOSED TREE 2018-10-11 23:56:45 +03:00
Dana Keeler
5af51d1085 bug 1495321 - only allow https URIs to be considered secure in nsSecureBrowserUIImpl r=Gijs
Summary:
Resources that aren't secure (e.g. http) can be routed over secure transports
(e.g. http/2 alt-svc, https proxies). For display purposes (the site identity
widget) we don't want to treat these as secure. Bug 1040323 addressed this exact
issue but didn't include tests. Thus, when nsSecureBrowserUIImpl was
reimplemented in bug 832834, this aspect was neglected. This time, there is a
test.

Reviewers: Gijs

Tags: #secure-revision

Bug #: 1495321

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

--HG--
extra : rebase_source : e17ec47938f41a692b41a7cf65f1d5e4b880e8a7
extra : amend_source : c445c2f5c7eff94be027e238c2f2befc91b3905a
2018-10-11 10:07:49 -07:00
Gabriel Luong
48144773f9 Bug 1497187 - Hide the flexbox container properties in the flex item accordion. r=pbro 2018-10-11 12:05:08 -04:00
Gabriel Luong
65571e884a Bug 1495775 - Flex items should be highlighted when hovered over in the flex item list. r=pbro 2018-10-11 12:00:37 -04:00