Commit Graph

13016 Commits

Author SHA1 Message Date
Tooru Fujisawa
6a3cb0b287 Bug 1441424 - Disable test_autoplay_policy_activation.html temporarily. r=hiro 2018-03-01 17:40:40 +09:00
Paul Adenot
a452702398 Bug 1441500 - Remove smoothing of the delayTime parameter. r=karlt
Gecko only ever had de-zippering for DelayNode.delayTime. It has been decided in
[0] to remove all de-zippering, for consistency.

[0]: https://github.com/WebAudio/web-audio-api/issues/76#issuecomment-107679878

MozReview-Commit-ID: FK9Erwxth05

--HG--
extra : rebase_source : caccac28456191e68c980b12159ed310ce18e149
2018-02-27 12:59:25 +01:00
Sebastian Hengst
71f42f588a merge mozilla-central to autoland CLOSED TREE 2018-02-28 20:17:53 +02:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Sebastian Hengst
86ba75fd34 merge mozilla-central to autoland 2018-02-28 12:56:41 +02:00
Sebastian Hengst
769222fadf merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
vprabhu
99ae48d36a Bug 1437893 - Removed an unnecessary string initialization in cdm-test-decryptor.cpp r=cpearce
MozReview-Commit-ID: 6iD2ffbSSar

--HG--
extra : rebase_source : 77c8848765e359274cf2942b35a4cf6ea9c32c43
2018-02-27 18:15:45 +05:30
Eitan Isaacson
9f972b9f46 Bug 1437332 - Don't speak after inner window was destroyed. r=smaug 2018-02-26 16:09:00 +02:00
Andreea Pavel
fa0861e443 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-02-28 00:24:02 +02:00
Peter Van der Beken
6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Andreas Pehrson
8963e5d00e Bug 1439529 - Same resolution is also feasible. r=jib
MozReview-Commit-ID: F9DGzgr7pCN

--HG--
extra : rebase_source : ca3817b548033e0447236a61f54d3f9711c77bbe
2018-02-26 11:07:53 +01:00
Nils Ohlmeier [:drno]
209544512d Bug 1414176: make data channel readyState checks spec compliant r=jib
MozReview-Commit-ID: 8VYTsK2edLE

--HG--
extra : rebase_source : c845272bf8357647212a6a6a43e06464ea798cb0
2018-02-16 23:28:10 -08:00
Jean-Yves Avenard
4552f8d42d Bug 1425246 - Don't round time when negative. r=rillian
MozReview-Commit-ID: 71ef50vJ9R3

--HG--
extra : rebase_source : e70154430eddf21a743c8da72cdc970c2ef19a80
2018-02-23 14:15:21 +01:00
Andreea Pavel
d805787970 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-28 00:25:43 +02:00
Mark Banner
294979dc32 Bug 1441460 - ESLint's no-define-cc-etc looks at the wrong property item when checking for Cc/Ci/Cu/Cr usage. r=florian
MozReview-Commit-ID: IkSkCWqBHOn

--HG--
extra : rebase_source : 6b3a2977d4b157aea54c6e3f6960d3673e751a34
2018-02-23 20:42:17 +00:00
Tiberius Oros
5bf13b301a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-27 00:22:22 +02:00
Tiberius Oros
ba173eb9ee Merge inbound to mozilla-central. a=merge 2018-02-27 00:19:49 +02:00
Brindusan Cristian
e1d9e5f7ed Backed out 4 changesets (bug 1436074, bug 1436694) for frequent asertion failures at MediaEngineWebRTCAudio.cpp CLOSED TREE
Backed out changeset 1aff350b83b8 (bug 1436074)
Backed out changeset f5cc71d38e4a (bug 1436694)
Backed out changeset 6c38cc382d21 (bug 1436694)
Backed out changeset ae428bfb913f (bug 1436694)
2018-02-26 17:54:18 +02:00
Narcis Beleuzu
5968b0947f Backed out 10 changesets (bug 1410456) for Android mochitest crashes, e.g. in test_postMessages.html. CLOSED TREE
Backed out changeset 7ec175446efd (bug 1410456)
Backed out changeset 94457911bb24 (bug 1410456)
Backed out changeset 5248a21216ae (bug 1410456)
Backed out changeset f182ab7885db (bug 1410456)
Backed out changeset e482347bdae3 (bug 1410456)
Backed out changeset f7b646045e06 (bug 1410456)
Backed out changeset 6a8ed4bf5d2f (bug 1410456)
Backed out changeset 1a9c687ec277 (bug 1410456)
Backed out changeset 82f6667c6758 (bug 1410456)
Backed out changeset 7bf358e3e01b (bug 1410456)
2018-02-26 15:58:20 +02:00
Andreas Pehrson
c597c8df87 Bug 1440252 - Implement MediaEngineWebRTCMicrophoneSource::GetSettings. r=padenot
MozReview-Commit-ID: IVbax9Xxs8R

--HG--
extra : rebase_source : 6d42af31705860100ba40b0d750ddce2b513467d
2018-02-26 09:41:20 +01:00
Alex Chronopoulos
816b44e1a0 Bug 1410456 - use jni methods in place of removed cubeb methods. r=padenot
MozReview-Commit-ID: 18fQVZeYAgk

--HG--
extra : rebase_source : 67b9df3bdfb22d2baa05a15f6535af8d3d5c12d9
2018-02-20 15:37:07 +02:00
Nick Alexander
03710dc7d0 Bug 1440743 - Part 2: Remove most of MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE. r=jchen
This is the easy stuff -- everything but mobile/android/base/Makefile.in.

MozReview-Commit-ID: 5x2z97AHUrR

--HG--
extra : rebase_source : 531fd41d367cad071b209b85ca5b5602fd7cbf7b
2018-02-22 11:45:51 -08:00
Paul Adenot
992d7d94eb Bug 1439046 - Guard against division by zero in DynamicsCompressorKernel.cpp. r=pehrsons
MozReview-Commit-ID: 2DlebpogUHm

--HG--
extra : rebase_source : fb28ec70ed9bff57fec0475f08563d080c00477f
2018-02-23 14:06:51 +01:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Andreas Pehrson
210228f94e Bug 1436074 - Reduce turn-off timer by time since we turned on. r=jib
MozReview-Commit-ID: 2AvnJxUSTmy

--HG--
extra : rebase_source : c0f0755c15e9ed564f333856125a1c1a9e05b4bf
2018-02-14 16:35:45 +01:00
Andreas Pehrson
0815f2e5dc Bug 1436694 - Clarify that MediaEngineSources can be double-stopped. r=padenot
This is already true for the audio sources. It should be for all.

Crashtests showed that shutting down amidst the async init can lead to
double-stops. It is impossible to completely protect yourself from them without
waiting for all queued operations to resolve (results to become known) before
taking action. Doing that would require a refactor in MediaManager and cause
higher latency for device operations so it seems like the wrong way to go.

MozReview-Commit-ID: 5Cci6whzTL7

--HG--
extra : rebase_source : 18efef4e294ac2b02753721ca5813bcbf63e3111
2018-02-22 12:23:06 +01:00
Andreas Pehrson
98c3816ece Bug 1436694 - MozPromisify device initialization and move it to SourceListener. r=jib
This so that SourceListener can keep its internal state in sync with the result
of the start operation.

MozReview-Commit-ID: Cgl5TFnpCeW

--HG--
extra : rebase_source : 4a7e8c1217b0db3879312d4b33dc74227e969608
2018-02-16 11:55:27 +01:00
Andreas Pehrson
fc712f4a1a Bug 1436694 - Make a PostTask variant that returns a MozPromise. r=jib, r=jya
MozReview-Commit-ID: 76mLpntaU5v

--HG--
extra : rebase_source : bd0ac6102854b5d50d711c16c94c6cfd07274f69
2018-02-15 15:18:12 +01:00
Paul Adenot
104e61097b Bug 1426129 - Take a reference to this when calling methods asynchronously in CameraChild.cpp r=pehrsons
--HG--
extra : rebase_source : 5912873029dbecabe3a106f4f1cf35684db0a461
2018-02-23 17:35:27 +01:00
Geoff Brown
764e843d9a Bug 1339568 - Re-enable some mochitest-media tests on linux/debug and linux/asan; r=whimboo 2018-02-23 09:47:56 -07:00
Andreas Pehrson
ce1efe51da Bug 1440347 - Lock while modifying mAllocations. r=padenot
--HG--
extra : rebase_source : 2f5c6e13e8f930b82ff26190485bb8eed69592e4
extra : histedit_source : 0b3cfe11cdd16ee5bf42eec68196de9531e2c36b
2018-02-23 10:20:01 +01:00
Ben Kelly
75bf35692e Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor 2018-02-22 14:28:39 -08:00
Chris Pearce
08a18dd75d Bug 1439433 - Length check FileBlockCache::mBlockChanges access. r=gerald
I can't for the life of me figure out how we get into the situation
where the block change list is empty here, or how we can get past some
of the existing null checks in the code, but we can at least add some
more checks to hopefully ensure we don't crash...

MozReview-Commit-ID: 168G94IyrWt

--HG--
extra : rebase_source : b6ada7bfb755ae285f0010bd6eff2e305fc5fbf0
2018-02-22 15:00:18 +13:00
Nico Grunbaum
0b893198d5 Bug 1439041 - tighten up RTP sources mochitests r=mjf
MozReview-Commit-ID: 6fzHZpe1U0w

--HG--
extra : rebase_source : a5f5436efc1c12b0693814b5397d4777b4cd9dbc
2018-02-16 17:21:38 -08:00
Csoregi Natalia
8922f96260 Backed out changeset c5285ff72ac4 (bug 1439433) for build bustage. CLOSED TREE 2018-02-22 04:47:45 +02:00
Chris Pearce
fe23f86bc0 Bug 1439433 - Length check FileBlockCache::mBlockChanges access. r=gerald
I can't for the life of me figure out how we get into the situation
where the block change list is empty here, or how we can get past some
of the existing null checks in the code, but we can at least add some
more checks to hopefully ensure we don't crash...

MozReview-Commit-ID: 168G94IyrWt

--HG--
extra : rebase_source : 6918da94d4f42adad1978055ea49e7040e069368
2018-02-22 15:00:18 +13:00
Chris Pearce
49743998b7 Bug 1439437 - Tests for autoplay gesture activation in new windows/frames. r=kamidphish
Autoplay of audible media should be blocked in documents until they have a user
gesture in them, or in a same-origin parent document. This patch adds tests for
those cases.

MozReview-Commit-ID: B4FQhPOukId

--HG--
extra : rebase_source : 38d77ce42ec5f4edb0119ba2ccf03f53cd8cdb00
2018-02-19 16:31:36 +13:00
Nico Grunbaum
47a0842e58 Bug 1439736 - AudioLevel RTP header ext. send/recv mochitest r=mjf
MozReview-Commit-ID: 2ybzJSSS7Jb

--HG--
extra : rebase_source : 348891bc74bba556c94d51bbb1b2de51e15743de
2018-02-20 12:46:38 -08:00
shindli
f1c5255ad4 Merge inbound to mozilla-central. a=merge 2018-02-20 21:09:49 +02:00
Joel Maher
0d3fd13f91 Bug 1438641 - dom/media/test/reftest/gizmo.mp4.seek.html fails on new windows 10 hardware, add fuzzy-if. r=bryce 2018-02-20 10:45:26 -05:00
Byron Campen [:bwc]
7eeb085a3b Bug 1290949: Test that removeTrack does not remove the associated sender. r=jib
MozReview-Commit-ID: ERg48fO9i6b

--HG--
extra : rebase_source : 0e2944e0c30a2811be3d198f8b6a7bd36d53692e
2018-02-16 13:28:25 -06:00
Chris Pearce
1cfc65da51 Bug 1392747 - Backed out changeset 6524c2d721db. r=backout
The logging added in this patch was landed to help debug very rare shutdown
failures on android, but the logging runs on other platforms and is annoying.
No one is looking at fixing the rare shutdown problem on Android. So remove the
logging until fixing the shutdown failure becomes a priority.
2018-02-20 15:54:00 +13:00
Andreas Pehrson
e52987eee4 Bug 1436352 - Enable turning microphone off on track-disable by default. r=jib
MozReview-Commit-ID: LwIPkOD46p3

--HG--
extra : rebase_source : ddf21aec7f95c4071cc1955f446353e3b0361c36
2018-02-19 16:13:43 +01:00
Andreas Pehrson
4acbf7149c Bug 1438538 - Fix SourceListener::CapturingAudio logic. r=johannh
MozReview-Commit-ID: 9K0kOatj1CQ

--HG--
extra : rebase_source : ff026916008bafa17615d01ad01dd87aafab467a
2018-02-20 13:40:46 +01:00
Dorel Luca
f41b03eca9 Backed out changeset 38577c007450 (bug 1424371) for Marionett test failure on testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py. CLOSED TREE 2018-02-19 22:15:23 +02:00
Dorel Luca
037478c033 Backed out 9 changesets (bug 1410456) for Mochitest failure on mobile/android/tests/browser/chrome/test_media_playback.html
Backed out changeset 36f6b40dfa88 (bug 1410456)
Backed out changeset 19f3248502d9 (bug 1410456)
Backed out changeset 18ef18999175 (bug 1410456)
Backed out changeset 0ec75a56b4c7 (bug 1410456)
Backed out changeset f7eae1545d5e (bug 1410456)
Backed out changeset d59060ecd24c (bug 1410456)
Backed out changeset f996b9dce4a6 (bug 1410456)
Backed out changeset 1f75636b5bce (bug 1410456)
Backed out changeset c170d37b1a04 (bug 1410456)
2018-02-19 21:45:10 +02:00
Milan Sreckovic
7571df7e7c Bug 1424371: Use BaseRect access methods instead of member variables in dom/ r=qdot
MozReview-Commit-ID: HXWhggOMIEK

--HG--
extra : rebase_source : 9c9eacf80d2b7f78faa82a1549170b98d12cdaa8
2018-02-19 12:56:10 -05:00
Alex Chronopoulos
33dc85d377 Bug 1410456 - use jni methods in place of removed cubeb methods. r=padenot
MozReview-Commit-ID: 7DqORSl0Sm2

--HG--
extra : rebase_source : 4559b6a65297bf3b2c70f33b6ab27e612a0fced2
2018-02-19 18:28:10 +02:00
Masatoshi Kimura
0c0ddaa7e8 Bug 1425219 - Stop using GetNativePath in ffvpx. r=jya
FFVPXRuntimeLinker could not handle file paths that contain characters outside the current system code page on Windows. This patch will fix it by using wide char APIs.

MozReview-Commit-ID: 9ES1xFELjDs

--HG--
extra : rebase_source : 4bdc082bd6db9263b41fe74d524e0a4d98802ea8
extra : intermediate-source : 8afa22df3893c678884e3a0811fb6c82790c1a3c
extra : source : c6f916a967a78e176bdb699a85e194bbdc372bce
2017-12-15 23:16:39 +09:00
Andreas Pehrson
f5d34fea0d Bug 1430856 - Default to two default capabilities when a camera can handle anything. r=jib
If a camera returns no capabilities we interpret it as it being able to handle
any capability we throw at it. However, we also end up trying to start it with
the default capability of 0x0@0. This often works, but we can crash when
rescaling it to the chosen target capability 0x0@0.

With this patch we inject up to two default capabilities, one at 640x480@30 and
one at 1280x720@30. With constraints present we'll try to adjust these defaults
so they fit within the constraints while at the same time preserve the
aspect ratio given by prefs.

MozReview-Commit-ID: 3mr7Li5TTbV

--HG--
extra : rebase_source : c525c2fd8d60f5dece548216caefc4976e9afb0b
2018-02-13 20:22:18 +01:00