Commit Graph

13101 Commits

Author SHA1 Message Date
Dorel Luca
a04c12a681 Backed out changeset 231448afb53d (bug 1446505) for Mochitest failure on dom/media/webspeech/synth/test/test_bfcache.html. CLOSED TREE
--HG--
extra : amend_source : db6c502c4fe939ee072114a60636d3d1cbd96f1d
2018-03-17 01:30:37 +02:00
Eitan Isaacson
aa1affd1f8 Bug 1446505 - Don't pass topic when creating speech services. r=smaug 2018-03-16 12:15:00 +02:00
Eitan Isaacson
f765d0d585 Bug 1184142 - Support WebSpeech in GeckoView. r=snorp r=smaug
--HG--
extra : rebase_source : 81eb1ce2f67f70ee08908d69db54f8625df341cb
2018-03-16 12:08:00 +02:00
Sylvestre Ledru
8c732b1e60 Bug 1443080 - Now that we use static call, some var instances are not needed anymore r=Ehsan
MozReview-Commit-ID: AiuJIY8Gssl

--HG--
extra : rebase_source : 9bb9b7df30d502f8b3f5ffda719aea80109b07e9
2018-03-05 09:33:02 +01:00
Sylvestre Ledru
fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Andreas Pehrson
32da610e23 Bug 1443803 - Protect against destroyed MediaStream in MediaEngineWebRTCMicrophoneSource. r=padenot
MozReview-Commit-ID: 3vyzS0DceKI

--HG--
extra : rebase_source : 127ff05f24c28c813af9cd3c90484fdedbf8faa2
2018-03-14 16:46:46 +01:00
Andreas Pehrson
85229c5bef Bug 1438134 - Resolve ApplyConstraints and end track on unexpected error. r=jib
MozReview-Commit-ID: 1uVHTCOwlQw

--HG--
extra : rebase_source : 62a77cacad9de70511fe73006a26da627f002d5c
2018-02-23 10:06:22 +01:00
Andreas Pehrson
1a2a215d37 Bug 1438134 - MozPromisify ApplyConstraints internals. r=jib
MozReview-Commit-ID: Gu9yOxFW1di

--HG--
extra : rebase_source : 419d1a85cb1d94512d7bcb122deedca68dc61b29
2018-02-23 10:05:42 +01:00
Andreas Pehrson
4c95dc3099 Bug 1438134 - Make the return value of MediaEngineSource::Reconfigure well defined. r=jib
MozReview-Commit-ID: DR3sdtdZkob

--HG--
extra : rebase_source : 35d60c11c8bd50547062af708cb009f7835b5893
2018-02-22 15:35:16 +01:00
Andreas Pehrson
f88baf18ca Bug 1438134 - Apply new capability only after stopping capture. r=jib
MozReview-Commit-ID: 6rtcyFpwxmP

--HG--
extra : rebase_source : 8f8b510f7a0369e2f07a61dbdfcaa9272674b0ad
2018-02-14 12:24:25 +01:00
Noemi Erli
da9500ef7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 19:44:05 +02:00
Noemi Erli
6e96a3f1e4 Merge autoland to mozilla-central. a=merge 2018-03-15 19:38:46 +02:00
Nicholas Nethercote
38dbedbf69 Bug 1445556 - Remove media.cubeb.sandbox from MediaPrefs. r=cpearce
Like the other media.cubeb.* prefs, it doesn't need to be a VarCache pref.

MozReview-Commit-ID: A2L8Tf3GAt

--HG--
extra : rebase_source : 86791123613c2f21e4a771c99cb079125495dec3
2018-03-14 16:53:47 +11:00
Nicholas Nethercote
91b9abd6e8 Bug 1445556 - Remove the media.playback.warnings-as-errors.stagefright-vs-rust pref. r=cpearce
It's unused.

MozReview-Commit-ID: 9SRWz8uj4wl

--HG--
extra : rebase_source : c36451b697959953cefb74ab7abfb46fdf0dcb5c
2018-03-14 16:11:44 +11:00
Nicholas Nethercote
112caaf2ed Bug 1445556 - Remove the media.rust.test_mode pref. r=cpearce
It's unused.

MozReview-Commit-ID: 4JDoKDxHqf6

--HG--
extra : rebase_source : 4d4d7578b18193f4969dfe8c39a3d0da5bd26e95
2018-03-14 15:58:46 +11:00
Adrian Wielgosik
27009d1b15 Bug 1445408 - Remove nsIDOMClientRect. r=bz
MozReview-Commit-ID: HP4E3cADa8i

--HG--
extra : rebase_source : caffa42f22f6c25d62d080aa6f65e5105ad263e9
2018-03-13 14:19:17 +01:00
Tom Ritter
3d9500b9f6 Bug 1440195 Add a random context seed for AudioContext and MediaStream r=baku
MozReview-Commit-ID: sHpVCgd8Fs

--HG--
extra : rebase_source : e1bbeab189b7a64c4ce051b74bc19a706b0fa1e8
2018-03-01 11:00:12 -06:00
Arthur Iakab
beb7d9aca5 Bug 1432025, disabling test_peerConnection_transceivers.html on Linux debug platform r=jmaher
--HG--
extra : rebase_source : bb870c0c3a4b0d0cdfbfc7aebc953b85d9d64322
2018-03-14 06:46:00 +02:00
Margareta Eliza Balazs
ca8cc145d5 Backed out 2 changesets (bug 1443942) for mda assertion failures in /build/build/src/dom/media/ChannelMediaResource.cpp
Backed out changeset e2f69088b1d7 (bug 1443942)
Backed out changeset 446bfe8412cb (bug 1443942)
2018-03-13 07:14:32 +02:00
Chris Pearce
2e59cf72c3 Bug 1443942 - Test for blocking midflight redirects in media elements. r=jya
Test that playback works if we don't block, doesn't if we do block, and does
if we do block and CORS is used.

MozReview-Commit-ID: 9PTZXLOdHIU

--HG--
extra : rebase_source : 9071542f9deb36063aa0de3386a75bc0ad111d20
2018-03-06 14:44:26 +13:00
Chris Pearce
0ebc1bfba0 Bug 1443942 - Block mid-flight redirects to cross origin destinations during media loads. r=jya
There's no compelling use case for mid-flight redirects, and Chrome
already blocks it, so there's little point in maintaining it.

Add a hidden pref to toggle blocking, so we can toggle it off during
testing to ensure that we're blocking a working mid-flight redirect.

MozReview-Commit-ID: EnGNmYFr8Uv

--HG--
extra : rebase_source : 3ed71273da24f8f0c8bc24ceede49afa7775650d
2018-03-06 09:55:03 +13:00
Chris Pearce
7101cc436e Bug 1434804 - Test that setting a muted-autoplay media to audible pauses media. r=kamidphish
MozReview-Commit-ID: 7cPgJMvUoja

--HG--
extra : rebase_source : 1d94df4e2fe75e1854207c52259c88813c24be50
2018-03-12 14:15:54 +13:00
Paul Adenot
2423ff6f48 Bug 1443224 - Throw correct exceptions when trying to set the channelCount, the channelCountMode and the channelInterpretation on a ChannelSplitterNode. r=baku
Spec: https://webaudio.github.io/web-audio-api/#dom-audionode-channelcount
Google has written a web platform test this is going to be merged soon (we
currently fail it).

MozReview-Commit-ID: 1RpASaIJrhm

--HG--
extra : rebase_source : 42dc8af6e677831d70e84ffc23e738d49549c59d
extra : amend_source : b4c30805157bd9bfd06afdfc8f439fe8de1b6aae
extra : source : e7b5b629fb30c4c8b8708979e926029f4e743420
2018-03-09 15:22:44 +01:00
Alex Gaynor
52b78d5be4 Bug 1444175 - Mark CamerasParent final; r=gcp
MozReview-Commit-ID: 2m1rCZxrUTq

--HG--
extra : rebase_source : 12fc72011a4dc7d39d3acea6ff0b33a78002113d
2018-03-08 14:54:58 -05:00
Paul Adenot
934bbfef39 Bug 1443228 - Make the ConvolverNode ctor throw NotSupportedError when passed a buffer with an invalid channel count. r=karlt
Spec: https://webaudio.github.io/web-audio-api/#dom-convolvernode-buffer
This is well tested in web-platform-test, the test has been added a day ago and
will be merged soon: 16376ce7a6/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels.html

MozReview-Commit-ID: LxsDomV5bEL

--HG--
extra : rebase_source : 460b653c67743a395733006e4961b93861a26a9a
2018-03-08 11:23:45 +01:00
Videet
01ad0f3438 Bug 547707: replaced hardcoded strings by definitions in nsMimeTypes.h r=gerald
MozReview-Commit-ID: 6f85pRUe8Tg

--HG--
extra : rebase_source : f41797530bf9211f3fe875a5da860132f5bd2c7c
2018-03-06 17:43:57 +01:00
Narcis Beleuzu
e73ecbc91f Backed out 4 changesets (bug 1437366) for mochitest failures on /test_peerConnection_basicAudio_forced_higher_rate.html
Backed out changeset 57826a5b03e8 (bug 1437366)
Backed out changeset a26852df062b (bug 1437366)
Backed out changeset abca0eb36d33 (bug 1437366)
Backed out changeset 41bb4a676575 (bug 1437366)

--HG--
extra : rebase_source : d81a0833db5d331fe928100cf88d1b9cc9253a1b
2018-03-08 19:27:25 +02:00
Paul Adenot
c670e162da Bug 1437366 - Test that sending and receiving audio when using a graph with a sample-rate that is not supported by the MediaPipeline code works. r=pehrsons
MozReview-Commit-ID: 4c5zgkYCX2T

--HG--
extra : rebase_source : 5c8dab421fff5806add1628f0ff55fcff19a5d42
2018-03-05 14:53:09 +01:00
Paul Adenot
003b8e4f95 Bug 1437366 - Add a way to force the sample-rate used for a MediaStreamGraph. r=pehrsons
MozReview-Commit-ID: 4ICQiNKbUpJ

--HG--
extra : rebase_source : 9976b2d386f1467766af4a929b64479af99997ae
2018-03-02 19:27:57 +01:00
Byron Campen [:bwc]
e92f4bada3 Bug 1443198 - Part 2: Check whether PC is closed before trying to create transceivers due to offerToReceive. r=jib
MozReview-Commit-ID: 5xDzBc9af6Y

--HG--
extra : rebase_source : ae6088f63bc760d8506b1453f221a5986b35218b
2018-03-06 09:24:18 -06:00
Byron Campen [:bwc]
f6c93efa2c Bug 1443198 - Part 1: Test that offerToReceiveX doesn do anything silly when the PC is closed. r=jib
MozReview-Commit-ID: 3ShP4dejWQ8

--HG--
extra : rebase_source : 11dbecabd7db72a016162fb596e044a8b3f36e29
2018-03-06 10:07:40 -06:00
Nathan Froyd
e7492f2d00 Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm
A lot of our thread pools use the default stack size for the platform
they're on, which can be rather large (8MB, usually, on Linux and OS X)
and is probably too much for the typical thread in the thread pool
regardless.  SharedThreadPool already has some logic for selecting a
reasonable stack size for worker threads; let's move that logic to
nsIThreadManager so that logic (and constant) can be shared more
broadly.  (That we already have a couple of instances of
SharedThreadPool usage solely for this constant suggests that it is a
concept that should be available in a more central location.)
2018-03-07 20:33:17 -05:00
Andreas Pehrson
86d6c7f730 Bug 1443585 - Remove fake:true from test_pc_trackDisabling_clones.html. r=jib
MozReview-Commit-ID: A0sI1HvEzpf

--HG--
extra : rebase_source : c7d351685fbd5283965319f47f7746c9d5df2bd4
2018-03-06 19:25:09 +01:00
Andreas Pehrson
8de88149cc Bug 1443585 - Remove fake:true from test_pc_trackDisabling.html. r=jib
MozReview-Commit-ID: K8KMF7sYoul

--HG--
extra : rebase_source : 08cb4d08daae7e5c05624c6beb048976678e929d
2018-03-06 19:22:51 +01:00
Andreas Pehrson
ae9597da39 Bug 1436341 - Fix assertion for when a device operation fails. r=jib
The previous assertion was from an earlier developer stage which changed
during development of bug 1299515. It assumed that mDeviceEnabled was
updated only after passing the assert.

In the final version of bug 1299515 that is no longer true, and
both the failed and the successful device operation asserts
can now be unified to one.

MozReview-Commit-ID: KMdnIs0UgPr

--HG--
extra : rebase_source : 936900db168623f913aaa76a9148d4ee80157493
2018-03-07 12:42:58 +01:00
Alex Chronopoulos
6a19b2f4cf Bug 1436096 - In PannerNode mochitest correct mono input and add test for stereo input. r=padenot
MozReview-Commit-ID: KEdtm85lzlx

--HG--
extra : rebase_source : 271fd8af10e81dbf1ac3711788b4c28fcc03b414
2018-03-02 21:06:58 +02:00
Alex Chronopoulos
a0b3530e01 Bug 1436096 - PannerNode noop optimization for equal power is valid on stereo source. r=padenot
MozReview-Commit-ID: FwDYQyqr4wr

--HG--
extra : rebase_source : 54044637ae6cf1d71bbd873abbd31f8eb34717bf
2018-03-02 20:47:34 +02:00
Dorel Luca
9eb35ef453 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-06 23:54:12 +02:00
Andreas Pehrson
8edbfe79d6 Bug 1436074 - Reduce turn-off timer by time since we turned on. r=jib
MozReview-Commit-ID: 2AvnJxUSTmy

--HG--
extra : rebase_source : a9251389dac3fd0d0552de28463decb80fa3de3f
extra : source : 1aff350b83b8d504dbaa3d5d8d4fe6cd99512786
extra : histedit_source : 6ffb6b65d3e0a8ecf2744d9b3e758de417c3d727
2018-02-14 16:35:45 +01:00
Andreas Pehrson
411e973fab 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 : f4dccbc5a56e33ecc54d63ddefbae43d90ee95d4
extra : source : f5cc71d38e4a7c0e4db830242c1d454fcbdb9e48
extra : histedit_source : 3cd8615054ce9935047e4168c3a472152792886b
2018-02-22 12:23:06 +01:00
Andreas Pehrson
c9e4a19d1e 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 : e2cec60544efcc27c9c8c077fbdb013a8f3b848c
extra : source : 6c38cc382d2114199842dddb14097be8b6d9a961
extra : histedit_source : 00ef8da067eb484b8c5926d008f00f1e9f006e6f
2018-02-16 11:55:27 +01:00
Andreas Pehrson
4327e2bf5c Bug 1436694 - Make a PostTask variant that returns a MozPromise. r=jib, r=jya
MozReview-Commit-ID: 76mLpntaU5v

--HG--
extra : rebase_source : d6122976252f27f49c3115d9be43959b93141b3a
extra : source : ae428bfb913fb929da4d83864e58727177ccd655
extra : histedit_source : 8d71a8bc1fac3741694aebc3df5246b61f31f10d
2018-02-15 15:18:12 +01:00
Andreas Pehrson
5a5674705c Bug 1280099 - Retain image size after stopping MediaEngineDefaultVideoSource. r=jib
MozReview-Commit-ID: Kacol64Jo0F

--HG--
extra : rebase_source : 6c57c7eff9c1adbe84dc2815482ff02ccd44a39d
extra : histedit_source : 3acea4ea361d8c73122b6facdcd5d6b7a41601f2
2018-03-06 18:11:38 +01:00
Cosmin Sabou
ed1b2a8736 Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE.
Backed out changeset b98740e7c639 (bug 1437167)
Backed out changeset 4476e8f51fa6 (bug 1437167)
Backed out changeset c79dc40faa41 (bug 1437167)
Backed out changeset b608d2dcbb86 (bug 1437167)
2018-03-06 00:09:46 +02:00
Nika Layzell
69042a522a Bug 1440511 - Part 8: Include ParamTraits impls which are used in ipdlh files, r=froydnj
MozReview-Commit-ID: 9AfzlhyTgsY
2018-03-05 16:00:03 -05:00
Nika Layzell
262be91f75 Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj
MozReview-Commit-ID: BN18I8Q6c7S
2018-03-05 16:00:00 -05:00
Byron Campen [:bwc]
10af499fbf Bug 1442385: Remove old onremovestream event stuff. r=jib,smaug
MozReview-Commit-ID: Bay5NvTsTFU

--HG--
extra : rebase_source : 7eba187b24ed9893abd2b2ec9b0f89c2a9d00689
2018-03-01 14:39:07 -06:00
Tom Ritter
2285b8a55f Bug 1425462 Address tests for Time Jittering. r=bkelly
The following tests all hardcoded a special value for Timer Precision Reduction.

browser/components/extensions/test/xpcshell/test_ext_browsingData_cookies_cache.js
browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js
browser/components/resistfingerprinting/test/mochitest/test_animation_api.html
browser/components/resistfingerprinting/test/mochitest/test_reduce_time_precision.html
devtools/client/sourceeditor/test/browser_codemirror.js
dom/animation/test/css-animations/test_animation-currenttime.html
dom/animation/test/mozilla/test_transition_finish_on_compositor.html
dom/media/test/test_video_stats_resistfingerprinting.html
dom/tests/mochitest/ajax/jquery/test_jQuery.html
netwerk/test/unit/test_race_cache_with_network.js

Of these, only test_video_stats_resistfingerprinting.html begins failing when Jitter is enabled.
So disable jitter for that test.

Additionally, dom/midi/tests/test_midi_packet_timing_sorting.html began failing
with Jitter, so we disable it there. (We could easily modify the test so it began
passing, but this would reduce the effectiveness of the test.)

MozReview-Commit-ID: 2kipxV6wYv9

--HG--
extra : rebase_source : f455af2db1bba4e1c3986c413643b549ad29c208
2018-02-15 15:34:05 -06:00
Andreas Pehrson
c2cf44b1d5 Bug 1441145 - Swap width and height in target capability if the frame is rotated. r=jib
MozReview-Commit-ID: 3QO3W0J3b6G

--HG--
extra : rebase_source : 956fe446b34fb797e11a36ab21b9808c23ac8cc1
2018-02-26 15:42:57 +01:00
Andreea Pavel
6e194b7c24 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-02 18:24:58 +02:00