Commit Graph

32 Commits

Author SHA1 Message Date
roytam1 6b21bacef6 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1206298 - Part 1: Update the expiration time on the fake cache entry object for an intercepted request in the non-e10s case; r=mcmanus (0fa1afb14d)
- Bug 1206298 - Part 2: Add a test to make sure that we respect Cache-Control headers on the synthesized response; r=jdm (c7a05d4415)
- Bug 121442 - Add platform to GMP storage base dir. r=gerald (6f40a18f39)
- Bug 1214967 - Proxy observer service notification across to content process when GMPs are added/removed. r=billm,jwwang (088f770b47)
- Bug 1211812 - Add pref to select GMP to use for unencrypted decoding. r=jwwang Bug 1212670 - Implement GMPDecoderModule::SupportsMimeType() and EMEDecoderModule::SupportsMimeType(). r=jwwang (10acef26cd)
- Bug 1214932 - Remove fragmented-mp4 from media prefs. r=jya (f2935767c1)
- Bug 1214967 - Create a list of GMPs/codecs that can be used for <video> decoding. r=jwwang (3c68f6e08b)
- import some vars and prefs to compile again (5456bb7124)
- Bug 1205083 - Don't enable low latency WMF video decoding as it crashes sometimes. r=jya (353e727811)
- Bug 1101885: P1. Make pref dynamic. r=cpearce (8a3de82e1e)
- Bug 1189776: Store our audio decode time in TimeUnits. r=cpearce (0a01637580)
- Bug 1202296 - Hide the MFTDecoder within MFTManager so that we can recreate it opaquely. r=cpearce (148e4d1923)
- Bug 1211339 - Ensure WMFDecoderModule::SupportsMimeType checks it can create decoders. r=jya (f6e53ff08c)
- Bug 1101885: P2. Don't shutdown WMF framework before releasing decoder. r=cpearce (b373402e74)
- Bug 1101885: P3. Allow decoder creation fallback. r=cpearce (650ef55564)
- Bug 1219300 - Add mutex to protect the |result| because the variable will be access by multiple threads at the same time. r=cpearce (a0f489cbcf)
- Bug 1101885: P4. Enable Intel VP8/VP9 HW decoder by default. r=cpearce (cffbca2905)
- Bug 1101885: P5. Only attempt to use HW VP decoder if DXVA active. r=cpearce (fd0f12c118)
- spaces (f110c8ab3d)
- Bug 1203217 - Add some logging when we detect and skip an ID3v2 tag. r=kinetik (74533f7c1e)
- small changes (1ab8008527)
- Bug 1164453 - Assert that decoder callback is set before using it. r=snorp (79bee3ccbe)
- Bug 1190379 - Use AndroidDecoderModule for VP8/9. r=jya (2c672b6630)
- Bug 1188871: P2. Call DrainComplete should an error occurs while draining. r=snorp (81f5669010)
- Bug 1163667 - [5.1] Ensure empty demuxer sample queue before initiating draining. r=snorp (8a4dd86a28)
- Bug 1204483 - Fix busted audio decoding output on Android r=esawin (b0c7dca1ce)
- Bug 1220491 - clarify ownership relationships for creators of AudioData; r=gerald (cd043d3ef1)
- bug 1162364 detect and abort MF_E_TRANSFORM_STREAM_CHANGE infinite loops r=cpearce (a0f3e17e5f)
- Bug 1214065 - Remove unused arguments from MediaDecoder::Load() and its friends. r=kinetik. (6e610f3aed)
- Bug 1211766 - Remove AbstractMediaDecoder::GetReentrantMonitor(). r=jya. (beb1a22439)
- some cleanup and add back some gestreamer stuff (55c4a19f78)
- Bug 1204434 - Remove check of MediaDecoder::IsMediaSeekable from OggReader::ReadMetadata. r=cpearce. (75bf15a1f5)
- Bug 1209888 - Remove usage of decoder monitor from OggReader. r=jya. (4e92df9c1c)
- Bug 1204882 - Move MediaDecoder::FrameStatistics out of MediaDecoder for easier use in other classes. r=jwwang (7f5d6035be)
- Bug 1209887. Part 1 - add assertions. r=jya. (d5a7057c79)
- Bug 1209887. Part 2 - remove usage of decoder monitor. r=jya. (56a6de8874)
- Bug 1209887. Part 3 - remove unused code. r=jya. (7cd48c424b)
- missing bit of 1208930 (045f09408a)
- Bug 1211327 - Remove unnecessary usage of decoder monitor from MediaDecoderReader and sub-classes. r=jya. (2a15ac759a)
- missing bit 1211766 (221c0a957f)
- Bug 1214519 - Fix the coding style of member initializer lists of MediaDecoder. r=jya. (654636af36)
- Bug 1206977: P12. Properly shutdown all created test decoders. r=cpearce (79cd0ebc83)
- Bug 1206977: P14. Remove obsolete / redundant code. r=cpearce (b5a85ee060)
- Bug 1208348 - Check whether DirectShow can decode MP3 before assuming it will work. r=jya (988030aec7)
- Bug 1209886 - Clean up InstantiateDecoder() in DecoderTraits.cpp. r=kinetik. (822cac0dee)
- Bug 1213176: P1. Remove most MediaFormatReader dependencies on its MediaDecoder parent. r=jwwang (7b5b000408)
- Bug 1214989. Part 1 - add MediaDecoderOwner to the constructors of MediaDecoder and sub-classes. r=gerald. (f2f6df4bf2)
- Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald. (db9947115d)
- Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald. (4353925106)
- Bug 1217714 - Remove some unused functions from MediaDecoderReader. r=jya. (ae50a0f881)
- Bug 1194524 - Use channel->ascynOpen2 in dom/media/MediaResource.cpp (r=sicking) (2a28e80f82)
- Bug 1218280. Part 1 - create MediaResourceCallback for MediaResource to send notifications. r=roc. (54c5f58cb0)
- Bug 1218280. Part 2 - remove unused code. r=roc. (161d4e28bb)
- Bug 1219169. Part 1 - Remove AbstractMediaDecoder::OnStateMachineTaskQueue(). r=jya. (1836fb4bbc)
- Bug 1219169. Part 2 - move MediaDecoderStateMachine::OnTaskQueue() to private. r=jya. (873ecac93a)
- Bug 1217692. Part 1 - move members that don't have to be public to protected or private sections. r=jya. (25ea01b514)
- Bug 1217692. Part 2 - fix some styles to keep 80 cols limit. r=jya. (0aabebd4ed)
- Bug 1220558. Part 1 - remove unused arguments from MediaDecoderReader::DispatchNotifyDataArrived() and its callees/callers. r=jya. (0e57bafdb4)
- Bug 1218157: Only ever read from cached data in NotifyDataArrived. r=cpearce (235ef09e63)
- Bug 1220551. Part 1 - fix the parameters passed to mBufferedState->NotifyDataArrived(). r=jya. (61bdc160b1)
- Bug 1220551. Part 2 - remove arguments from NotifyDataArrivedInternal(). r=jya. (edc0c18550)
2022-12-03 11:38:18 +08:00
roytam1 8a0a002cf2 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1148708: Add missing 'override' annotations in DocAccessibleChild.h. rs=ehsan (d606358545)
- Bug 1210408 - make nsMaiInterfaceAction work with proxies, r=tbsaunde (f7c819c6ae)
- Bug 1210407 - teach nsMaiInterfaceTable to use proxies, r=tbsaunde (4ca4f10b5f)
- bug 1185157 make sure we don't send an event to a destroyed ipc document r=billm (23acf53f75)
- bug 1214864 - make SetCarretOffset() async r=davidb (e3079e9b2d)
- missing of Bug 1139972 - IPC Proxy for charAt, r=tbsaunde (e9593ed752)
- bug 1191598 - Pass MOZ_CURRENT_PROJECT in environment when running post-build automation steps for universal mac builds. r=gps (fc342c6ced)
- Bug 1164596 - Add mach android-emulator command; r=ahal (afeb9b27d1)
- Bug 1223149 - Add basic usage documentation for mach build; r=glandium (bfb802d175)
- Bug 1182301 - Improve 'mach build' notifications. r=gps (2c65a122d1)
- Bug 1184696 - Add clobber targets to |mach clobber|; Ability to clobber compiled python files, r=gps (35d8be292e)
- Bug 1117958 - Allow any debugging options to the run or gtest mach subcommands to automatically enable debugging. r=gps (32f986af4b)
- Bug 1180081 - Properly rebuild gtest/libxul before running gtests. r=gps (80db9a3d49)
- Bug 1171647, part 1 - Define a new function to convert the mode to a string. r=njn (61ad16f5ba)
- Bug 1171647, part 2 - Remove redundant assertion for dark matter mode. r=njn (b5ac9519f3)
- Bug 1058178, part 1 - Implement DMD heap scanning mode. r=njn (60e1079536)
- Bug 1058178, part 2 - Implement address clamping analysis for DMD scan logs. r=njn (45c0326b93)
- Bug 1102388 - Fix DMD static constructor ordering dependency. r=mccr8 (59b87897a1)
- Bug 1128705 - Don't redefine PAGE_SIZE in DMD if it's already defined. r=erahm (49216348ee)
- Bug 1179042 - Add a script for analyzing memory blocks using a heap scan DMD log. r=njn DONTBUILD (1c08d2d66e)
- Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat (1c999d139b)
- Bug 1158772 - fix non-idiomatic memset call in nsDeque.cpp; r=erahm (de6b555245)
- Bug 1199400 - Part 1: Use CheckedInt when growing nsDeque capacity. r=froydnj (dfdf6814a3)
- Bug 1199400 - Part 0: Remove unused nsDequeIterator. r=froydnj (38d69d7f47)
- Bug 1199400 - Part 2: Add tests for possible nsDeque corner cases. r=froydnj (931baff195)
- Bug 1201997 - Part 1 - Converted compiled test to gtest for nsDeque class. Added tests to test untested methods. r=froydn (e893916651)
- Bug 1201997 - Part 2 - Removing unused methods from the nsDeque class. r=froydn (41595a90ac)
- Bug 1201997 - Part 3 - Make internally used methods private. r=froydn (8cd3afd96f)
- Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn (73eabc8d60)
- Bug 1215140 P1 Add an nsIConsoleReportCollector interface to support navigation channel logging. r=bz (8a41535e2b)
- Bug 1215140 P2 Make HttpBaseChannel implement nsIConsoleReportCollector. r=bz (75fca301f2)
- Bug 1197679 - If nsUnknownDecoder is involved in e10s DivertToParent can break. r=jduell (5d94a12504)
- Bug 1178991 - smartptr for http converter r=hurley (8e7fbc8443)
- bug 366559 - patch 2, fix nsHTTPCompressConv indentation r=bagder (ba762da587)
- bug 366559 - patch 3, fix nsHTTPCompressConv bracing style r=bagder (54195ab451)
- bits of  bug 366559 - patch 7, content-encoding brotli for http (f0b4051022)
- Bug 1205112 - Make PushEvent.data nullable. r=mt,smaug (775db32856)
- Bug 1193414 - SharedWorkers thread should be kept alive also when the SharedWorker object is CCed, r=khuey (b77ea8125c)
- Bug 1206520: Add about:config prefs to enable throwing on asm.js validation failures; r=bz (c42126665d)
- Bug 1193414 - Telemetry for SharedWorker spawning. r=bkelly (77984b7bcc)
- Bug 1205676 - Enable WPT service-worker/unregister-then-register-new-script.https.html in e10s, r=nsm (ec24939cf6)
- Bug 1193133 - Throw when calling postMessage from a Service Worker dom object with no global. r=bkelly (526dcacfab)
- Bug 1181871 P1 Only enforce Cache Context shared data destruction on target thread after init. r=ehsan (cdbf3ed3a8)
- Bug 1181871 P2 Fix ServiceWorkerManager usage of stack-based ErrorResult. r=ehsan (c449195d90)
- minor cleanup and missing bit of 1198230 (02f459db05)
- Bug 1143717 - Implement the ServiceWorkerMessageEvent interface. r=baku (027b3465f2)
- fix misspatch (708eee4e84)
- Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap (fb5b5341c9)
- Bug 1205228 - Change PackagedAppVerifier to notify the verification result asynchronously. r=valentin. (9edda0fa00)
- Bug 1178518 - Packaged App Utils. r=valentin (f60f3b7a93)
- Bug 1213150 - Part 1: Add a nsContentUtils::IsNonSubresourceRequest helper; r=jdm (b509cc3cc9)
- Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm (2e92fe8780)
- Bug 1213150 - Part 3: Remove nsIInterceptedChannel.isNavigation; r=jdm (becf1cc12f)
- Bug 1213150 follow-up: fix build bustage (8d73d6ca73)
- Bug 1198394 - Part 1: Allow interception of HSTS upgraded connections in non-e10s mode; r=mcmanus (f504c5be08)
- Bug 1198394 - Part 2: Add a test for interception of HSTS upgraded connections; r=jdm (054e984eef)
- Bug 1187011 - Don't allow response body with null body status. r=bkelly (b1860741d1)
- missing bit of 1140788 (29d319712e)
- Bug 1213436 - Reject core dumps with node IDs that don't fit in an IEEE 754 double; r=sfink (3c1f6fdda0)
- Bug 1211006 - Add Debugger.Source.prototype.canonicalId; r=ejpbruel (eef7b79fce)
- Bug 1199218 - Implement JS::ubi::Node::size for js::LazyScript referents; r=sfink (098a48d240)
- Bug 1220031 - Add JS::ubi::Node::scriptFilename; r=sfink (6b824ae680)
- Bug 1143575. Remove unused MediaQueue::Empty. r=cpearce (de737f3433)
- Bug 1209933 - Make sure all parent runtime pointers are the topmost parent, r=billm. (fe824d967d)
- Bug 1197012 - Fix ThrowTypeError in Notification. r=mccr8 (0b1a097526)
- Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv (d98c7d78a0)
- Bug 1142083 - Add test for IDN Unicode domain redirect. r=mcmanus (0c8961fe17)
- Bug 1187159 - Add mochitest for loading packaged apps (iframe+fetch+mozapp) r=jduell (ce90ea561b)
- Bug 1186290 - Notify TabParent to switch process when loading a signed package. r=honzab, r=kanru. (c58a14554a)
- fix (15e2df75eb)
- Bug 1206124 P1 Fix "same-origin" CORS credentials in FetchDriver. r=ehsan (fae1bb6ab3)
- Bug 1206124 P2 Test fetch() with credentials and redirects. r=ehsan (ffc6254112)
- Bug 1211751: Remove nsIChannelEventSink-forwarding from EventSource and FetchDriver. It's never needed. r=smaug (adafe5737a)
- Bug 1212433 Fail fetch() calls that require preflight and also redirect. r=sicking a=abillings (c0d6742b9e)
- Bug 1193128 - Fix base64 decoding when fetching data URIs. r=baku (80bafa291a)
- Bug 1195167 part 1: Let necko handle all protocols. r=bkelly (bb932b0ada)
- Bug 1195167 part 2: Remove redundant aCORSFlag argument and instead use mCORSFlagEverSet. r=bkelly (beadafcad0)
- Bug 1195167 part 3: Remove more scheme-specific handling from FetchDriver. r=bkelly (d00b38db9e)
- Bug 1195167 part 4: Remove FetchDriver::BasicFetch since it is empty. r=bkelly (c5ed097267)
- Bug 1210413 P2 Test CORS credentials on cross-origin redirects. r=sicking a=dveditz (b4eeb8aac0)
- Bug 1210413 P1 Propagate new channel load flags from child to parent on redirect. r=jduell a=dveditz (8b329af4fa)
- Bug 1195167 part 5: Make FetchDriver use AsyncOpen2. r=bkelly (cc217c4cc1)
- Bug 1195167 part 6: Some code simplification since necko handles fetch recursion. r=bkelly (f3b6da2262)
- Bug 1195167: Followup to fix test which I forgot to change (81e7439a2e)
- Bug 1215746: Remove RequestMode::Cors_with_forced_preflight. r=bkelly (0336e812b6)
- Bug 1211000: Move CORS preflight logic from nsCORSListenerProxy to nsCORSPreflightListener. r=ehsan (bf2f71cf22)
- missing bit of Bug 1211443 - Drop scheduled update if decoder initialization isn't done yet. r=jya (f6bc074e33)
- Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb (5af6fa7442)
- fix (e40c8e7625)
- Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly (26f4f13c28)
- Bug 1173811 - Part 2: Propagate the response URL to intercepted channels when necessary (e10s). r=mayhemer,bkelly (a603fe1df2)
- Bug 1154309 - Add New Resource Timing Fields r=bz,hurley (1d14eb6bef)
- Bug 1175685 - add OriginAttribute to LoadInfo. r=jonas, r=ckerschb, r=michal (a5d18bb637)
- Bug 1175685 - add OriginAttribute to LoadInfo. r=jonas, r=ckerschb, r=michal (fb07d2c8aa)
- Bug 1212904 P1 Add a LoadTainting enumeration. r=jduell (a1db8a3e99)
- Bug 1212904 P2 Add LoadTainting information to nsILoadInfo. r=jduell (2482e5e334)
- Bug 1221151 - use [infallible] in nsILoadInfo.idl instead of manual %{C++ blocks; r=jduell (aae73129b6)
- Bug 1045891 - CSP 2 child-src implementation r=ckerschb (792920aeb9)
- Bug 1219931 - CSP: Don't allow removing a policy (r=sicking) (9daaab4186)
- Bug 1208661 - Dump client-side layer textures. r=BenWa (1f2d17d515)
2022-10-17 11:08:37 +08:00
roytam1 68647acd43 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1190592 - Part 1: Add mediasource memory reporter. r=jya (6756ebeab)
- Bug 1190592 - Part 2: Add test for mediasource memory reporter. r=jya (4bb7dfa13)
- Bug 1245463: [MSE] P5. Remove no longer working Dump() commands. r=gerald (28365d336)
2021-10-15 08:51:49 +08:00
roytam1 30a0d48107 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1194080: [mp3] Implement MP3TrackDemuxer::GetBuffered(). r=esawin (0eec444cf)
- Bug 1212176: Remove arguments passed to MediaDataDemuxer::NotifyDataArrived API. r=cpearce (6a919e94d)
- Bug 1209890 - add main thread assertions and remove usage of decoder monitor from MediaSourceDecoder. r=jya. (914e9369c)
- Bug 1204430. Part 1 - dispatch AbstractMediaDecoder::SetMediaSeekable() to the main thread. r=kinetik. (8724949ec)
- Bug 1196112 - Part 1: Ensure all members except |mShuttingDown| and |mOutputStreamManager| are accessed on the worker thread only. r=roc (1baccad8b)
- Bug 1196112 - Part 2: Remove DecodedStream::mMonitor. r=roc (effbd25cc)
- quick fix (c031b2bf2)
- Bug 1199654 - DecodedStream::DecodedStream does not initialise mSameOrigin. r=jwwang. (2bccdf9f4)
2021-10-08 11:34:20 +08:00
roytam1 0e2ad8b8aa import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1192694: remove mDecodingFrozenAtStateDecoding so decoder can leave dormant normally. r=jwwang (459e69fc5)
- bug 962719 use unsigned ints for FrameID and ProducerID for defined overflow behavior r=roc (d5961e6a7)
- Bug 1191192 - Add DecodedStream::SetSameOrigin(). r=roc. (fa76795e9)
- Bug 1179451 - Part 4: Don't pass nsRefPtr&& to functions that want raw pointers. r=froydnj (2a7893a33)
- Bug 1191696. Part 1 - Handle the promise returned by DecodedStream::StartPlayback in MDSM. r=roc. (56d7fc3ed)
- Bug 1191696. Part 2 - implementation in DecodedStream. r=roc. (125f834f8)
- Bug 1188268 - Make AudioSink a base class, create DecodedAudioDataSink to act as original AudioSink, and move sink-related files to dom/media/mediasink. r=jwwang, r=cpearce (be9858883)
- Bug 1188268 - Correct the logic against |MaybeStartPlayback()| due to rebase mistake. r=jwwang (2d8118ab6)
- apparently missing bit of Bug 1163467. Part 1 (baef792d7)
- Bug 1195187. Part 1 - Move output stream connection/disconnection code to OutputStreamData. r=roc. (2f57da7c6)
- Bug 1195187. Part 2 - add a new class OutputStreamManager for managing output streams. r=roc. (c30031436)
- and some local fixes
2021-10-01 13:32:06 +08:00
roytam1 036a7138f8 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1186367 - Make MDSM more ignorant of AudioData/VideoData via using MediaQueue<MediaData> instead. r=jwwang (344314a04)
- missing of Bug 1123637 - Remove all code relevant to quota prompts; r=bent,ehsan (ac63ae831)
- Bug 1185892. Part 1 - delegate the job of MediaSourceDecoder::IsExpectingMoreData to its MediaResource. r=jya. (64da133b6)
- Bug 1185892. Part 2 - delegate the job of MediaDecoder::IsExpectingMoreData to its MediaResource. r=jya. (4bca8324d)
- Bug 1185892. Part 3 - replace all calls to MediaDecoder::IsExpectingMoreData() with MediaResource::IsExpectingMoreData. r=jya. (3780bf754)
- fix misspatch of Bug 1134434 (976064ea5)
- Bug 1185972: P1. Remove DECODER_STATE_DECODING_FIRSTFRAME state. r=jwwang (dee513d1c)
- Bug 1185972: P2. Refactor handling of first frame decoded. r=jwwang (95482e8b9)
- Bug 1185972: P4. Initiate seek as early as conditions permit. r=jwwang (f938e673b)
- Bug 1148103: P1. Fix mediasource "once" utility. r=karlt (ba3e21d59)
- Bug 1148103: P2. Add MP4 mediasource mochitests. r=karlt (199372ab6)
- Bug 1136399 - Add test_WaitingOnMissingData_mp4.html and disable the webm version for now. r=jya (ab349f245)
- Bug 1185972: P6. Ensure exiting dormant mode has completed seek before notifying decoder. r=jwwang (5a9252b75)
- Bug 1185972: P3. Don't reduce our buffer threshold coming out of dormant mode. r=jwwang (bf76f6b7d)
- bug 1190285 remove unused GetCurrentTime() r=padenot (95c322cb6)
- bug 1190285 unvirtualize MediaStream::AdvanceTimeVaryingValuesToCurrentTime() r=roc (80f536d5a)
- bug 1190285 remove unused DispatchWhenNotEnoughBuffered r=padenot (6fa27d274)
- bug 1190285 remove unused HaveEnoughBuffered r=padenot (0941a1af7)
- bug 1190285 move GetIntervalForIteration() from base class to ThreadedDriver, where it is used r=padenot (0faaf6db8)
- bug 1190285 share ThreadedDriver interval update code r=padenot (3d5d5ce35)
- bug 1190285 only update mStateComputedTime once per iteration r=padenot (b6cea757a)
- bug 1190285 remove unused MediaStreamGraphImpl::GetAudioPosition() r=roc (b14738229)
- bug 1190285 remove unused graph update indices r=roc (475b980fe)
- Bug 1188257 - Use MediaEventSource for MediaQueue to do the job. r=cpearce. (4d16a4595)
- Bug 1189624 - Have AudioSink listen to MediaQueue events to know whether to continue playback. r=kinetik. (753ab8ca2)
- Bug 1191173 - Mirror MediaDecoder::mSameOriginMedia in MDSM. r=jya. (d4690cb87)
- Bug 1191170 - Move DecodedStreamData from the header to its source file. r=roc. (d5726e979)
- Bug 1191171 - Add SetVolume() to DecodedStream. r=roc. (20e87ac20)
- Bug 1182649 - Log a message when disabling DXVA due to too many invalid frames. r=jrmuizel (0d951a60c)
- Bug 1185416 - Don't stop AudioSink prematurely when decoding is completed. r=kinetik. (1ac43f91e)
- Bug 1186752 - Remove ScheduleStateMachine() in MediaDecoder.cpp since we have state mirror. r=jwwang (1e89c535c)
- Bug 1191684 - Remove unnecessary calls to NotifyAll() on the decoder monitor since no one calls Wait(). r=cpearce. (54a95a5a0)
2021-10-01 12:50:08 +08:00
roytam1 4ded173333 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1204419: P1. Fix webm headers. r=kinetik (c1ea10947)
- Bug 1184002: Add about:media plugin support with new MSE. r=cpearce (fb3082eb0)
- Bug 1186257 - Add missing mediasource includes. r=jya Add missing includes, forward declarations, and fix up namespace references so dom/media/mediasource compiles in a non-unified build. (2c1b8a854)
- Bug 1204419: P2. Remove old MediaSource implementation. r=cpearce (6096661f6)
- Bug 1204419: P3. Remove now unused MediaDecoderReader functions. r=cpearce (4e6559178)
- partial Bug 1190897 - Add MP3Demuxer logging. r=kinetik (fd968e13d)
- Bug 1190238: P1. Remove MediaResource::Read/Seek. r=cpearce This functionality is now replaced with a dedicated new MediaResourceIndex class. This allows for concurrent Read/Seek use of the MediaResource without having side effects. (a70d55a8e)
- Bug 1190238: P2. Have MediaResourceIndex::ReadAt() only stop early when reaching EOS or error. r=cpearce (e982980df)
- Bug 1190238: P3. Do not loop calling MediaResource::Read or ReadAt, let MediaResourceIndex do it for us. r=cpearce (4e6ea1da2)
- Bug 1196591: Initialize member. r=me Small correction introduced in bug 1190238 (97c73437f)
- Bug 1191813: [mp3] P1. Avoid false positive EOS detection. r=esawin We do so by using blocking reads via the MediaSourceIndex::ReadAt convenience method. (bf5286b47)
- Bug 1204419: P4. Remove MediaDataDemuxer API no longer used. r=cpearce (4bc26d7ac)
- Bug 1204419: P5. Remove no longer used prefs. r=cpearce (99989669d)
- Bug 1193603. Part 1 - Fix indentation and include order. r=jya. (6b4add1df)
- Bug 1193603. Part 2 - Fix miscalculation in converting micro seconds to seconds. r=jya. (7d2fb63b9)
- Bug 1193117. Add an exclusive mode to allow at most one listener. r=kinetik. (bfcdbfb73)
- Bug 1194112. Part 1 - extract event dispatch code from ListenerImpl to its own class. r=kinetik. (cfd49d7d8)
- Bug 1194112. Part 2 - small code refactoring to reduce typing. r=kinetik. (fcd3399b1)
- Bug 1194112. Part 3 - use perfect forwarding in MediaEventProducer::Notify() so MediaEventSource can decide whether to copy or move according to its ListenerMode. r=kinetik. (3d1fddf6b)
- Bug 1194112. Part 4 - reimplement Listener/ListenerImpl to support Move. r=kinetik. (0c55cf863)
- Bug 1194112. Part 5 - remove dead code. r=kinetik. (28ba52bfd)
- Bug 1194112. Part 6 - add a test case to test the exclusive mode. r=kinetik. (cb7f3edd0)
2021-10-01 12:45:43 +08:00
roytam1 69d3703748 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1143575. Reimplement ImageContainer::GetPaintCount to be composition-aware. r=nical (fdae9bbe2)
- Bug 1143575. Let callers of ImageContainer::SetCurrentImages specify frame IDs. r=nical (c3d1be5c7)
- Bug 1143575. Let ImageContainer::SetCurrentImages accept multiple images. r=nical (eca5b7bf4)
- Bug 1179116. Part 1 - clean up code of MediaDecoderStateMachine::MaybeStartPlayback(). r=cpearce. (5a8514857)
- Bug 1179116. Part 2 - clean up code of MediaDecoderStateMachine::FinishDecodeFirstFrame(). r=cpearce. (e42aba701)
- Bug 1179116. Part 3 - remove unused code. r=cpearce. (f49fe1fb2)
- Bug 1143575. Introduce VideoFrameContainer::ClearCurrentFrame(size), and don't increment mFrameID when clearing frames. r=cpearce (5357bf3bc)
- Bug 1143575. Introduce VideoFrameContainer::SetCurrentFrames. r=cpearce (fa56c22fe)
- Bug 1143575. Add MediaQueue::GetFirstElements. r=cpearce (a1d2378b1)
- Bug 1143575. Refactor UpdateRenderedVideoFrames to support pushing multiple frames from the VideoQueue to the ImageContainer. r=cpearce (37de445b6)
- space (2c87961f2)
- Bug 1181504. Part 1 - add assertions to MediaDecoderStateMachine::GetAudioClock(). r=kinetik. (9efc04e7e)
- Bug 1112438 - Make newCurrentFrameTime more accurate while seeking by checking audio & video timestamp boundary in addition. r=cpearce (2bfc18fa7)
- Bug 1146304 - Touch slider bar or tap forward button, the video got stuck 1s then resume playing. r=cpearce (27d966133)
- Bug 1181504. Part 2 - remove MediaDecoderStateMachine::mAudioStartTime. r=kinetik. (564a77d09)
- Bug 1182738. Part 1 - have DecodedStream::GetPosition() return a position including the start time. (613a0c871)
- Bug 1182738. Part 2 - remove MediaDecoderStateMachine::mStreamStartTime. (5c44e9a97)
- Bug 1182737. Part 1 - have DecodedStream keep reference to media queues of MDSM so we don't have to pass them everytime. (53ac5a2ec)
- Bug 1182737. Part 2 - remove unnecessary code. (bd0814e9d)
- Bug 1182737. Part 3 - make start/stop playback of DecodedStream more consistent with that of AudioSink. (b84f1cc01)
- Bug 1183007. Part 2 - remove dependency on MDSM::OnAudioEndTimeUpdate from AudioSink. r=kinetik. (848cf50fb)
- Bug 1183007. Part 2.5 - don't call AudioEndTime() after mAudioSink becomes null. r=kinetik. (2b6ef5079)
- Bug 1184412. Part 1 - remove dependency on MDSM::OnAudioEndTimeUpdate from DecodedStream. r=roc. (680a4346f)
- Bug 1184412. Part 2 - remove code that is not used anymore. r=roc. (8aaa00df2)
- Bug 1184010 - Put Mirrors/Canonicals together. r=jya. (ce4e2de38)
- adapted - Bug 1161901 - Make MDSM::ScheduleStateMachine runs on the state machine task queue only. r=jww (41acdb0e3)
2021-07-23 09:41:15 +08:00
roytam1 6431b48dbc import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1175768 - Remove bogus check. r=jya (6d1b387f4)
- Bug 1175768 - Make the logic in MDSM::NotifyDataArrived apply to mObservedDuration. r=jya (90dcae693)
- Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya (f003b4646)
- Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya (e6eaf8eb1)
- Bug 1175768 - Misc changes to Intervals/TimeUnit. r=jya (786da5ba2)
- Bug 1174220 - Part 2: Use MediaByteBuffer instead of MediaLargeByteBuffer. r=jya (59fe3c482)
- Bug 1175768 - Use mirroring for buffered ranges. r=jya (5100aba5e)
- Bug 1175768 - Throttle NotifyDataArrived. r=jya (4bb13775b)
- Bug 1178680 - Remove MediaDecoder::Observe as we have MediaShutdownManager. r=cpearce. (ba9b728ea)
- Bug 1178437 - Do the dormant-enabled tracking on the main thread. r=jww,r=jya (b0287df66)
2021-05-12 10:04:12 +08:00
roytam1 502674878a Revert "Revert recent dom/media related changes. This should hopefully restore stability as 27 March 2021 build."
This reverts commit c5b776d07a.
2021-05-12 09:49:08 +08:00
roytam1 c5b776d07a Revert recent dom/media related changes. This should hopefully restore stability as 27 March 2021 build.
This commit will effectively revert following changes (in chronological order):
- Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce (e1e11d289)
- Bug 1161901 - Sprinkle more assertions and fix some formatting. r=jww (1a008614e)
- Bug 1152218 - Have a larger tolerance to decide if video data is low or not. r=cpearce. (72dc49d9b)
- indent fix (b6fe75862)
- Bug 1161901 - Relax assertion. r=jww (f20d88804)
- fix indentation (c4b2356bd)
- Bug 1162381. Part 2 - refactor DecodedStreamData::mInitialTime to be consistent with AudioSink when computing stream position. r=roc. (8574a32a1)
- Bug 1172778 - Update readyState when audio samples are popped by AudioSink. r=cpearce. (3f64e7151)
- Bug 1172392 - Align update of audio end time of decoded stream with that of AudioSink. r=roc. (01e7ba014)
- Bug 1173001 - Initialize reader task queue in the constructor. r=jww (efecb4a62)
- Bug 1173001 - Enable tail dispatch for the decode task queue. r=jww (11e8feaad)
- Bug 1173289 - Remove WakeDecoderRunnable from MDSM. r=roc. (9782c6dd6)
- Bug 1173248 - Remove the workaround introduced to MDSM by bug 951278. r=cpearce. (43ecb0e42)
- Bug 996238 - Add test for asymmetric media isolation across PC. r=ekr (1a41248b4)
- Bug 1153314 - Test IdP login flow, r=jib (1b143d80a)
- Bug 1155898 - Use fetch instead of XHR for IdP. r=jib (ac9bc2d01)
- missing part of Bug 1171311: P4. Don't compute start time for MSE. (d5e48284d)
- Bug 1163223 - Remove MediaDecoderStateMachine::mStartTime. r=jww CLOSED TREE (333b0e904)
- Bug 1172826 - remove unnecessary checks for MediaDecoderStateMachine::mPlaybackRate. r=kinetik. (98c32f91d)
- Bug 1143575. Rename AdvanceFrame to UpdateRenderedVideoFrames. r=cpearce (987617a9d)
- Bug 1172264 - Track the MDSM's duration as a TimeUnit and eliminate the separate concept of 'end time'. r=jww (49f8f2442)
- Bug 1172264 - Require Manual disconnection for all mirrors. r=jww (845e57496)
- Bug 1172264 - Switch MediaDecoder's mDuration represenation to a double. r=jww (dfde6482d)
- Bug 1172264 - Mirror duration from the MDSM to the MediaDecoder. r=jww (a744fd08f)
- Bug 1164463 - Clean up MediaManager shutdown to be reliable and avoid holding locks while Joining a thread. r=jib (636e2e5dc)
- missing part of Bug 1154389 - Stop leaking DeviceSuccessCallbackRunnable objects (2f8906119)
- Bug 1169665 - Have enumerateDevices return empty array on zero devices instead of fail. r=jesup (f83fcb269)
- Bug 1162720 - enumerateDevices visits main thread for profileDir. r=jesup (20687dcb7)
- Bug 1173255 - Cleanup MediaManager e10s code in prep for deviceId constraint. r=jesup (43496fe28)
- Bug 1172264 - Mirror duration from the MDSM to the MediaDecoderReader and remove MDSM::GetDuration. r=jww (369a3d1b4)
- Bug 1172264 - Route mExplicitDuration directly from the mediasource code to MediaDecoder, and stop passing an argument to DurationChanged. r=pending=jww (b429dfe41)
- Bug 1172264 - Watch mStateMachineDuration, and stop manually firing DurationChanged. r=jww (54091368c)
- Bug 1037389 - add support for deviceId in gUM constraints (merged 11 patches). r=smaug, r=jesup (bc6f9640d)
- Bug 1180748 - Unbreak building with --disable-webrtc. r=jesup (b5d53b666)
- CLOSED TREE. Bug 1174077 - send silence instead of nothing to the decoded stream in CORS case. r=roc. (cf576aac9)
- Bug 1177466 - Clean up places calling MaybeStartPlayback() in MediaDecoderStateMachine. r=cpearce (a2ef0f47b)
- Remaining of Bug 1168008 - Replace 'Consumer' with 'Request' in MediaPromise (4e77e4f42)
- bug 1137076 remove declaration of undefined OmxDecoder::ProcessCachedData() r=edwin (90ef83ee9)
- bug 1137076 mark some methods as private r=edwin (e9f4dd0a1)
- Bug 1173001 - Fix up some task queue naming to make MediaDecoderReader consistent with MDSM. r=jww (879b186ea)
- Bug 1173641 - Hoist shutdown promise resolution into a helper. r=jww (1a02bd90a)
- Bug 1173641 - Null out the thread pool when resolving shutdown. r=jww (ab3f723d5)
- Bug 1173641 - Remove now-unnecessary null-out in MediaDecoderReader::BreakCycles. r=jww (3330778c6)
- Bug 1173656 - Disallow TrackID reuse in TrackUnionStream. r=roc (7f4da1ea2)
- Bug 1175768 - Implement SilentReadAt. r=jya (ece3c2ffa)
- Bug 1178437 - Assert OnTaskQueue for most of the remaining MDSM methods. r=jww (da13ec549)
- Bug 1178437 - Remove ReadOnWrongThread. r=jww (f9cf8946d)
- Bug 1178437 - Dispatch SetFragmentEndTime. r=jww (740ce9882)
- Bug 1178437 - Make mRealTime const and allow it to be accessed on any thread. r=jww (a65c22f1f)
2021-05-01 11:29:34 +08:00
roytam1 2f3df18559 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1172264 - Mirror duration from the MDSM to the MediaDecoderReader and remove MDSM::GetDuration. r=jww (369a3d1b4)
- Bug 1172264 - Route mExplicitDuration directly from the mediasource code to MediaDecoder, and stop passing an argument to DurationChanged. r=pending=jww (b429dfe41)
- Bug 1172264 - Watch mStateMachineDuration, and stop manually firing DurationChanged. r=jww (54091368c)
- bug 1126065 - Make JS callers of ios.newChannel call ios.newChannel2 in dom/browser-element. r=sicking (8c38534ed)
- Bug 1144015 - (Browser API) mozbrowseropentab support. r=kchen (8b1eecb4e)
- Bug 1143650: Update webref failure links r=karlt (b3c94f173)
- Bug 1172264 - Mark WPT as succeeding. r=jya (664350c56)
- Bug 1141029 - Disabling mochitests on Mulet with parity to B2G Desktop for taskcluster. r=ahal (73bb186cb)
- Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal (0b71b6a05)
- Bug 1145407: Add mochitests that cause multiple tracks of the same type to be placed in the same remote stream. r=mt (263770e16)
- Bug 1148649: Reenable video multistream mochitests on debug e10s. r=drno (f7674fe4a)
- part of Bug 1094764 - Implement AudioContext.suspend and friends. @ (baa450713)
- Bug 1166803 - Add an `msg` tag to mochitest.ini in dom/media/*. r=jesup (5284df8b2)
- Bug 1166659 - Add mochitest tags for webaudio and webrtc. r=jesup, r=padenot (f5424f26f)
- Bug 1087551: updated tests around addIceCandidate(). r=jib (f28cde40b)
- Bug 1169338 - Part 1: Re-enable a subset of the webrtc mochitests on B2G emulator and Mulet. r=mt (9c0f8c2da)
- Bug 1143827 - remove default stun server. r=abr,bsmedberg (f1e306a95)
- Bug 1169338 - Part 2: Extend ICE timeouts since mochitests are frequently run on systems that are performance constrained. r=mt (da6147576)
- Bug 1155493 - Part 1: Add CaretStateChangedEvent and corresponding utility function. r=roc, sr=smaug (9d710ad21)
- Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond, a=RyanVM (8b76bca9f)
- Bug 1138252 - Load BrowserElementPanning.js only if touch events are enabled. r=botond (30f5f3197)
- Bug 1155493 - Part 2: Event hook for mozbrowser element. r=kanru (6f6db8248)
- Bug 1162844 - Add meta name="viewmode" to have configurable VR experiences. r=fabrice (07d6d0736)
- Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan (df0c37dfa)
- Bug 1179718 - Convert BrowserElement.webidl to use CheckAllPermissions. r=bz (4a92b2c7d)
- Bug 1147819 - Any media element should be stopped by the AudioChannelService when the window is destroyed, r=ehsan (e949db77f)
- Bug 1153915 - Null check the window in AudioChannelService::WindowDestroyedEnumerator(); r=baku (b38261d9d)
- Bug 1089526 - Change speaker state. r=baku (8dbf54b04)
- Bug 1157121 - Add speaker status checking. r=baku (ec5416680)
- Bug 1037389 - add support for deviceId in gUM constraints (merged 11 patches). r=smaug, r=jesup (bc6f9640d)
- Bug 1180748 - Unbreak building with --disable-webrtc. r=jesup (b5d53b666)
2021-04-08 11:18:21 +08:00
roytam1 3ea1cc0dd0 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj (034b6056f)
- Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj (38739377e)
- Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj (867725f77)
- Bug 1165515 - Part 7: Convert PR_LOG_DEBUG + 1 to PR_LOG_VERBOSE. rs=froydnj (afe55d0b8)
- Bug 1165515 - Part 8: Convert log level 6 to PR_LOG_VERBOSE. r=jesup (d01127f2c)
- Bug 1165515 - Part 9: Remove instances of using numeric log levels 15. rs=froydnj (2ff8b0056)
- Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr (a0334c607)
- Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup (ca57ae88a)
- Bug 1165515 - Part 12: Convert nsPluginLogging to use PR_LOG levels. r=bsmedberg (1f3226ca8)
- Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj (96db7f2e9)
- Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj (81d9dc8e5)
- fix some bustage after Bug 1165515 - Part 14, stuff missed in part 13 (80c83c78d)
- Bug 1165515 - Part 15: Reduce log level of WebRTC during testing. r=jesup (dda33e173)
2021-03-01 12:01:35 +08:00
roytam1 b6f6aa65fb import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj (342dfd711)
- Bug 1085567 - Fixup synth events within pointer lock implementation for e10s. r=billm (45c50a0e6)
- Bug 1128238 - Ajust NPP_SetWindow and synth native event coords to account for the chrome offset of remote tabs. Prior to this the content process always assumed the tab was the window origin. r=aklotz (202ffc006)
- Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt (5e98232bd)
- Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc (d0b345926)
- shuffle around (fcdc51510)
- Bug 1142852 P1 Fix NS_NewNonOwningRunnableMethodWithArgs() so that it compiles. r=froydnj (394d2b200)
- Bug 1142852 P2 Make Cache Action use non-threadsafe ref-counting. r=ehsan (0b2b91d86)
- Bug 1146349 - Allow NS_NewRunnableMethodWithArgs to take up to 8 arguments. r=froydnj (7207e74d0)
- Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug (e43579a1d)
- Bug 949614 - Use === for SimpleTest.is; r=Waldo (9f54faca4)
- Bug 1146349 - Update some widget tests to deal with async native key event synthesization. r=smaug,masayuki (f1e82df79)
- Bug 920013 - Rewrite test_cocoa_focus.html to use SpecialPowers. r=smichaud (8708d6a71)
- Bug 1146349 - Update DOM mochitests to deal with async native event synthesization. r=smaug (a4eceb9f6)
- Bug 1146349 - Update browser-chrome mochitests to deal with async native event synthesization. r=Gijs (c864ad939)
- Bug 1146349 - Wire up native event synthesization in child processes.  r=smaug (e8574457e)
- Bug 1146349 - Mark SynthesizedEventObserver::Observe() as override (9063f04b5)
- Bug 1149613 - Remove unneded field. r=botond (9aa7155e2)
- Bug 1153613 - [e10s], ensure the buffer for the drag image is large enough for SourceSurfaceRawData::GuaranteePersistance() to succeed, r=mattwoodrow (aa885dae7)
- remove spurious file (ff199d3ae)
- Bug 1043013 - Generalize nsIntRegion into a BaseIntRegion template. r=jrmuizel (9d3e02820)
- Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel (f73902921)
- Bug 1043013 - Use strongly-typed regions in HitTestingTreeNode. r=kats (7b8c8ae44)
- Bug 913443 - Remove mention of the word ThebesLayer in a comment. r=roc (e9706e025)
- Bug 913443 - Remove some #ifdefs. r=roc (da76f831b)
- Bug 913443 - Break up CreateOrRecyclePaintedLayer into more parts. r=roc (dd94560fe)
- Bug 913443 - Extract layer hint calculation. r=roc (5c7806a95)
- Bug 913443 - Break CreateOrRecyclePaintedLayer up even more. r=roc (9e5edab17)
- Bug 913443 - Remove unused aItemVisibleRect argument. r=roc (f3d1a5195)
- Bug 913443 - Move IsWidgetLayerManager() check out of UpdateCommonClipCount. r=roc (3be7b19a6)
- Bug 913443 - Change the order of these calls. r=roc (c7bc59fee)
- Bug 913443 - Add a display item buffer for PaintedLayerData so that we can assign items without needing to know the actual Layer. r=roc (674df6aa8)
- Bug 913443 - Delay PaintedLayer recycling until PopPaintedLayerData() r=roc (9d6de961a)
- Bug 913443 - When determining the layer to recycle, only consider layers that have display items in common with the layer we need. r=roc (3327c31c5)
- Bug 913443 - Recycle PaintedLayers as soon as possible. r=roc (37ef6d530)
- Bug 913443 - Remove duplicated argument variables. r=roc (19c5af270)
- Bug 1141408 - Don't include the display item's memory address in the profile label. r=BenWa (5bb1d73c1)
- Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa (85f4b28be)
- Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow (f47ed4383)
- Bug 1035611 - Part 2: Test to ensure that transformed rects crossing the w=0 plane are clipped correctly. r=mattwoodrow (5701b435f)
- Bug 1141089 - Add some release assertions to gather more data. r=roc (805c2994d)
- Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn (1efcaf164)
- Bug 1144307 - Destroy scroll info layer items when we're done with them. r=tn (3ffd3b1f2)
- Bug 1148855 - Mark some ContainerState methods as const. r=roc (791585baf)
- Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug (12316b65f)
- Bug 1148855 - Set overflow:hidden on scrollbar tracks so that layerization knows that the scrollbar thumb won't leave the scrollbar. r=roc (082ec87bf)
- Bug 1148855 - Intermediate state that unifies APZ and non-APZ layerization behavior somewhat. (3da45ab96)
- Bug 1148855 - Rework how display items are assigned to PaintedLayers and make it work the same way with and without APZ. r=roc (7258f9c90)
- Bug 913443 - Add some tests. r=roc (9977682da)
- Bug 1039926 - Add a test for not invalidating stuff inside mask layers. (1f8aef65e)
- Bug 1148855 - Add some tests. r=roc (2ba1f7f18)
- Bug 1148855 - Tweak reftest fuzziness. (a600be7d5)
- Bug 1151306 - Add a missing check during background color pulling. r=roc (b3a6c886b)
- Bug 1150774 (Part 1) - Add helpers to simplify using typed units in ConfigureLayer. r=botond (baecb2c2e)
- Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond (a79beb1fb)
- Bug 1141089 - Initialize DisplayItemData with a non-null mLayer, so that mLayer is non-null throughout the object's whole lifetime. r=roc (7c2f9eb09)
- Bug 1141089 - Remove unused DisplayItemData copy constructor. r=roc (ba5c46c45)
- Bug 1141089 - Add a few more MOZ_RELEASE_ASSERT(mLayer) checks, just for fun. r=roc (50a8f2db7)
- Bug 1141089 - Use const nsTArray* in all the places where we don't change the array's contents. r=roc (cd07a5bbd)
- Bug 1141089 - Turn these two assertions into release assertions. r=roc (71daf5ef3)
- Bug 1141089 - Check that we're unsetting sDestroyedFrame correctly. r=roc (6c7da67e7)
- Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond (ddab1c0ff)
- Bug 1144951. Warn if the result of ConvertAppUnits is unused. r=mats (e1d79c6ca)
- Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats (675c918c3)
- Bug 1149035 - Make nsXULPopupManager::PopupResized take a LayoutDeviceIntSize param instead of a unit-less nsIntSize. r=roc (eb9529af7)
- missing bit of Bug 1156110 - Make nsView::mWindow an nsCOMPtr; r=roc (972255b4f)
- Bug 1147706 - Warn if we don't use the result of const methods on BaseRect and its subclasses. r=tn (9e91deada)
- Bug 1152838 - Fix BaseRect::InflateToMultiple and move it to nsIntRect. r=mattwoodrow, r=jrmuizel (5a942df29)
- Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn (1379db5c7)
- Bug 1145167 - make imgIContainer::type getter infallible; r=seth (7b7091b89)
- Bug 1148213 - Implement image locking for VectorImage. r=dholbert (240e14cb3)
- Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel (76607ddc3)
- Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro (605bf34f6)
- Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro (cf3763879)
- Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas (78cdfee14)
- Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc (3d5644913)
2020-05-30 12:49:08 +08:00
roytam1 fdb63ff9b9 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj (9979c0e74)
-  Bug 1183972 - No sync-dispatch of new GMPParent - r=cpearce (93339b530)
- Bug 1142935 - reset transports with NuwaAddConstructor(). r=tlee (277406812)
- Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent) (3d0be2f87)
-  Bug 1121676 - Use static mutex to protect top-level protocols (r=bent) (4491dd318)
- Bug 1163201 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj (7de4b9a97)
- Bug 1163201 - Part 3: Remove mSamples in |MediaEngineWebRTCAudioSource|. r=cpeterson (452442773)
- Bug 1163201 - Part 4: Fix b2g build. r=bustage (a824ea36d)
- Bug 1165518 - Part 1: Add Logging.h. r=froydnj (09d68aaa6)
- Bug 1162850 - Don't stop looking for style sheet load finishes after the FontFaceSet gets a DOMContentLoaded. r=jdaggett (c29fbffa0)
- Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato (76239d7a0)
- Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame (2271bd7d0)
- Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt (5f5fd66c5)
- cleanup GetTableFromFontData() to match gecko code again (78076fc26)
- Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt (6a7631e44)
- Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame (b25360708)
- Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame (efa8f5080)
- Bug 1056479 p5 - fixup printpreview test. r=jfkthame (3fe2ddc0b)
- Bug 1056479 p6 - handle font updates. r=jfkthame (eb78b2c54)
- Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato (f5e9f539e)
- Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt (4da146b50)
- Bug 1056479 p9 - fix build bustage. r=birtles (28f246c2b)
- Bug 1056479 p10 - activate bundled fonts. r=m_kato (d7627c3fa)
- Bug 1056479 p10 - activate bundled fonts. r=m_kato (251c02315)
- Bug 1056479 followup: Annotate gfxPlatformGtk::CreatePlatformFontList() as 'override'. rs=ehsan (993e65d6e)
2020-05-30 12:49:03 +08:00
trav90 6f43165820 [MSE] Do not attempt to retrieve the buffered range if the mediasource is in closed state.
The commits that follow may cause the active sourcebuffer list to be modified; which will trigger an assertion if the mediasource object is closed.
2018-07-25 09:41:08 +08:00
trav90 9b6bcfe340 Don't immediately fire canplaythrough for streams without duration
Such as live streams, etc.
2018-07-25 09:26:30 +08:00
trav90 a4f973e65f [MSE] Determine when canplaythrough can be fired
It's assumed that if we have 30 seconds of data buffered ahead of the current position or up to the element's duration that we can play ahead without interruption.
2018-07-25 09:26:16 +08:00
trav90 3d4e289c51 [MSE] Enable NextFrameBufferedStatus() for MediaSourceDecoder
We require a slightly variation on the default implementation as MSE allows for gaps of up to 125ms between samples but often videos do not start with a time of 0.
2018-07-25 09:26:08 +08:00
trav90 cf3312970e Track explicit (MSE) duration separately 2018-07-25 07:49:43 +08:00
trav90 30a4725667 Make MediaDecoder::DurationChanged take a duration argument rather than reading it back synchronously from the MDSM 2018-07-25 07:49:36 +08:00
trav90 ddb67d627b Remove unused codepath for off-main-thread MediaSource duration change 2018-07-25 07:49:29 +08:00
trav90 f25dcba94a [MSE] Add support for live seekable attribute
See https://github.com/w3c/media-source/issues/5
2018-07-25 07:40:35 +08:00
trav90 b9b9a57ad8 Fix GCC warnings 2018-07-25 07:16:43 +08:00
trav90 e3806f3aac Fix shutdown hang with new MSE code 2018-07-25 07:16:37 +08:00
trav90 163dbeb72a Add MediaSourceDemuxer object
Disabled by default. Set the "media.mediasource.format-reader" pref to true to use.
2018-07-25 07:16:01 +08:00
trav90 04513e7957 Force state machine setting to go through a setter
This is needed so that we can hook up the state mirroring in a subsequent commit.
2018-07-25 07:03:32 +08:00
trav90 76b511a3e5 Fix HTMLMediaElement::seekable attribute for Mediasource
Interval is to start from 0 when duration is +infinity
2018-07-25 07:02:07 +08:00
trav90 be2f742b0a Fix typo 2018-07-25 01:27:38 +08:00
trav90 b20b8dadab Replace dom::TimeRanges with TimeIntervals object 2018-07-25 01:27:34 +08:00
wolfbeast 02112270b5 Remove EME (Encrypted Media Extensions) DRM support.
This resolves #102.
2018-07-24 23:32:00 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00