Граф коммитов

6351 Коммитов

Автор SHA1 Сообщение Дата
Yoshi Huang ba1bb72568 Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create(&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
JW Wang 686c1bbdad Bug 1195601 - Remove MediaDecoderStateMachine::mLogicallySeeking. r=kinetik.
MozReview-Commit-ID: 9YVPTO8hYqB
2016-04-27 12:51:57 +08:00
Randell Jesup 62e918c87a Bug 1267600 - Ask the main thread to shut down the SystemClockDriver if needed. r=jesup
MozReview-Commit-ID: 3v74w9UN4o3
2016-04-26 15:33:14 -04:00
Jonathan Watt 2bb448cbb2 Bug 1267509 - Make nsContentSecurityManager::IsURIPotentiallyTrustworthy act on an nsIPrincipal. r=bz
MozReview-Commit-ID: Zu1zU4Brkx

--HG--
rename : dom/security/test/unit/test_isURIPotentiallyTrustworthy.js => dom/security/test/unit/test_isOriginPotentiallyTrustworthy.js
2016-04-26 11:30:43 +01:00
Nils Ohlmeier [:drno] eab8d51225 Bug 929977: disable orange Android tests. r=bwc
MozReview-Commit-ID: H1fQwKS2rb9

--HG--
extra : rebase_source : b2b2ac2434c99c3ecf02e768f84828a030156a76
2016-04-06 15:13:24 -07:00
Sebastian Hengst 6ae866f41c Backed out changeset 1fa138c4519b (bug 1267600) for bustage. r=bustage on a CLOSED TREE 2016-04-26 21:49:34 +02:00
Randell Jesup 6d4db8c98f Bug 1267600 - Ask the main thread to shut down the SystemClockDriver if needed. r=jesup
MozReview-Commit-ID: 3v74w9UN4o3
2016-04-26 15:33:14 -04:00
Jim Mathies 86d8f2f66f Bug 1263951 - Avoid trying to initialize new GMP instances once the browser enters shutdown. r=cpearce
MozReview-Commit-ID: G6ND2LyT0tp
2016-04-26 12:11:26 -05:00
Dan Minor 317ceb9c8e Bug 1267579 - Add test case; r=padenot
MozReview-Commit-ID: KQQKuw7KSXg

--HG--
extra : rebase_source : a5360f568149c32b279dfdec206773acf5b943f7
2016-04-26 09:24:42 -04:00
Dan Minor d9f8adcc4b Bug 1267579 - Unexpected result when using OscillatorNode with custom wave shape; r=padenot
This fixes some division by zero errors introduced by Bug 1222405 when the
fundamental frequency is zero.

MozReview-Commit-ID: A7qfJjJOJ3H

--HG--
extra : rebase_source : 02506b547c5f78495c449bba9f476d3f42cf7ed0
2016-04-26 09:41:54 -04:00
Paul Adenot 0d3dbc04dc Bug 996685 - Report an error in the console when a cross-origin media element is used with a Media(ElementAudio|Stream)SourceNode. r=pehrsons
MozReview-Commit-ID: 8VP7Sv8unUq
2016-04-26 17:46:31 +02:00
Byron Campen [:bwc] 42d7cf29cb Bug 1231975 - Part 6: Disable NAT tests on android due to bug 1266217 r=drno
MozReview-Commit-ID: 60vkF8cY08G

--HG--
extra : rebase_source : d97be7e392761c75bdfe7e1466673c1c8f676644
extra : source : 743e8e8230f55b3b05175aaadd0c73232ac18a81
2016-04-21 09:53:36 -05:00
Byron Campen [:bwc] 18f4a13f02 Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : d5fa4d0138112d5932f4db43958b60f1606f0af2
extra : source : 81271ec54981bd4c7b0fa72889ba509e5c434ff4
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc] 903901c97b Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 81f06e74ab74558cfba435cac79bc6fee0d7409c
extra : source : 9249495e35aa39f4cf4f5604a9e1b56608c8775a
2016-03-04 15:45:57 -06:00
Paul Adenot 32e1303937 Bug 1243857 - Enable duplex audio for Windows/WASAPI. r=jesup
MozReview-Commit-ID: 4h1JTGSHr2v
2016-03-30 17:21:16 +02:00
ctai 4e89100cf8 Bug 1266644 - Rename DOMMediaStream:: CreateXXXStream to DOMMediaStream:: CreateXXXStreamAsInput. r=jesup r=pehrsons
MozReview-Commit-ID: 4X0Q1XuENa4
2016-04-25 11:43:27 +08:00
ctai 864b8381af Bug 1266644 - Remove redundant step. r=jesup r=pehrsons
MozReview-Commit-ID: KAyRvjP2Elq
2016-04-25 11:48:10 +08:00
ctai a06045fa0f Bug 1266644 - Update the comments to reflect the latest code base. r=jesup r=pehrsons r=padenot 2016-04-25 15:00:43 +08:00
ctai 5d4238b60d Bug 1266644 - Simple refactoring. r=jesup r=pehrsons
Update some comments, rename.

MozReview-Commit-ID: A747Fd8mH3D
2016-04-07 11:44:00 +08:00
ctai 1bcafe7412 Bug 1266644 - Unlock mMutex earlier. r=jesup r=pehrsons
MozReview-Commit-ID: 3Pf3yxwQlHI
2016-04-25 11:59:39 +08:00
ctai e22bc567de Bug 1266644 - Remove unused codes. r=jesup r=pehrsons
MozReview-Commit-ID: 4Ib1qWhoBw3
2016-04-25 11:54:54 +08:00
ctai 8fcb64e480 Bug 1266644 - Rename StreamBuffer to StreamTracks. r=jesup r=pehrsons
Rename StreamBuffer to StreamTracks. We still need a place to keep the track information in every MediaStream, even the StreamBuffer::Track::mSegment is empty.

--HG--
rename : dom/media/StreamBuffer.cpp => StreamTracks.cpp
rename : dom/media/StreamBuffer.h => StreamTracks.h
2016-01-26 10:49:01 +08:00
bechen 136e5a6371 Bug 1205865 - Enable test_mediarecorder_bitrate.html for android. r=jwwang
MozReview-Commit-ID: o34eRYFNEm

--HG--
extra : transplant_source : %97%CF%BA3%DC%12%FF%06y%20%F4%0FDi%F3L%8B%E5A%1C
2016-04-22 11:47:48 +08:00
Jean-Yves Avenard f18daf30b6 Bug 1247138: [MSE] P2. Add mochitest. r=gerald
2nd media segment also exercise bug 1264622 resolution

MozReview-Commit-ID: F5euopyUiPk

--HG--
extra : rebase_source : b1e1199317612e159507583bcbc4753d106580a6
2016-04-15 01:46:36 +10:00
Jean-Yves Avenard 624abac6d4 Bug 1247138: [MSE] P1. Allow change of audio format. r=gerald
MozReview-Commit-ID: 9fktsFVXtdt

--HG--
extra : rebase_source : bba6b286c6281b34d21cd2a1d1341ef05a4977e4
2016-04-14 19:12:44 +10:00
Jean-Yves Avenard ffad2f30e5 Bug 1264199: P10. renable test now that core issue likely fixed. r=gerald
Reversal of change from bug 1258922.

--HG--
extra : rebase_source : 644b5fae5e1e16d88b89a1e77e78494653e416fd
2016-04-26 12:24:52 +10:00
Jean-Yves Avenard bb9dfe8544 Bug 1264199: P9. Include pending frames in HasUnplayedFrames calculation. r=jwwang
MozReview-Commit-ID: 5m8zCe4cB2s

--HG--
extra : rebase_source : 5c33353294acfc0ec51385bf7d00fea9aa985b39
2016-04-26 00:13:01 +10:00
Jean-Yves Avenard 2fb52f2e0d Bug 1264199: P8. Handle potential resampling errors. r=kinetik
The speex resampler can never return an error in its current state. But just in case and to handle any future changes to the speex resampler.
Also ensure that we can never access a stale speex resampler.

MozReview-Commit-ID: CEME0AA9ghK

--HG--
extra : rebase_source : 3dc40aa0833a85646be6d1d1a3b927fa0b5eb038
2016-04-19 14:53:18 +10:00
Jean-Yves Avenard 45a02f35c6 Bug 1264199: P6. Drain resampler when changing format or reaching the end. r=kinetik
MozReview-Commit-ID: KqcB0FYxNtC

--HG--
extra : rebase_source : 63eff5cb4d66483ecc2871440dda6bc9f73d9822
2016-04-14 15:44:02 +10:00
Jean-Yves Avenard 33f592b6a5 Bug 1264199: P5. Perform all downmixing operations in DecodedAudioDataSink. r=kinetik
Performing all audio processing operations in the same place, allows to simplify the code.

Additionally, if accessibility.monoaudio.enable is not set, we always upmix mono to stereo so that if the first audio stream seen was mono, we aren't stuck playing all future streams in mono.

MozReview-Commit-ID: 5yANN6PLFhX

--HG--
extra : rebase_source : 8b2138368d97f4ec2857c021ed9605c633282ed2
2016-04-13 20:25:50 +10:00
Jean-Yves Avenard 82191ba4a5 Bug 1264199: P4. Add mono to stereo upmix to AudioConverter. r=rillian
MozReview-Commit-ID: 4sCvNWKEMZS

--HG--
extra : rebase_source : aeb02fb5b7bbfb0cb5f810900d3cd6ffbf404590
2016-04-13 19:50:54 +10:00
Jean-Yves Avenard ec0a733d51 Bug 1264199: P3. Attempt to minimize audio quality loss and unnecessary processing. r=kinetik
We attempt to avoid unnecessary resampling of 44.1kHz and 48kHz content, for all others we use cubeb's preferred sampling rate as final sampling rate.

MozReview-Commit-ID: 413qnsDFHzY

--HG--
extra : rebase_source : ca3508aefb29e2e64e84774bddb9fe77654c8945
2016-04-13 17:55:48 +10:00
Jean-Yves Avenard 68dc5cfd31 Bug 1264199: P2. Ensure the AudioStream only ever receive the same content format. r=kinetik
The audio is automatically converted to always match the format of the first processed sample.
This is a temporary approach, as it would be preferred to use a final sampling rate not causing too much quality loss.

MozReview-Commit-ID: Lo3827aon43

--HG--
extra : rebase_source : 946eabde451a33018722cb6f1c0ca7b8c1d87009
2016-04-13 17:30:23 +10:00
Jean-Yves Avenard fa7bd08dd2 Bug 1264199: P1. Perform audio conversion in the MSDM taskqueue and ahead of use. r=kinetik
This will allow to easily detect audio configuration change prior immediate playback.

MozReview-Commit-ID: IwDUGOd17ND

--HG--
extra : rebase_source : ef2b492cfeed5eca8fdfcb5442dedc2b65fc1d8f
2016-04-13 17:17:54 +10:00
Jean-Yves Avenard a9c347c652 Bug 1264199: P0.1. Export SaferMultDiv method. r=gerald
MozReview-Commit-ID: CzewhPB1Nod

--HG--
extra : rebase_source : e6c18d94ab7bcf1106e7027378ca2d8a494b6058
2016-04-26 11:16:23 +10:00
Jean-Yves Avenard b9ddae6e51 Bug 1264199: P0. Fix nsDequeue/MediaQueue methods constness. r=jwwang
MozReview-Commit-ID: BiOedq3IHt

--HG--
extra : rebase_source : 87175a92efdcfea864256482ced7eeee61301690
2016-04-25 12:13:55 +10:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
James Willcox cbf30986b7 Bug 1266102 - Don't run VP9 benchmark on Android r=jya 2016-04-25 10:06:03 -05:00
JW Wang 0c694cb31b Bug 1246051 - have MediaQueue<T>::Peek/PeekFront return a RefPtr<> to avoid dangling pointers per comment 0. r=gerald.
MozReview-Commit-ID: JhPVlqMWsTu
2016-04-25 14:36:07 +08:00
Carsten "Tomcat" Book 94cebd7b33 Backed out changeset a9fcd0e98cc3 (bug 1231981) 2016-04-25 16:28:53 +02:00
Carsten "Tomcat" Book 42f342e18c Backed out changeset 4cff2bed6747 (bug 1231975) 2016-04-25 16:28:47 +02:00
Carsten "Tomcat" Book 658315807b Backed out changeset aa8850420313 (bug 1231975) 2016-04-25 16:28:39 +02:00
Byron Campen [:bwc] ca64c2e86d Bug 1231975 - Part 6: Disable NAT tests on android due to bug 1266217 r=drno
MozReview-Commit-ID: 60vkF8cY08G

--HG--
extra : rebase_source : 370923aea661cac9063bd1463ded3af8716a75c0
2016-04-21 09:53:36 -05:00
Byron Campen [:bwc] 98c17059df Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : 20d6bc3424e433fbc0a98739310598c3c9433c87
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc] 50135632ac Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : f52583fe21269d4d4214b93315cc75f0535de55d
2016-03-04 15:45:57 -06:00
Paul Adenot 62993a3f50 Bug 1265397 - Add a `length` attribute to OfflineAudioContext. r=smaug
MozReview-Commit-ID: J3TqIDI4saW
2016-04-25 11:45:59 +02:00
Paul Adenot d6dc2d1ec6 Bug 1267096 - Check the return value of Promise::Create in AudioContext::StartRendering. r=smaug
MozReview-Commit-ID: 6w6XDDPbbiV

--HG--
extra : rebase_source : b4019e46f164af4cbe53e6437dddda4b8c1292a9
2016-04-25 11:16:08 +02:00
Jan Beich d8d938eb8b Bug 1266772 - Unbreak FreeBSD build after bug 881587. r=dminor
MozReview-Commit-ID: 5oZ1R0vYnRm

--HG--
extra : transplant_source : %BDk%E1x%29%1E%D5%92%40%24%ACVN%CB%F0U%2A%B6_%B2
2016-04-22 15:31:09 +00:00
Andreas Pehrson 122b4efd17 Bug 1266680 - Fix stopping MediaStreamTrack when there are clones. r=jib
MozReview-Commit-ID: KMeOd9QvVFf

--HG--
extra : rebase_source : 0a341b2bededabe2a3ece678abcca208a933f5e5
2016-04-22 17:15:06 +02:00
Andreas Pehrson 1e072d6fc3 Bug 1266680 - Rename BlockTrackId to BlockSourceTrackId. r=jesup
It wasn't clear which TrackID should be passed to MediaInputPort::BlockTrackId(); source or destination.

MozReview-Commit-ID: I9LoSjdpRwE

--HG--
extra : rebase_source : 20eeb5e4ee47eb1cdf00e94cdc72ee11177bbee2
2016-04-22 17:14:26 +02:00