Andreas Pehrson
378c51c9f8
Bug 1177793 - Pass principal instead of forcing black when capturing cross-origin media resource. r=jya,jib
...
Differential Revision: https://phabricator.services.mozilla.com/D36896
--HG--
extra : moz-landing-system : lando
2019-07-08 21:15:10 +00:00
Jonathan Kingston
31441f82ea
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Boris Zbarsky
d5a8a4a595
Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34201
--HG--
extra : moz-landing-system : lando
2019-06-08 21:26:12 +00:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Ryan Hunt
00e98538aa
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ciure Andrei
7a748ae68f
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-01-04 01:03:06 +02:00
Boris Zbarsky
058f83508f
Bug 1517434 part 2. Convert existing callers of GetIsSystemPrincipal() to IsSystemPrincipal(). r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D15673
--HG--
extra : moz-landing-system : lando
2019-01-03 20:55:38 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Andreas Pehrson
88cb071d63
Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D14421
--HG--
extra : moz-landing-system : lando
2018-12-19 04:34:10 +00:00
Andreas Pehrson
8dec05474b
Bug 1513638 - Don't resolve DOMMediaStream::CountUnderlyingStreams promise in stable state. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D14420
--HG--
extra : moz-landing-system : lando
2018-12-18 15:39:54 +00:00
Jan-Ivar Bruaroey
7cc33e93cf
Bug 1497175 - Have DOMMediaStream::TrackPort::BlockSourceTrackId() return a promise. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D8010
--HG--
extra : moz-landing-system : lando
2018-11-30 05:14:40 +00:00
Andreas Pehrson
153eff0b64
Bug 1423241 - Remove DOMMediaStream::PlaybackStreamListener. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D12282
--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:48 +00:00
Andreas Pehrson
e0f46f7739
Bug 1423241 - Remove DOMMediaStream::OwnedStreamListener. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D12276
--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:16 +00:00
Andreas Pehrson
afa103537f
Bug 1423241 - Move track-ended notifications from DOMMediaStream to MediaStreamTrack. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D12275
--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:10 +00:00
Andreas Pehrson
4213b7db86
Bug 1423241 - Refactor DecodedStream. r=jya
...
This removes DecodedStream's use of MediaStreamListener in favor of
MediaStreamTrackListener. This change has however rippled through to a lot
more cleanup, per below.
This moves the MediaStreamTrack lifetime ownership for captured
HTMLMediaElements from the media element to DecodedStream, where the
MediaStreamGraph-side tracks are already created and ended today.
This makes MediaStreamTrack creation explicit across the entire codebase and
lets us remove the MediaStreamTrackSourceGetter class and the infrastructure
of adding MediaStreamTracks after they've already been created in the graph
from DOMMediaStream.
With track ownership, and thus TrackID allocation ownership, happening
exclusively in DecodedStream for its output tracks, we also stop throwing
away and recreating the SourceMediaStream to which we feed data on seek.
This is one step closer to fixing bug 1172394 and spec compliance of
HTMLMediaElement.captureStream().
Differential Revision: https://phabricator.services.mozilla.com/D12273
--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:03 +00:00
Andreas Pehrson
aa6d9c24a0
Bug 1423241 - Move special media element captureStream handling of inactive stream out of MediaStreamGraph. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D12264
--HG--
extra : moz-landing-system : lando
2018-11-23 14:59:56 +00:00
Sylvestre Ledru
804b8b8883
Bug 1204606 - Reformat of dom/media r=jya
...
# skip-blame
Differential Revision: https://phabricator.services.mozilla.com/D12251
--HG--
extra : moz-landing-system : lando
2018-11-19 13:25:37 +00:00
Paul Adenot
71204ef979
Bug 1502927 - Remove MediaStream.currentTime. r=baku,jib
...
This has never been specced and is unused appart from our tests.
Differential Revision: https://phabricator.services.mozilla.com/D10082
--HG--
extra : rebase_source : c044f11325ec630dcabb673c85531a2283ff6ad4
extra : source : db3c2a88f79cb28440f4e13bcf27c5165c6ee060
2018-10-29 17:38:19 +01:00
Cosmin Sabou
dd34f6cbd5
Backed out changeset db3c2a88f79c (bug 1502927) for mochitest failures on test_reduce_time_precision.
2018-11-05 19:46:42 +02:00
Paul Adenot
6c82d39b64
Bug 1502927 - Remove MediaStream.currentTime. r=baku,jib
...
This has never been specced and is unused appart from our tests.
Differential Revision: https://phabricator.services.mozilla.com/D10082
--HG--
extra : rebase_source : 4c54d808fb69c0e403ff2e1775b97571889efca4
extra : histedit_source : bc568066b0684bb82b4f553b99f0dd48212aa633
2018-10-29 17:38:19 +01:00
Andreas Pehrson
7561a1fdef
Bug 1258143 - Remove LocalMediaStream. r=jib,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D8064
--HG--
extra : moz-landing-system : lando
2018-10-15 08:17:07 +00:00
Bogdan Tara
db185e5d31
Backed out 2 changesets (bug 1258143) for dom/media/tests/crashtests/791330.html failures CLOSED TREE
...
Backed out changeset 514420f15a67 (bug 1258143)
Backed out changeset 905c871bcf03 (bug 1258143)
2018-10-12 17:42:26 +03:00
Andreas Pehrson
ecdb48777f
Bug 1258143 - Remove LocalMediaStream. r=jib,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D8064
--HG--
extra : moz-landing-system : lando
2018-10-11 12:43:34 +00:00
Andreas Pehrson
f5f6f6fdb4
Bug 1377146 - Remove AudioStreamTrack and VideoStreamTrack from js. r=jib,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D8063
--HG--
extra : moz-landing-system : lando
2018-10-11 15:36:11 +00:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Andi-Bogdan Postelnicu
60732a90a5
Bug 1453795 - DOM/Media - Initialize member fields in classes/ structures. r=jyavenard
...
--HG--
extra : rebase_source : 0c785260497fadf98cf3cff8b9fcae8ea699c2c1
2018-06-15 10:25:02 +03:00
Andreas Pehrson
d70fe4dd85
Bug 1458166 - Remove listeners before destroying MediaStreams. r=bryce
...
If listeners are still registered to a MediaStream on MediaStream::Destroy
(triggered by MediaStream::UnregisterUser below), they will catch and act
on further events from the MediaStream (such as a track ending).
This may dispatch runnables that are unnecessary since we know we are
shutting down.
If we first remove the listeners from the MediaStream we will never see
said events.
MozReview-Commit-ID: IZ1kENqL2C8
--HG--
extra : rebase_source : 6f9201827a30f119b4c116d0cb798858408aed20
2018-05-07 11:36:35 +02:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Alex Chronopoulos
2ef6a59abe
Bug 1387454 - Create a MediaStreamGraph according to the given sample rate. r=padenot
...
MozReview-Commit-ID: 4YP8oWIVyjy
--HG--
extra : rebase_source : 54c83c0aa122fecc9e07868405e42d31b2172516
2018-04-03 20:02:15 +03: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
Byron Campen [:bwc]
5331725296
Bug 1425621 - Part 3: Implementation for MediaStream.onremovetrack. r=pehrsons
...
MozReview-Commit-ID: 70Hsr4G4cp6
--HG--
extra : rebase_source : fd25ff1b39b9923f85b43dcc9d55c92d39baec65
extra : intermediate-source : f6c7d3fda2f3fcc9ecb8be6daa2f665bafa16a9c
extra : source : 574c407e80072fd2ad7827e4e22d0202bddc3cd1
2017-12-20 12:36:19 -06:00
Jean-Yves Avenard
a21ef82be7
Bug 1404997 - P14. Rename members to clarify the finish meaning. r=padenot
...
We have different concept of "finish" between the base class and its hierarchy.
Attempt to clear the sitatuation by renaming the members and related methods.
MozReview-Commit-ID: vFsXhMK5GY
--HG--
extra : rebase_source : 65eda9257e447584161da51af7c240e31027c501
2017-12-06 19:00:22 +01:00
Andreas Pehrson
167e43c316
Bug 1208378 - Implement MediaStreamTrack's muted state and events. r=jib,smaug
...
MozReview-Commit-ID: 1Sp9utMnWXI
--HG--
extra : rebase_source : f2d1036ab37ed9882c0bb9aa1d7b7d68eb7799e4
2017-11-06 19:03:52 +01:00
Andreas Pehrson
368e21e1b1
Bug 1407542 - Remove back reference to consumer in MediaStreamTrack. r=jib,smaug
...
It doesn't matter that this is traversed by the cycle collector when the track is live and playing.
It prevents cycle collection of any number of MediaStreams that contain (thus consume) this track.
MozReview-Commit-ID: GvdLfWDTVQQ
--HG--
extra : rebase_source : 29e65d25bd7cdf03e32ff4aa736b0ff762ebf1c1
2017-10-10 20:48:58 +02:00
Andreas Pehrson
83671598ea
Bug 1407542 - Implement static chrome-only MediaStream method to get number of MSG-MediaStreams. r=jib,smaug
...
MozReview-Commit-ID: B0nDXzMBGlJ
--HG--
extra : rebase_source : 920fe77580a82f305e2604b89816b0bb3846c0e4
2017-10-23 19:09:47 +02:00
Andreas Pehrson
d918302551
Bug 1319446 - DirectMediaStreamListener, you are dead to me. r=padenot
...
MozReview-Commit-ID: KwztE5ogSj9
--HG--
extra : rebase_source : e8e6bb3548c5697c5db901c0310ea5067a30c895
2017-09-27 12:01:46 +02:00
Andreas Pehrson
d67db3baee
Bug 1296531 - Expose GraphRate through DOMMediaStream. r=jesup
...
MozReview-Commit-ID: 6kwuLiEgtDI
--HG--
extra : rebase_source : d20ae258718a609e4a340a0357882e6bfcb3ad5b
extra : source : 95833ca114c076cd45ae4f76c8459f851d93514d
2016-11-17 09:57:02 +01:00
Andrew McCreight
78807d8776
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Matthew Gregan
2f8cc7804c
Bug 1388236 - Remove B2G-only AudioChannel code from MSG. r=padenot
2017-08-10 13:00:08 +12:00
Nicholas Nethercote
90eaa02ea0
Bug 1382099 - Remove MOZ_WIDGET_GONK from dom/media/. r=gerald.
...
As well as the obvious #ifdefs, this allows DOMHwMediaStream to be
removed, and also the "phone-state-changed" observer.
--HG--
extra : rebase_source : 373280183e228bd4b9bd9d866959409f2444c77e
2017-07-24 10:08:55 +10:00
Paul Adenot
4029e408c3
Bug 1378067 - Label more runnables in dom/media (GraphDriver.cpp, CubebUtils.cpp, DOMMediaStream.cpp). r=jesup
...
MozReview-Commit-ID: EQzR1AfzvzE
--HG--
extra : rebase_source : 9950d07eb1e8e9b1d07f94c10d7c5cf0008a8141
2017-07-18 11:26:58 +02:00
Sebastian Hengst
cb2227a5c7
Backed out changeset 6dc016256eba (bug 1378067) for bustage at dom/media/webaudio/WebAudioUtils.cpp:107. r=backout on a CLOSED TREE
2017-07-18 11:51:22 +02:00
Paul Adenot
ac12821115
Bug 1378067 - Label more runnables in dom/media (GraphDriver.cpp, CubebUtils.cpp, DOMMediaStream.cpp). r=jesup
...
MozReview-Commit-ID: EQzR1AfzvzE
2017-07-18 11:26:58 +02:00
Paul Adenot
404c800005
Bug 1341555 - Consolidate use of the MSG's AbstractMainThread, and stop having AbstractMainThread on MediaStreams. r=pehrsons
...
MozReview-Commit-ID: 5hGDQcfpH6a
--HG--
extra : rebase_source : 41bb678f37cfcdbc9912a25f45a5ca488084aabe
2017-06-29 11:30:57 -07:00