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

79164 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot f53529234b Bug 1509548 - Temporarily disable an assertion following 1423241.
Differential Revision: https://phabricator.services.mozilla.com/D12781

--HG--
extra : moz-landing-system : lando
2018-11-23 18:30:19 +00:00
Ehsan Akhgari 3f59af6b0a Bug 1508944 - Avoid dispatching the OnSecurityChange notification repeatedly when nothing has changed r=baku
Differential Revision: https://phabricator.services.mozilla.com/D12601

--HG--
extra : moz-landing-system : lando
2018-11-23 18:07:46 +00:00
Tom Klein 4c5f52fbca Bug 1486952 - Update overflow on the correct svg frame(s) when the viewBox changes. r=jwatt
Bug 828240 switched the children only transform on an outer svg from applying to
each of the anonymous child's children to applying directly to the anonymous
child instead.  So now when the viewBox changes on an outer svg, we need to
update (just) the overflow of the anonymous child. The children only transform
on an inner svg still applies to the children of the inner svg, so we continue
updating those children in that case.

Hit testing uses overflows as part of the testing process, so was broken by the
lack of overflow updates.

Differential Revision: https://phabricator.services.mozilla.com/D5668

--HG--
extra : moz-landing-system : lando
2018-11-23 15:58:27 +00:00
Peter Van der Beken 3602a1b804 Bug 1507604 - Remove nsPIDOMWindowInner::IsTopLevelWindowActive. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12141

--HG--
extra : moz-landing-system : lando
2018-11-23 15:33:11 +00:00
Peter Van der Beken 06b131e7c9 Bug 1507604 - Remove nsPIDOMWindowInner::GetPrivateRoot. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12140

--HG--
extra : moz-landing-system : lando
2018-11-23 15:39:54 +00:00
Peter Van der Beken 5a3af6e646 Bug 1507604 - Remove nsPIDOMWindowInner::GetAudioCaptured. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12139

--HG--
extra : moz-landing-system : lando
2018-11-23 15:31:39 +00:00
Peter Van der Beken a902b97880 Bug 1507604 - Remove unused nsXMLNameSpaceMap. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12138

--HG--
extra : moz-landing-system : lando
2018-11-23 15:28:07 +00:00
Peter Van der Beken 6ea5fa1b4f Bug 1507604 - Remove unused GetSerial methods. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12137

--HG--
extra : moz-landing-system : lando
2018-11-23 15:14:23 +00:00
Peter Van der Beken 025219f350 Bug 1507604 - Remove nsINetworkProperties. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12135

--HG--
extra : moz-landing-system : lando
2018-11-23 15:53:01 +00:00
Peter Van der Beken 64429a91ea Bug 1507604 - Remove nsPIDOMWindowInner::SetOpenerWindow. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D12134

--HG--
extra : moz-landing-system : lando
2018-11-23 15:17:01 +00:00
Andreas Pehrson 3771a0be22 Bug 1423241 - Handle DOMMediaStream destroying its input stream before we can end its track. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12746

--HG--
extra : moz-landing-system : lando
2018-11-23 15:03:39 +00:00
Andreas Pehrson b24e382a4c Bug 1423241 - Clean up iframes in between subtests in test_gUM_audioConstraints_concurrentIframes. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12675

--HG--
extra : moz-landing-system : lando
2018-11-23 15:03:33 +00:00
Andreas Pehrson d665f43071 Bug 1423241 - Ignore ended tracks when checking for audio tracks in an MSG. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12569

--HG--
extra : moz-landing-system : lando
2018-11-23 15:03:27 +00:00
Andreas Pehrson ec8fc95487 Bug 1423241 - Unify decoder and stream paths in HTMLMediaElement::AddRemoveSelfReference. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D12287

--HG--
extra : moz-landing-system : lando
2018-11-23 15:03:21 +00:00
Andreas Pehrson 58233bef5c Bug 1423241 - Add logging for a captured MediaDecoder. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D12286

--HG--
extra : moz-landing-system : lando
2018-11-23 15:03:21 +00:00
Andreas Pehrson 60f5d461f2 Bug 1423241 - Remove MediaStreamListener \o/. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12284

--HG--
extra : moz-landing-system : lando
2018-11-23 15:03:00 +00:00
Andreas Pehrson f859bd9fb7 Bug 1423241 - Async/await-ify test_gUM_bug1223696.html. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D12283

--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:54 +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 28dcbfa728 Bug 1423241 - Ignore runnables for main thread after next stream state update, after entering shutdown. r=padenot
They may hang on to references causing leaks.

Differential Revision: https://phabricator.services.mozilla.com/D12281

--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:42 +00:00
Andreas Pehrson dff48ba75c Bug 1423241 - Remove OnTracksAvailableCallback from MediaRecorder. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12280

--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:35 +00:00
Andreas Pehrson 04400261ad Bug 1423241 - Remove OnTracksAvailableCallback from MediaManager. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12279

--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:29 +00:00
Andreas Pehrson 9a86a15c6f Bug 1423241 - Remove OnTracksAvailableCallback from HTMLMediaElement. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12277

--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:23 +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 44c5fa2785 Bug 1423241 - Remove a rawptr in MediaStreamTrack. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12274

--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:04 +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 e80887ac8d Bug 1423241 - Return appended StreamTime samples appended through AppendToTrack. r=padenot
This allows DecodedStream to accurately track how many samples have been
appended to a track, even with resampling enabled.

Differential Revision: https://phabricator.services.mozilla.com/D12272

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:48 +00:00
Andreas Pehrson 80cde33d12 Bug 1423241 - Always add tracks at the stream's current time. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12271

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:42 +00:00
Andreas Pehrson 43f4e58733 Bug 1423241 - Move CanvasCaptureMediaStream from stream listener to track listener. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D9105

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:36 +00:00
Andreas Pehrson 8a424abbee Bug 1423241 - Hold back readyState while no frame has been displayed as intended. r=jya
HasVideo() might be false even though there is a video track present as it will
only look at the resolution of a VideoTrack.

Differential Revision: https://phabricator.services.mozilla.com/D9103

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:24 +00:00
Andreas Pehrson 26308e92bf Bug 1423241 - Remove screen-wakelock code that no longer has an effect. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D9102

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:18 +00:00
Andreas Pehrson 84905ffbe9 Bug 1423241 - Expose MSG's GraphTime through main-thread-Watchable and move media element to it. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D9101

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:13 +00:00
Andreas Pehrson 6d2721e35a Bug 1423241 - Remove drawImage exception handling from captureStream_common.js. r=jib
This can conceal real bugs. Tests should be fixed so they don't risk calling
getPixel in invalid states instead.

Differential Revision: https://phabricator.services.mozilla.com/D9100

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:07 +00:00
Andreas Pehrson 4be83b9661 Bug 1423241 - Ensure audio loads after video to make drawImage happy. r=jib
https://github.com/whatwg/html/issues/4128 filed to cover this case in the spec.

Differential Revision: https://phabricator.services.mozilla.com/D12270

--HG--
extra : moz-landing-system : lando
2018-11-23 15:01:01 +00:00
Andreas Pehrson 2561e93cdb Bug 1423241 - Remove a rawptr in HTMLMediaElement. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D9099

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:55 +00:00
Andreas Pehrson 5d81eeb138 Bug 1423241 - Remove HTMLMediaElement::StreamListener::NotifyHasCurrentData. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D9098

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:49 +00:00
Andreas Pehrson afdaeed6d7 Bug 1423241 - Rename StreamSizeListener to VideoFrameListener and minor cleanup. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D9096

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:43 +00:00
Andreas Pehrson 58f77e6354 Bug 1423241 - Implement HTMLMediaElement::IsPlaybackEnded and IsEnded properly for MediaStreams. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D9095

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:37 +00:00
Andreas Pehrson b2d7b962cd Bug 1423241 - Implement MediaStreamTrackListener::NotifyOutput. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D9094

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:31 +00:00
Andreas Pehrson e6f44b02af Bug 1423241 - Fix MediaStreamTrackListener::NotifyEnded. r=padenot
Without this, NotifyEnded() happens before the track has been played out, at the
time it's marked ended by its producer. This change will actually make us wait
until the last chunk has been played out and then notify listeners.

Differential Revision: https://phabricator.services.mozilla.com/D12269

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:26 +00:00
Andreas Pehrson 193fd8f3eb Bug 1423241 - Move MediaManager from a stream listener to track listeners. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12268

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:20 +00:00
Andreas Pehrson c4ef19aea8 Bug 1423241 - Implement NotifyPull for MediaStreamTrackListener. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12267

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:14 +00:00
Andreas Pehrson e31bc86b17 Bug 1423241 - Move SpeechRecognition from stream listener to track listener. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12266

--HG--
rename : dom/media/webspeech/recognition/SpeechStreamListener.cpp => dom/media/webspeech/recognition/SpeechTrackListener.cpp
rename : dom/media/webspeech/recognition/SpeechStreamListener.h => dom/media/webspeech/recognition/SpeechTrackListener.h
extra : moz-landing-system : lando
2018-11-23 15:00:08 +00:00
Andreas Pehrson 3461beb8a0 Bug 1423241 - Move CanvasCaptureMediaStream MSG cleanup to MediaStreamTrackListener. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D12265

--HG--
extra : moz-landing-system : lando
2018-11-23 15:00:02 +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
shindli 970ea1ddd4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-23 11:42:24 +02:00
shindli 20df68a5f5 Merge inbound to mozilla-central. a=merge 2018-11-23 11:38:42 +02:00
Andrea Marchesini 5368c7288c Bug 1509132 - Inform the 3rd party tracker window when the storage permission is granted, r=ehsan
This is needed for the LocalStorage Next-Generation project which sends storage
notifications only to content processes with an existing LocalStorage object.

I cannot write a test for this, because the current localStorage all works fine.
2018-11-23 08:12:02 +01:00
Andrea Marchesini b9f5f08c7f Bug 167475 - Telemetry to count how often iframes load no-data URLs, r=smaug 2018-11-23 08:11:31 +01:00
Bryce Van Dyk ae30c70345 Bug 1509397 - mp4: use per sample IV size from sample group metadata if present. r=jya
If sample group metadata is present, it should be used over the less specific
track metadata. This patch changes the mp4 parser to do so for per sample IV
sizes.

Differential Revision: https://phabricator.services.mozilla.com/D12718

--HG--
extra : moz-landing-system : lando
2018-11-23 08:24:53 +00:00