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

469531 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 179a500f52 Bug 1208371 - Create MediaStreamTrackSource::Sink that forwards principal changes from the source. r=mt
MozReview-Commit-ID: 2jsQCC7MMRj

--HG--
extra : rebase_source : e58ddf2600321ec7e9e32679879d2789835f06b6
2016-01-22 12:28:57 +08:00
Andreas Pehrson d9191f3f71 Bug 1208371 - Add principal APIs to MediaStreamTrack. r=mt
MozReview-Commit-ID: D0mOCZXLiEp

--HG--
extra : rebase_source : 28ed04fcab1011e8b21b3fd24934d404dac583a3
2016-01-22 11:24:16 +08:00
Andreas Pehrson 5cc032f3e6 Bug 1208371 - Turn DOMMediaStream::PrincipalChangeObserver into PrincipalChangeObserver<DOMMediaStream>. r=mt
MozReview-Commit-ID: JkBUEGdavZX

--HG--
extra : rebase_source : aca48148a30fc16db6a6435c592480a61174d96b
2016-01-22 12:10:41 +08:00
Andreas Pehrson 639b0fb5c6 Bug 1208371 - Add a generic PrincipalChangeObserver interface. r=mt
MozReview-Commit-ID: EWCnH7jrKGN

--HG--
extra : rebase_source : 6ee0110928be6fa5f5793bf78740c59e0abf77f7
2016-01-22 11:57:23 +08:00
Andreas Pehrson 53d0645fe0 Bug 1208371 - Add DOMMediaStream::GetTrackById/GetOwnedTrackById. r=jib
MozReview-Commit-ID: 9qwW8CsB1eJ

--HG--
extra : rebase_source : f3f806fb5828ea47365b73233f5cfd4f52bdb938
2016-01-05 10:16:23 +08:00
Andreas Pehrson 2563887b60 Bug 1208371 - Add MediaStreamTrack::Graph(). r=jib
MozReview-Commit-ID: 643Jvp98D9z

--HG--
extra : rebase_source : baae53840aeda4d0f08a6442b11fa59d9c187995
2016-01-05 10:16:23 +08:00
Andreas Pehrson 24c7e122aa Bug 1208371 - Remove obsolete SetTrackEnabled() from DOMMediaStream r=roc
MozReview-Commit-ID: rYB2yACej8

--HG--
extra : rebase_source : 3feb238486c9488723c54c9819fb8848fc7a131c
2016-01-05 10:16:23 +08:00
Andreas Pehrson d29c47befe Bug 1208371 - Allow MediaInputPorts mapped to a destination TrackID. r=roc
This lets us know the track's TrackID in the destination stream before
the input port has been processed.
For sanity we only allow mapping to a destination TrackID if the
destination stream does not have any TRACK_ANY input ports already
assigned to it as that can cause intermittent TrackID collisions.

MozReview-Commit-ID: ClFyQl0nYFC

--HG--
extra : rebase_source : 25fa0f34cb4fa9293a572bff03fe005c33be0195
2016-01-05 10:16:22 +08:00
Andreas Pehrson f52f9b9310 Bug 1208371 - Add convenience method for checking if TrackID is explicit. r=roc
MozReview-Commit-ID: 330Fk17FJD4

--HG--
extra : rebase_source : 27395cdf427e6096f90097c1502b7930162d2c3e
2016-01-05 10:16:22 +08:00
Andreas Pehrson 1bffbe178b Bug 1208371 - Count the users of a MediaStream to ease Destroy() responsibility. r=roc
MozReview-Commit-ID: FdcR4ChTND4

--HG--
extra : rebase_source : c0dfccffb686b483203b2906b734ae8b9459b924
2016-01-05 10:16:22 +08:00
Andreas Pehrson 98f7b22b8a Bug 1208371 - Add some MediaStreamTrack helper methods. r=roc
MozReview-Commit-ID: KCpFi0fVHzi

--HG--
extra : rebase_source : 6da8484d132008a0cd64fcb18e457954b4da5dab
2016-01-05 10:16:22 +08:00
Andreas Pehrson c317ec4c33 Bug 1208371 - Let FindOwnedDOMTrack operate on input stream. r=roc
This let's us use FindOwnedDOMTrack before the TrackID in mOwnedStream
is known.

This is necessary for a stream clone with multiple tracks whose original
TrackID is the same.

MozReview-Commit-ID: J3OvbiNb8X

--HG--
extra : rebase_source : 25f2bddf07de99d187c5d546bfc5eac50b7d6295
2016-01-05 10:16:22 +08:00
Andreas Pehrson 01ed4f0e89 Bug 1208371 - Let MediaStreamTracks know their TrackID at the source. r=roc
For original tracks, the input TrackID is the same as in its
owned stream.
For cloned tracks, the input TrackID comes from the original track,
since no guarantees about TrackIDs in a cloned DOMMediaStream's owned
stream can be given
(imagine e.g., `new MediaStream([trackID1FromStreamX, trackID1FromStreamY]).clone()`).

MozReview-Commit-ID: 9iulggncBZ7

--HG--
extra : rebase_source : 699f6bb1d0e6e22a696bf5ca616594dd5b002ec5
2016-01-05 10:16:22 +08:00
Andreas Pehrson 5401608e6c Bug 1208371 - Add MediaStreamTrackSourceGetter interface. r=roc
This allows DOMMediaStream to assign MediaStreamTrackSources to
dynamically created MediaStreamTracks.

MozReview-Commit-ID: 3v91zLiqfl7

--HG--
extra : rebase_source : 4fe67e92b9c833fe5ba964fc5f3b11ba21447f36
2016-01-05 10:16:21 +08:00
Andreas Pehrson 9899305f28 Bug 1208371 - Add a MediaStreamTrackSource interface. r=roc
This lets a MediaStreamTrack communicate with its source/producer on the
main thread. It's for now used for stopping a track at the source and
retrieving some metadata, but it could also be a link between actual
sinks of a track and the source, to for instance let the source optimize
by scaling down the resolution when all sinks want lowres-video.

MozReview-Commit-ID: D4SJLr0aqhJ

--HG--
extra : rebase_source : ea511b5c86ca4836bfa980825f04617fef498261
2016-04-06 14:46:56 +02:00
Andreas Pehrson 2a7a664d3b Bug 1208371 - Un-nest MediaEngineSource::PhotoCallback. r=roc
So it may be forward declared.

MozReview-Commit-ID: JLEsMt1fqKz

--HG--
extra : rebase_source : 6bf12bd61d1bd479a340b10cafca049ef3fd0fac
2016-01-05 10:16:21 +08:00
Andreas Pehrson 4f3a6bae57 Bug 1208371 - Track original track in MediaStreamTrack clones. r=jib
MozReview-Commit-ID: HycPCeI2v3U

--HG--
extra : rebase_source : 304bd198259c6e793d6bba9b02221e684ab16c5c
2016-01-05 10:16:21 +08:00
Andreas Pehrson bc5d78268a Bug 1208371 - Introduce MediaStreamTrack logs. r=roc,jib
MozReview-Commit-ID: d1Fogpb6MO

--HG--
extra : rebase_source : 2ec6b49ef8aa3369fcd775c756699bd5dd7f64be
2016-01-05 10:16:21 +08:00
Andreas Pehrson 4beebb8c88 Bug 1208371 - Remove unused MediaManager::NotifyMediaStreamTrackEnded. r=jib
MozReview-Commit-ID: 3QFbTliYTPw

--HG--
extra : rebase_source : 88d39ae528ccf26a81a114e893d599b366573629
2016-01-05 10:16:21 +08:00
Andreas Pehrson 88628853b2 Bug 1208371 - Move OnTracksAvailableCallback out of DOMMediaStream. r=roc
So it can be forward declared.

MozReview-Commit-ID: 4RH7p8AzO84

--HG--
extra : rebase_source : e9c4ef72029de4ed09dca3b51ba2b46829f41d14
2016-01-05 10:16:21 +08:00
Andreas Pehrson 497cedf7f8 Bug 1208371 - Make AudioCaptureStream startable. r=padenot
This allows us to add the JS-side MediaStreamTrack before the MSG-side
track.

MozReview-Commit-ID: BJfbivaljtU

--HG--
extra : rebase_source : f71acc42ca79974a2d5123eff0debc513fe719ee
2016-03-03 17:26:31 +01:00
Andreas Pehrson 37365c3483 Bug 1208371 - Pass parent window to DOMMediaStream through constructor. r=roc
MozReview-Commit-ID: AvBYQNADpyV

--HG--
extra : rebase_source : 8972b162fbcb017034f3c975ff9b725e52bcaf17
2016-01-05 10:16:20 +08:00
Jonathan Kew 0d6a32ee9b Bug 1249279 - Let subdocuments' presContexts inherit the DPI setting of their parent, instead of retrieving it from their widget, to avoid using stale values from a currently-hidden widget on a screen with a different DPI. r=bz 2016-04-07 10:01:30 +01:00
Carsten "Tomcat" Book ab4cb0d9ab Backed out changeset 2da4c57f4595 (bug 1198518) for bustage 2016-04-07 10:47:09 +02:00
Dragana Damjanovic 3ad4a4c69c Bug 1261070 - Move Send__delete__ to FailedAsyncOpen. r=jduell 2016-04-07 10:33:44 +02:00
Patrick McManus 7a0fa292e7 Bug 1262572 - http 0.9 telemetry. r=hurley 2016-04-06 14:54:47 -04:00
Tobias Schneider 7fa6b225c8 Bug 1260480 - Remove mozNoMarginBoxes. r=dbaron 2016-04-06 09:53:00 +02:00
Cykesiopka 54da7e65e7 Bug 1252384 - Remove nsICertTree.isHostPortOverride(). r=dkeeler
It is unused since the changes in Bug 825583 landed.

MozReview-Commit-ID: 2u2eu0aDqeH

--HG--
extra : transplant_source : f%5Ev%00%B6%8B%3E%5E%26%C3%10%25%D9%16%C1%98yhf%D2
2016-04-06 07:02:17 -07:00
Dave Huseby c01e63f1a5 Bug 1238177 - fix extension content needs to use the correct user context id origin attribute. r=sicking
(HEAD -> oa, refs/patches/oa/Bug_1238177)
Fixes Bug 1238177 -- extension content needs to use the correct user context id origin attribute
2016-04-04 12:20:00 +02:00
bechen f65ad0e5e1 Bug 1215115 - part4: Enable MOZ_WEBM_ENCODER by default. r=ted
MozReview-Commit-ID: 6IgZoIhTLM7

--HG--
extra : transplant_source : 4.%11c%89%D3y%F0%BC%1E%8B%E50%BA%82%C2%7D%C1n%F7
2016-04-01 14:04:42 +08:00
bechen 44cf8370f2 Bug 1215115 - part3: Fix gtest. Remove TestVorbisTrackEncoder.cpp. r=rillian
MozReview-Commit-ID: AMwhwD9exsg

--HG--
extra : transplant_source : %BD%0D%D3%8A%C6%94m%ECX/Jm%C5%E2%A1%15%D1%ECfx
2016-04-01 11:04:08 +08:00
bechen fd7bde80bb Bug 1215115 - part2: Mux opus into webm, remove bitdepth. r=rillian
MozReview-Commit-ID: 7D74vONbkFP

--HG--
extra : transplant_source : 2%AA%C8%F34%1E%CF%3C%9B%88%AC%AD%9F-%DC%7C%FE%B1m%5D
2016-04-01 11:04:00 +08:00
bechen 3c837a6b1a Bug 1215115 - part1: Replace the vorbis by opus in MediaEncoder and also reomve the VorbisTrackEncoder files. r=rillian
MozReview-Commit-ID: Kjf96Nk2pPk

--HG--
extra : transplant_source : .3QTH%88%84%1B%B7%3B%06%B6%06mB%B8%BBB%BA%18
2016-03-30 18:03:05 +08:00
Georgiy Frolov 176de55fb2 Bug 1198518: [webvr] add support for OSVR. r=kip 2016-03-23 11:59:01 -04:00
Edgar Chen 421091b927 Bug 1134120 - Enable parse-a-sizes-attribute.html test and update meta data; r=jdm
MozReview-Commit-ID: Dv8zpEC4itL
2016-04-01 19:07:59 +08:00
Jorg K d5eb942449 Bug 387687 - wrap quotes in plain text replies to window. r=masayuki 2016-04-05 00:22:00 +02:00
Thomas Zimmermann 119b6d864d Bug 1262385: Fix %progbits for GAS' .section directive in ICU, r=ted
In contrast to the GNU AS manual, the syntax for the .section directive
uses '%progbits' instead of '@progbits'; at least on ARM. Looking at the
ICU tools and the generated files confirms this.
2016-04-07 09:45:22 +02:00
Benjamin Bouvier ad6e9687bd Bug 1262367: Baldr: Rename "trap" to "unreachable"; r=luke
MozReview-Commit-ID: B8Lgj4mF5aq

--HG--
extra : rebase_source : 8b024a6daa420eeca5fafe180ae58ba222a720e8
extra : amend_source : bce7ecb1dcbcf8e0001e461577da9e4eccfd048f
2016-04-06 10:36:42 +02:00
Bob Owen 907939a278 Bug 1256992 Part 2: Move SandboxBroker Initialization earlier and add telemetry and extra null checks. r=aklotz
MozReview-Commit-ID: Fu05wLn27UG
2016-04-07 08:28:14 +01:00
Ms2ger dd6ade76ab Bug 1260417 - Part c: Stop mentioning requests around CallSetup::mRootedCallable; r=bz
Rooted used to only work when the JSContext was in a request. This has long
been rectified, so the comments referring to that constraint are confusing at
best.
2016-04-07 09:11:52 +02:00
Ms2ger 7942e7f996 Bug 1260417 - Part b: Depend on AutoEntryScript to find an appropriate JSContext CallSetup; r=bz 2016-04-07 09:11:52 +02:00
Ms2ger c005f7ce82 Bug 1260417 - Part a: Add a comment about the compartment of CallbackObject::mCallback; r=bz 2016-04-07 09:11:52 +02:00
Matt Woodrow 8cf134c70f Bug 852754 - Part 4: Reduce max downscaling allowed to <3. r=mstange 2016-04-07 18:54:57 +12:00
Matt Woodrow 3fcbb65a38 Bug 852754 - Part 3: Share the implementation of ConfigureLayer. r=mstange 2016-04-07 18:54:33 +12:00
Matt Woodrow 7dc61d9b46 Bug 852754 - Part 2: Share the implementation of GetContainer. r=mstange 2016-04-07 18:53:15 +12:00
Matt Woodrow 46ff4c4fc7 Bug 852754 - Part 1: Share the code for limiting scale factors to all image types. r=mstange 2016-04-07 18:52:35 +12:00
Nicholas Nethercote 8232d31724 Bug 1262359 (part 5) - Add a missing rv check for call to nsDataHandler::ParseURI(). r=jduell.
--HG--
extra : rebase_source : 785b8b0bb91c73f6dc4c1b0b237617ff68010819
2016-04-06 17:23:56 +10:00
Nicholas Nethercote 0af5a36bf5 Bug 1262359 (part 4) - Make data URL payload assignment fallible in nsDataHandler::ParseURI(). r=jduell.
--HG--
extra : rebase_source : c4c3f2f59945be28615286ff46ff11d7a4f316df
2016-04-06 17:23:20 +10:00
Nicholas Nethercote 02b5d3f103 Bug 1262359 (part 3) - Add a missing fallible nsTSubstring_CharT::Assign() variant. r=erahm.
--HG--
extra : rebase_source : 2f5ee5658cce8a193454bf4c182cd534b0e7e8a0
2016-04-06 17:23:19 +10:00
Nicholas Nethercote 35f4f94106 Bug 1262359 (part 2) - Make the filling in of two parameters optional in nsDataHandler::ParseURI(). r=jduell.
--HG--
extra : rebase_source : ef9621513850f3d31a8691cfa2d271f7c9742b74
2016-04-06 17:19:14 +10:00