9a7debda755d22df58bffe5132d7ec47ad5447b1: Bug 1368839 - Add av1 to MediaSource.isTypeSupported. r=gerald
Ralph Giles <giles@mozilla.com> - Tue, 30 May 2017 16:37:20 -0700 - rev 412206
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368839 - Add av1 to MediaSource.isTypeSupported. r=gerald When av1 video playback is enabled, declare it as supported in the webm container in MediaSource.IsTypeSupported. Also support special mime types of the form video/webm; codecs=vp9.experimental.<git-commit-id> so test sites can verify playback support of particular encodings while the av1 bitstream is under development. MozReview-Commit-ID: GS4n7cPxfQ7
d96110d766199d42524558fd83e6467906de4daf: Bug 1368382. P4 - move mCompletionPromise down the class hierarchy so it can store a different promise type. r=gerald
JW Wang <jwwang@mozilla.com> - Thu, 25 May 2017 17:35:47 +0800 - rev 412205
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368382. P4 - move mCompletionPromise down the class hierarchy so it can store a different promise type. r=gerald MozReview-Commit-ID: 4beSwBzN8b3
aa971939802838b324623e709034c09346006c21: Bug 1368382. P3 - remove 2 overloads of Then() using variadic template. r=gerald
JW Wang <jwwang@mozilla.com> - Wed, 31 May 2017 16:10:17 +0800 - rev 412204
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368382. P3 - remove 2 overloads of Then() using variadic template. r=gerald MozReview-Commit-ID: 9KzYGnrFoQN
a6df0f5e3000f7992c9cf4e0161887a8f465a906: Bug 1368382. P2 - let ThenCommand reference the sub-type of ThenValueBase. r=gerald
JW Wang <jwwang@mozilla.com> - Wed, 31 May 2017 15:23:43 +0800 - rev 412203
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368382. P2 - let ThenCommand reference the sub-type of ThenValueBase. r=gerald Since we will store mCompletionPromise in the sub-class of ThenValueBase, ThenCommand needs to reference the sub-type in order to access mCompletionPromise. MozReview-Commit-ID: BUi7jElOhP7
f143a22591fa3f095c2b01c63937417f46826eff: Bug 1368382. P1 - rename and make MethodThenValue/FunctionValue specializations of ThenValue<>. r=gerald
JW Wang <jwwang@mozilla.com> - Wed, 31 May 2017 07:44:53 +0800 - rev 412202
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368382. P1 - rename and make MethodThenValue/FunctionValue specializations of ThenValue<>. r=gerald This allows us to remove 2 overloads of MozPromise::Then() using variadic template. MozReview-Commit-ID: 5LHwDhIhh8e
843cd9454b8e37200471827f192e3a406c126b69: Bug 1348932 - (be) Search engine set up for Firefox Mobile for Belarusian, r=flod
Delphine Lebédel <dlebedel@mozilla.com> - Wed, 31 May 2017 16:21:20 -0700 - rev 412201
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1348932 - (be) Search engine set up for Firefox Mobile for Belarusian, r=flod MozReview-Commit-ID: KlNXwdnyPe8
9d84b3d85bbcad165660eb149744b260b2108862: bug 1341186 don't treat synth mouse moves as pending user input r=bz
Karl Tomlinson <karlt+@karlt.net> - Mon, 13 Feb 2017 15:08:14 +1300 - rev 412200
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
bug 1341186 don't treat synth mouse moves as pending user input r=bz Synth mouse move events are triggered by layout changes, which should not interrupt reflow. MozReview-Commit-ID: 5VFJFOXH3BB
30a1c114fe232099815361fbef331468abf44041: Bug 1368837 - Convert printfs into MOZ_LOG(MediaResourceIndex) - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Tue, 30 May 2017 14:12:38 +1200 - rev 412199
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - Convert printfs into MOZ_LOG(MediaResourceIndex) - r=cpearce MozReview-Commit-ID: Bhi1vxDPwDV
cc5eaeefd44520822edf91a49355d354d6f38ad5: Bug 1368837 - Replace debugging ReadAt with CachedReadAt code - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Mon, 29 May 2017 13:36:27 +1200 - rev 412198
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - Replace debugging ReadAt with CachedReadAt code - r=cpearce MozReview-Commit-ID: 88j9oAPdI0w
b3dff4b28a95446bdae8c91e15ec1a5b5ab5b6c7: Bug 1368837 - media.cache.resource-index controls the MediaResourceIndex cache size - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Tue, 30 May 2017 21:43:28 +1200 - rev 412197
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - media.cache.resource-index controls the MediaResourceIndex cache size - r=cpearce 8KB by default, otherwise using the next power of two from the given media.cache.resource-index (but staying within 32B-128KB). '0' means we don't want to use caching. MozReview-Commit-ID: 8LmS15Ft2MA
b9d2d284df0d2224049140932cf0e4d9fe2f702d: Bug 1368837 - MediaResourceIndex::ReadAt tries to cache last-read block - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Tue, 30 May 2017 14:59:30 +1200 - rev 412196
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - MediaResourceIndex::ReadAt tries to cache last-read block - r=cpearce This is the core of this bug: - We try to read past the end of the requested range, and save a block-full of cached data. ("Block" is a memory range, with an alignment and size being a power of two, to match existing caching happening in MediaCache and FileBlockCache, and to play nice with the memory allocator.) - If part of a requested read touches the existing cache, we can just read from the cache, which means we don't involve any of the locking and IOs that normal reads use. The small extra work needed to cache more data in some reads is largely offset by all the lock&IO-heavy reads that we can subsequently avoid. UncachedReadAt, which is used internally by CachedReadAt, is left public because it could be useful if the caller knows for sure that a particular read is isolated. (Note: The printfs, and comparison code in ReadAt, will be removed in later patches. Also the block size will be later controlled by a pref.) MozReview-Commit-ID: GFiaP5Io7Hf
9b1ef0d8d9605c49a7a96214107be59d94a227dd: Bug 1368837 - WaveTrackDemuxer should copy the MediaResource* instead of a whole MediaResourceIndex - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Tue, 30 May 2017 21:42:22 +1200 - rev 412195
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - WaveTrackDemuxer should copy the MediaResource* instead of a whole MediaResourceIndex - r=cpearce When the WaveTrackDemuxer is given a MediaResourceIndex, it's only really interested in the MediaResource pointer, so we should just pass that, and WaveTrackDemuxer can construct its own MediaResourceIndex from it. Also, MediaResourceIndex will become non-copyable soon. MozReview-Commit-ID: H0VGSxpAGkP
2f9a486c2dbbfce70a97ea9ae2832ed9fac0f266: Bug 1368837 - MockMediaResource should fread individual bytes - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Fri, 26 May 2017 15:15:14 +1200 - rev 412194
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - MockMediaResource should fread individual bytes - r=cpearce `fread(buf, count, 1, f)` meant that exactly one object of size `count` could be read. Changing that to `fread(buf, 1, count, f)` now reads up to `count` size-1 objects (aka bytes) up to `count` and returns that number of bytes read, which is usually what we want from a read, i.e. as much as possible even if it's less than requested. MozReview-Commit-ID: 3Lgvws19SFd
a341e170f306d01a9ade7eba3158edfe1c50995c: Bug 1368837 - MockMediaResource::GetCachedDataEnd should return the offset if out of range - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Mon, 29 May 2017 15:13:15 +1200 - rev 412193
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - MockMediaResource::GetCachedDataEnd should return the offset if out of range - r=cpearce If the requested cached-data offset is out of range, we should just return the same offset, as it signals that the actual cached range is 0 bytes, without having to deal with -1. MozReview-Commit-ID: D0rXO0S0mss
d7836ae27b65d4e511d3bf047380e1fb83124002: Bug 1368837 - Implement SourceBufferResource::GetCachedDataEnd - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Mon, 29 May 2017 14:51:08 +1200 - rev 412192
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - Implement SourceBufferResource::GetCachedDataEnd - r=cpearce MediaResourceIndex caching requires GetCachedDataEnd and ReadFromCache. Implementing SourceBufferResource::GetCachedDataEnd is trivial, as it's just a buffer from 0 to GetLength(), so if the requested cached-data offset is inside the buffer, we can just return the total length as known cached data. MozReview-Commit-ID: 1DO0PzDnjQp
e38d5530bf2b18ee63a7b3a1f7633376a0ce0969: Bug 1368837 - BufferMediaResource::GetCachedDataEnd should return aOffset when out of cache - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Thu, 01 Jun 2017 11:30:14 +1200 - rev 412191
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - BufferMediaResource::GetCachedDataEnd should return aOffset when out of cache - r=cpearce MozReview-Commit-ID: 6EEXSUxShLp
7a404b72b9b8f89046938755e17c17de333dfdf5: Bug 1368837 - Document that MediaResource::GetCachedDataEnd should return aOffset when out of cache - r=cpearce
Gerald Squelart <gsquelart@mozilla.com> - Thu, 01 Jun 2017 11:29:49 +1200 - rev 412190
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368837 - Document that MediaResource::GetCachedDataEnd should return aOffset when out of cache - r=cpearce MozReview-Commit-ID: JKeuEAjIRxr
d2e141768c617d8e45c89d1f55e1f5659fefc5e3: Bug 1353029 - Pass PdfJs.enabled into child on change r=bdahl
Doug Thayer <dothayer@mozilla.com> - Tue, 30 May 2017 16:34:53 -0700 - rev 412189
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1353029 - Pass PdfJs.enabled into child on change r=bdahl isDefaultHandler in PdfJs.jsm appears to only be called on startup and when the settings for pdfs (either the pref or the setting in about:preferences) are changed. During startup, it's only the parent process which makes this call, which it uses to conditionally load a script in the content process. On change, the parent process controls notifying the content process, so it can simply pass along the enabled boolean. This change simply shifts to pass this boolean along to the child, and adds some guards to assert that we're only checking the actual values in the parent process. MozReview-Commit-ID: 9JSEJqHR2Ni
bc5283bd5f85f9de1c17a2d86c1a0a7eec48dce1: Bug 1368932 - Add a testcase for a replace-malloc library that doesn't implement all functions. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Wed, 31 May 2017 15:04:32 +0900 - rev 412188
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368932 - Add a testcase for a replace-malloc library that doesn't implement all functions. r=njn
4bd3eb1b5f3761565871f226e80c4b158defdf48: Bug 1368932 - Handle missing replace_posix_memalign at the replace-malloc level. r=njn
Mike Hommey <mh+mozilla@glandium.org> - Wed, 31 May 2017 13:47:17 +0900 - rev 412187
Push 1490 by mtabara@mozilla.com at Mon, 31 Jul 2017 14:08:16 +0000
Bug 1368932 - Handle missing replace_posix_memalign at the replace-malloc level. r=njn Replace-malloc libraries, such as DMD, don't really need to care about the details of implementing all the variants of aligned memory allocation functions. Currently, by defining MOZ_REPLACE_ONLY_MEMALIGN before including replace_malloc.h, they get predefined functions. Instead of making that an opt-in at build time, we make the replace-malloc initialization just fill the replace-malloc malloc_table_t with implementations that rely on the replace_memalign the library provides.
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip