Commit Graph

214880 Commits

Author SHA1 Message Date
Bobby Holley
6b0f6dc55f Bug 1091008 - Reimplement HasLowUndecodedData in terms of GetBuffered. r=cpearce
Since GetBuffered now has a sane implementation for MSE, this should
make this function sane for MSE as well.
2014-11-11 20:50:21 -08:00
Bobby Holley
c2ce46072f Bug 1091008 - Remove special handling for MSE in HTMLMediaElement::Buffered. r=cajbir
The same code will now be reached by invoking this method on the decoder.
2014-11-11 20:50:21 -08:00
Bobby Holley
d114248ee6 Bug 1091008 - Implement a sensible GetBuffered override for MediaSourceReader using the existing GetBuffered on MediaSource. r=cajbir 2014-11-11 20:50:21 -08:00
Bobby Holley
a8b29b832b Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-11 20:50:21 -08:00
Bobby Holley
bb3c4d25f1 Bug 1091008 - Teach MediaDecoderReader about its start time. r=cpearce
Duplicating state is never great, but this lets the reader make calculations
using this immutable state variable without involving the state machine. We
could alternatively punch a hole from MediaDecoderReader to
MediaDecoderStateMachine and access it there, but that would create tighter
coupling, and weird relationships for MSE.
2014-11-11 20:50:20 -08:00
Bobby Holley
36a9fb4e35 Bug 1091008 - Make sure to always set mStartTime via SetStartTime. r=cpearce 2014-11-11 20:50:20 -08:00
Bobby Holley
882a2e8acd Bug 1091008 - Factor out IsDataCachedToEndOfResource() into a higher-level question and answer it sensibly for MSE. r=cpearce 2014-11-11 20:50:20 -08:00
David Major
b8f2362dd9 Backed out changeset 8a4595cc5ec4 for Linux build failure on a CLOESD TREE
just kidding it's a CLOSED TREE

--HG--
extra : rebase_source : 163a9bff0ad836095057d5911b792c34517d14cc
2014-11-12 17:19:15 +13:00
Chris Double
88a86034eb Backout 471009c10ae0 for web platform test failure on CLOSED TREE 2014-11-12 17:13:10 +13:00
Chris Double
ac68c94749 Backout 39fcd286ce68 for web platform test failure 2014-11-12 17:12:16 +13:00
Georg Fritzsche
73d6531879 Bug 1096785 - Add Telemetry::Accumulate() for keyed histograms. r=froydnj 2014-11-11 11:45:40 +07:00
David Major
da3daae259 Bug 1097283: Fix count/byte mismatches in NS_ABORT_OOM calls. r=froydnj
--HG--
extra : rebase_source : b24e0b9d2e491ace3c045ee6b01e36b33c3ac21d
2014-11-12 15:42:53 +13:00
Xidorn Quan
ba90088e5a Bug 1088489 - Meet the specification for pseudo ruby box generation. r=bz 2014-11-12 14:44:36 +11:00
Anthony Jones
20feb4c8fb Bug 1096157 - Add IsMediaSegmentPresent() for MP4; r=mattwoodrow 2014-11-12 16:37:43 +13:00
Anthony Jones
555c56f542 Bug 1092095 - Support MP4 seeking without sidx; r=edwin 2014-11-12 16:37:42 +13:00
Matthew Gregan
c374991120 Back out bug 1096748 (849a71ebcf66) due to test passing on a CLOSED TREE 2014-11-12 16:21:52 +13:00
Shawn Huang
9bce597139 Bug 1096194 - Responding Enhanced call control with ERROR if enhanced call control is not supported, r=btian 2014-11-12 11:15:21 +08:00
Karl Tomlinson
e04362ca98 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Chris Double
2fb56f7879 Bug 1065215 - Fix EME test for changes to MediaSource::endOfStream - r=cpearce 2014-11-12 15:53:47 +13:00
Chris Double
1078731c5e Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karl
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource. Only run the Range Removal algorithm when MediaSource
duration is changed instead of calling Remove on SourceBuffers.
Updates tests for the fact that update{start,end} can now be called more than once due to DurationChange.
2014-11-12 15:53:43 +13:00
Karl Tomlinson
8395221632 bug 1096131 clarify docs for LayoutDevicePixels and LayerPixels r=kats f=tn
--HG--
extra : rebase_source : c2e854a7af06abbfcd9bb95fef3ac241472b88b5
2014-11-08 12:39:42 +13:00
Karl Tomlinson
b61db0deda bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson
b797bb333d bug 1096132 rename UpdateScaledAppUnits() to UpdateAppUnitsForFullZoom() r=tn
--HG--
extra : rebase_source : ec70af284ea91d28e6f66b487c7a543a1d93c7cc
2014-11-08 17:30:15 +13:00
Karl Tomlinson
1085e66407 bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Chris Double ext:(%20with%20tweaks%20by%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
ff5415dbf5 Bug 1089937 Add a fuzz time to end times for MSE reader switching on EOS r=karl,mattwoodrow
mLast{Audio,Video}Time differs from the actual end time because of
Bug 1065207 - the duration of a WebM fragment is an estimate not the
actual duration. In the case of audio time an example of where they
differ would be the actual sample duration being small but the
previous sample being large. The buffered end time uses that last
sample duration as an estimate of the end time duration giving an end
time that is greater than mLastAudioTime, which is the actual sample
end time.

Reader switching is based on the buffered end time though so we can't use
the actual sample end time for switching comparison.

For this reason we use the end time from the buffers to compare if we
should switch readers in this patch. We also add an EOS_FUZZ_US to allow
for the fact that it is an estimate and can differ slightly from actual times.

--HG--
extra : rebase_source : 47149609119c5dcd1ca7374501dd7c1e285469ef
2014-11-12 12:12:21 +13:00
Matthew Gregan
a14a83ab0f Bug 1096750 - use getPlayableVideos in test_video_in_audio_element. 2014-11-12 15:39:46 +13:00
Matthew Gregan
6fd7d02c5d Bug 1096721 - Simplify nestegg-stdint.h. r=cajbir 2014-11-11 14:35:08 +13:00
Matthew Gregan
ff40bc4409 Bug 1096748 - Mark audio_has_no_subtitles web-platform test as expected to timeout. r=cpearce 2014-11-11 15:48:14 +13:00
Matthew Gregan
fb84352191 Bug 1096750 - Expect error event in test_video_in_audio_element if used with video-only media. r=cpearce 2014-11-11 15:52:37 +13:00
Chris Peterson
db947d8d0f Bug 1095867 - Fix nsDeviceSensors.cpp typo and remove obsolete comment. r=dougt 2014-11-07 20:48:38 -08:00
Chris Peterson
e6c7b0c3e3 Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop 2014-11-08 00:41:17 -08:00
Chris Peterson
c7a751ecda Bug 1095882 - Suppress MSVC warnings in third-party code: toolkit/components/protobuf. r=Mossop 2014-11-08 00:28:21 -08:00
Seth Fowler
f72fd5c619 Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Jeff Gilbert
8288e5dae0 Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish 2014-11-05 15:04:55 -08:00
Wes Kocher
627563bda6 Merge m-c to inbound a=merge CLOSED TREE 2014-11-11 18:07:10 -08:00
Wes Kocher
a4af66daa6 Merge b2g-inbound to m-c a=merge 2014-11-11 18:03:56 -08:00
Edwin Flores
c08ed340f9 Bug 1075182 - Bump expected assertion count in test_bug437844.xul on a CLOSED TREE - r=intermittent 2014-11-12 13:52:02 +13:00
Blake Kaplan
3a8bd73e70 Bug 1088457 followup -- fix b2g's build. CLOSED TREE 2014-11-11 16:27:12 -08:00
Nicholas Nethercote
c4a297b071 Bug 1096624 - Use a SegmentedArray in nsCycleCollector::CollectWhite. r=smaug.
This patch does the following.

- Moves the logic for computing the ideal capacity for a SegmentedArray out of
  SnowWhiteKiller into its own class, SegmentedArrayCapacity.

- Replaces the nsTArray in CollectWhite(), which can be very large and is
  complicit in ~1% of OOM crashes, with a SegmentedArray.

--HG--
extra : rebase_source : 732743311a08fcc3dfe43a1b308846b93d30e6ed
2014-11-11 16:02:34 -08:00
Bobby Holley
ee109a0ea9 Bug 1096526 - Don't look for a structured formatter for buffering_on/buffering_off. r=jmaher 2014-11-11 16:11:25 -08:00
L. David Baron
3771d286c3 Bug 1087541 - Make RuleNodeWithReplacement handle animations and transitions like RulesMatching codepath does. r=birtles
I originally wrote this to see if it would fix bug 1086937, but it
didn't.

Note that this conflicts a bit with the patch in bug 1085769; whoever
lands second will have some merging (though it shouldn't be difficult).

The updating of the style rule is needed as part of the animation-only
style update, but it shouldn't be in the general restyling code, so it
has moved there.
2014-11-11 15:42:57 -08:00
B2G Bumper Bot
2d4cce8292 Bumping manifests a=b2g-bump 2014-11-11 15:32:46 -08:00
Jason Duell
27c5ec71fa Bug 1087182 - Only send Prefer:Safe header if Web Filtering is on (Windows-only) r=dougt 2014-11-11 15:17:37 -08:00
Lucas Rocha
10785dee6c Bug 1093621 - Enable new tablet UI by default in Nightly (r=mcomella) 2014-11-11 23:12:56 +00:00
Lucas Rocha
146dc3ce62 Bug 1097316 - Make tab strip smaller to workaround talos issues (r=mcomella) 2014-11-11 23:12:55 +00:00
Tim Nguyen
9f22e3f850 Bug 1097236 - Make -moz-image-region override for .searchbar-dropmarker-image.patch specific to dark theme. r=bgrins 2014-11-11 15:09:24 -08:00
Blake Kaplan
ba9158bfcd bug 1092163 - Allow e10s to be enabled with tracking protection. r=blassey 2014-11-11 15:05:55 -08:00
Blake Kaplan
8b340eb71b Bug 1088457 - Make nsChannelClassifier deal properly with e10s. r=mmc/sworkman 2014-11-11 15:05:55 -08:00
Blake Kaplan
f3b7cf8d3f Bug 1096530 - Make sure we notify our listener if we were canceled before we redirected. r=mcmanus 2014-11-11 15:05:55 -08:00
Brian Grinstead
c0e46e7fdf Bug 1096542 - Fix tab bar jitters in devedition caused by small tabCurve values;r=MattN 2014-11-11 14:37:22 -08:00