Commit Graph

33831 Commits

Author SHA1 Message Date
L. David Baron
916454e5cd Bug 977991 patch 6 - Use the faster eRestyle_StyleAttribute path for style attribute changes. r=birtles 2014-09-13 06:17:37 -07:00
L. David Baron
1f9790d467 Bug 1057231 patch 4 - Move SVG Attribute Animation rules from the pres hint level to their own cascade level. r=dholbert
This is only a very slight reordering of their position in the cascade,
since they were previously walked at the end of
nsSVGElement::WalkContentStyleRules, which was called near the end of
nsHTMLStyleSheet::RulesMatching.  So the only change should be that they
now take priority over the xml:lang rule added by nsHTMLStyleSheet, a
rule with which they do not interact.
2014-09-13 06:17:35 -07:00
L. David Baron
0901b41cd7 Bug 1057231 patch 2 - Add SVG Attribute Animation rule processor to the document. r=dholbert 2014-09-13 06:17:35 -07:00
Bobby Holley
fae198c443 Bug 1052096 - Tests. r=billm 2014-09-12 17:41:19 -07:00
JW Wang
2077921d08 Bug 1065913 - Remove event listeners to avoid running tests after calling SimpleTest.finish(). r=kinetik 2014-09-11 18:25:00 -04:00
Bruce Sun
704d19d99b Bug 1064376 - Video playback fails if the used audio codec is offline-playback supported. r=roc, r=vasanth 2014-09-12 15:35:19 +08:00
Andre Natal
7be3deda65 Bug 1051118 - Pass the sample rate of captured audio to speech recognition services. r=smaug 2014-09-11 10:47:00 -04:00
JW Wang
2dbcc0efd9 Bug 707777 - Rewrite test_bug493187.html to check readyState >= HAVE_FUTURE_DATA after seeking. r=roc 2014-09-11 01:24:00 -04:00
Paul Adenot
34e981d674 Bug 1064117: Stop GraphDriver always in Shutdown r=jesup 2014-09-10 15:20:34 +02:00
Jim Mathies
041794c1f3 Bug 1060738 - Switch to using chromium's Thread/tasks in MediaManager. On Windows, use MessagePumpForNonMainUIThreads for the background media thread. r=jesup 2014-09-12 09:49:39 -05:00
Paul Adenot
b6bff27b3d Bug 1059899 - When cubeb_stream_init fails, fallback to using a SystemClockDriver. r=jesup 2014-09-12 13:22:55 +02:00
Carsten "Tomcat" Book
a447136c23 Backed out changeset 408273e953e9 (bug 886194) for test failures 2014-09-12 10:39:46 +02:00
Alexandre Lissy
e5a303a93b Bug 1066044 - Make Mochitest pass on Mulet r=jmaher,ochameau
To get Mochitest green with Mulet, we need to disable a couple more of
tests. We also need to disable the crash on non local connections, as it
is being done for runtestsb2g.
2014-09-11 22:59:00 +02:00
Jean-Yves Avenard
a4f1eff761 Bug 886194 - Add MediaSource support to HTMLMediaElement.mozSrcObject. r=smaug r=roc 2014-09-08 10:24:30 +10:00
Phil Ringnalda
a3e70e9ba0 Backed out 2 changesets (bug 1065855) for failing their freshly-landed test
CLOSED TREE

Backed out changeset 2605dfc0996d (bug 1065855)
Backed out changeset 8a945498a0e4 (bug 1065855)
2014-09-11 21:55:13 -07:00
Chris Double
2f6512bfcb Bug 1065855 - Tests for MediaSource seekable range 2014-09-12 14:07:06 +12:00
Chris Double
23c6560371 Bug 1065855 - Ignore updating check when setting MediaSource Duration within a SourceBuffer append - r=kinetik 2014-09-12 14:07:02 +12:00
Ryan VanderMeulen
283ce21d17 Backed out changeset 3afb6445a73c (bug 1066044) for B2G desktop mochitest perma-fail. 2014-09-11 20:38:06 -04:00
Alexandre Lissy
d72a0e1df7 Bug 1066044 - Make Mochitest pass on Mulet. r=jmaher, r=ochameau
To get Mochitest green with Mulet, we need to disable a couple more of
tests. We also need to disable the crash on non local connections, as it
is being done for runtestsb2g.
2014-09-11 07:37:00 -04:00
Bruce Sun
ad467d66d7 Bug 1039182 - Add GraphicBuffer interface into MediaCodecProxy. r=sotaro 2014-09-11 10:15:17 +08:00
Matthew Gregan
0f85a12a74 Bug 1062666 - Add a debug-only dump method to MediaSource for debugging issues with appended data. r=cajbir 2014-09-12 10:47:06 +12:00
Jason Orendorff
68b38c7094 Bug 918828, part 2 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=nbp.
--HG--
extra : rebase_source : 529d0cd48cd1993cd8cc648ac385ca12342ecfd1
2014-07-01 21:01:21 -05:00
Vincent Liu
c5a482b3d8 Bug 1067718 - Fix typo error for Pixel Convert in WebRTC. r=jesup 2014-09-16 10:58:15 +08:00
Jonathan Kew
50b0ff2a5d bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Carsten "Tomcat" Book
cde8159f8a Backed out changeset 170ce237e4a0 (bug 1064705) for Android m5 Test failures 2014-09-16 10:58:01 +02:00
Carsten "Tomcat" Book
637b5eb38d Backed out changeset d462269d88a9 (bug 1065855) for Android M5 Test failures 2014-09-16 10:57:46 +02:00
Chris Pearce
539446b6e2 Bug 1067744 - Fix build bustage in e8a1c2b11f71, and actually make the monitor re-entrant. r=bustage. 2014-09-16 20:38:21 +12:00
Chris Pearce
2ae2c66eee Bug 1062277 - Ensure calls to IMFTransform::ProcessMessage() pass 64bit pointer values on 64bit builds. r=edwin 2014-09-16 20:16:14 +12:00
Chris Pearce
c361f689b8 Bug 1067744 - Make GMPMutex reentrant. r=jesup 2014-09-16 20:15:14 +12:00
Makoto Kato
e9c521fe08 Bug 1064127 - Support audio/3gpp for non-web content. r=roc 2014-09-16 17:07:15 +09:00
Randy Lin
8bd1f32757 Bug 1039901 - Enable the mp3 test on test_playback.html. r=jwwang 2014-09-15 17:08:48 +08:00
Randy Lin
458619e11c Bug 1039901 - Part 1. MP3FrameParser sometimes gives wrong duration on B2G. Move the ProcessCacheData function from OmxDecoder to MediaOmxReader. r=edwin. 2014-09-15 17:08:48 +08:00
JW Wang
eff47d926f Bug 962871 - enable media mochitests on B2G debug and disable some failed tests. r=cpearce 2014-09-14 23:35:00 +02:00
JW Wang
2eaf129872 Bug 962871 - release decoder and set 'preload' as appropriate. r=cpearce 2014-09-14 23:34:00 +02:00
JW Wang
ed6872d27b Bug 962871 - Don't run GC/CC in-between tests for it is very slow and causes timeout on B2G debug. r=cpearce 2014-09-14 23:29:00 +02:00
Chris Double
a2c0d714f6 Bug 1065855 - Tests for MediaSource seekable range - r=kinetik
--HG--
extra : rebase_source : 01d29379c8e4541c72f6fcd186506ba4e9d3f28c
2014-09-16 15:16:02 +12:00
Chris Double
d08fafcdce Bug 1065855 - Check for waiting media resources before calling ReadMetadata - r=cpearce
--HG--
extra : rebase_source : 45022c3d553e82e098908af7682cf241593b57f9
2014-09-16 15:15:58 +12:00
Chris Double
11e6abb95f Bug 1065855 - Ignore updating check when setting MediaSource Duration within a SourceBuffer append - r=kinetik
--HG--
extra : rebase_source : baa31fd9d380ebf6765adb5ce89848c6dd3f4241
2014-09-16 15:15:55 +12:00
Matthew Gregan
54b218302a Bug 1065235 - Make the SourceBuffer eviction threshold a hidden pref. r=cajbir
--HG--
extra : rebase_source : 7c22907cc774440f599cd972792d6d55a50151a2
2014-09-09 21:39:00 +12:00
Matthew Gregan
c56b93ea7b Bug 1065235 - Apply eviction to all decoders owned by TrackBuffer and make EvictData threshold apply per-TrackBuffer rather than per-decoder. r=cajbir
--HG--
extra : rebase_source : f4ea425c9adeece7b37a4966131a1b566377add7
2014-09-09 21:12:00 +12:00
Matthew Gregan
d94484630e Bug 1067414 - Use atomic storage for sPreferredSampleRate. r=jesup
--HG--
extra : rebase_source : 80913b082536bc29cfa8a20af4fd0f3277dd5a36
2014-09-15 18:10:00 +12:00
Matthew Gregan
e2c1465f2d Bug 1067414 - Convert CubebUtils from a class of statics to a namespace. r=jesup
--HG--
extra : rebase_source : 14c9e6709d5cc4fe978ee7ccc6d4f1988c09dd73
2014-09-15 18:09:00 +12:00
Tom Schuster
e9184faa0c Bug 1065574 - Remove UserDataHandler. r=smaug f=bz 2014-09-11 12:22:30 +02:00
Jonathan Watt
93e59c8bd5 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Matthew Gregan
a69549cef2 Backed out changeset b3f02eb02208 (bug 1062666) due to build bustage 2014-09-11 16:42:00 +12:00
Matthew Gregan
ccaaf32a87 Bug 1062666 - Add a debug-only dump method to MediaSource for debugging issues with appended data. 2014-09-09 17:58:18 +12:00
Anthony Jones
8333148a72 Bug 1061079 - Handle misaligned SourceBuffer appends for MP4; r=kinetik 2014-09-11 15:57:35 +12:00
Andrew McCreight
fa8a767c0c Bug 1065049 - Enable logging of GMP process name. r=jesup 2014-09-10 14:52:36 -07:00
Andrew McCreight
917eda1a08 Bug 1058903 - Ignore the GMPService shutdown assert, because it always fails. r=jesup
This is failing all the time right now, but we never reach the assert due to crashing earlier.

To allow us to get e10s shutdown leak checking working, ignore this assertion until GMPService is
fixed for e10s.
2014-09-10 14:52:36 -07:00
Jonathan Watt
423fda249a Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Max Vujovic
c27fa82d99 Bug 1058807 - Remove nsIFrame include from nsSVGFilterInstance.h. r=mstange 2014-09-10 10:26:49 -07:00
Mats Palmgren
ef096a7e5d Bug 739396 - Tests. 2014-09-10 17:07:36 +00:00
Mats Palmgren
1ae9903d62 Bug 739396, part 1 - Split a range (that are to be added to the Selection as a result of a user action) into multiple ranges that excludes any non-selectable (-moz-user-select:none) sub-trees. 2014-09-10 17:07:36 +00:00
Ryan VanderMeulen
0e562f96b9 Backed out 3 changesets (bug 739396) for Mulet perma-fail on a CLOSED TREE.
Backed out changeset 299911e6983b (bug 739396)
Backed out changeset de11af3e0964 (bug 739396)
Backed out changeset e274cb276cc5 (bug 739396)
2014-09-10 12:21:58 -04:00
Bobby Holley
731a2d6c41 Bug 1065238 - Re-enable test_cpows.xul on mac. r=billm 2014-09-10 08:07:50 -07:00
Francois Marier
12e6ff4e4a Bug 752559 - Console warning when sandboxed iframe is used ineffectively. r=smaug 2014-09-07 23:05:00 -04:00
Jonathan Watt
62cd61e1b7 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
7da0477a9e Merge m-c to mozilla-inbound 2014-09-10 15:14:15 +02:00
Carsten "Tomcat" Book
eb813f2179 merge fx-team to mozilla-central a=merge 2014-09-10 15:08:20 +02:00
Mats Palmgren
132ef0ce0b Bug 739396 - Tests. 2014-09-10 13:07:44 +00:00
Mats Palmgren
4530d16e45 Bug 739396, part 1 - Split a range (that are to be added to the Selection as a result of a user action) into multiple ranges that excludes any non-selectable (-moz-user-select:none) sub-trees. 2014-09-10 13:07:43 +00:00
Carsten "Tomcat" Book
31ab875e26 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Paul Adenot
958d4822c7 Bug 1064966 - Initialize AudioCallbackDriver::mIterationDurationMS. r=jesup
--HG--
extra : rebase_source : 52d20570c6baa6503264e5ca55fabc8e492f3ea2
2014-09-09 18:16:01 +02:00
Paul Adenot
6bf737fc9a Bug 1059389 - Unbreak --disable-webrtc. r=jesup
--HG--
extra : rebase_source : 4ef5373b44a889c0641b0e829e3feae2a0116f5e
2014-09-09 18:23:01 +02:00
Jonathan Watt
ee916d4351 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Richard Newman
a3ff4f0a10 Bug 1053016 - Part 2: remove Froyo conditional from AndroidMediaPluginHost.cpp. r=blassey 2014-09-08 07:59:35 -07:00
Markus Stange
75b8bea4c8 Bug 1064842 - Add ImplCycleCollectionTraverse/Unlink implementations for nsSMILTimedElement so that SVGAnimationElement can use the shorter NS_IMPL_CYCLE_COLLECTION_INHERITED macro. r=roc 2014-09-10 12:18:58 +02:00
Markus Stange
f765e8e0ff Bug 1064842 - Add ImplCycleCollectionTraverse/Unlink implementations for nsReferencedElement so that nsSVGFilterReference can use the shorter NS_IMPL_CYCLE_COLLECTION macro. r=roc 2014-09-10 12:18:57 +02:00
Ahmed Kachkach
8ba31890b0 Bug 1063099 - Include IPC tests filenames in logs. r=ahal 2014-09-09 08:01:00 -04:00
Sotaro Ikeda
24dff6c377 Bug 1058452 - Use FakeMediaStreamGraph r=mikeh 2014-09-09 06:27:24 -07:00
Robert Longson
3f39c19e7f Bug 1064063 - switch elements ignore default if allowReorder is set. r=dholbert 2014-09-09 13:00:03 +01:00
Alfredo Yang
a6d8c4558e Bug 1054905 - Use takePhotoComplete callback on B2G. r=roc 2014-09-09 00:17:00 +02:00
Chris Peterson
d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Matthew Gregan
9ffd4a6f81 Bug 1064570 - Run end of SourceBuffer update algorithms asynchronously per spec. r=cajbir 2014-09-09 10:29:41 +12:00
Jed Davis
c3d33c7fa3 Bug 1058977 - Adjust mochitests that do content-process file creation/deletion. r=bz
Some form tests are switched to Blob-backed DOM files; some tests now
use nsIFile but don't create the file, if the test simply uses the path
but doesn't access it; and some tests are moved to mochi-chrome
2014-09-08 18:48:50 -07:00
Matthew Gregan
55da0f3e5f Bug 1064160 - Move NotifyGotData calls to TrackBuffer so they are closer to the state being waited/notified on. r=cajbir
Rename NotifyGotData to slightly clearer NotifyTimeRangesChanged.  Move
WaitForData from MediaSourceDecoder's public API to MediaSourceReader's
private API and hoist the wait loop logic inside it.
2014-09-07 23:54:00 +12:00
Matthew Gregan
e7ed001eac Bug 1062664 - Don't update MediaSourceReader::mLast{Audio,Video}Time when seeking. r=cajbir
Any On{Audio,Video}Decoded callbacks triggered before we request a new
sample from a reader after seeking should not be used to compute the
last sample time because they originate from the reader we're switching
away from and cause us to switch back to it after seeking.
2014-09-08 16:55:20 +12:00
Matthew Gregan
6146b675d7 Bug 1062664 - Make Switch{Audio,Video}Reader return true only on an actual reader change (i.e. selecting the current reader is not a switch). r=cajbir
Remove the ok check from MSR::Seek now that Switch{Audio,Video}Reader
may return false; return to relying on the ContainsTime assert.
2014-09-08 16:54:52 +12:00
Matthew Gregan
f971f97ec4 Bug 1062664 - Select newest decoder for a given TrackBuffer. r=cajbir 2014-09-08 12:13:50 +12:00
Matthew Gregan
16aad26466 Bug 1062664 - Refactor reader switching. r=cajbir 2014-09-08 12:07:56 +12:00
Matthew Gregan
3845b6f0b5 Bug 1062664 - Frame selection test. r=cajbir 2014-09-05 18:20:23 +12:00
Ryan VanderMeulen
ccd2f112b7 Backed out changeset 56e2793c8ac7 (bug 1058452) for B2G mochitest orange. 2014-09-08 16:52:44 -04:00
Sotaro Ikeda
82f2e7e4bf Bug 1058452 - Use FakeMediaStreamGraph r=mikeh 2014-09-08 11:59:16 -07:00
Carsten "Tomcat" Book
ed621febbf Merge m-c to mozilla-inbound 2014-09-08 15:30:23 +02:00
Carsten "Tomcat" Book
75dcdffdac merge mozilla-inbound to mozilla-central a=merge 2014-09-08 15:22:16 +02:00
Shian-Yow Wu
e41905a55a Bug 1057855 - Fix error checking when calling nsZipArchive::GetItem(). r=smaug 2014-09-04 19:55:00 +02:00
Jean-Yves Avenard
1dc6df2eed Bug 1059066 - Avoid picture frame copy and keep picture in GPU by using IOSurface objects. r=rillian 2014-09-07 20:40:52 +10:00
Jean-Yves Avenard
0ca8fc3b56 Bug 1062596 - Use official 10.9 constant. r=rillian
There are no functional changes, but it prevents errors or typo
2014-09-07 20:33:55 +10:00
Jean-Yves Avenard
a243268a94 Bug 1062596 - Re-enable hardware acceleration in AppleVTDecoder. r=rillian 2014-09-05 11:50:37 +10:00
Jean-Yves Avenard
61f592a0ca Bug 1062596 - Bump thread stack size on OS X to avoid crashes. r=kinetik 2014-09-05 11:50:19 +10:00
Olli Pettay
33ad5a3cc6 Bug 1063583 - "Crash in shadow-dom @ nsIDocument::GetRootElement() const". r=jgraham 2014-09-05 12:54:00 +02:00
Matthew Gregan
5c88bf3ea3 Bug 1064118 - Drop MediaSourceReader sub-reader refs in a safer order. r=cajbir 2014-09-08 12:59:36 +12:00
Matthew Gregan
5d6dcd5866 Bug 931388 - Add crashtest for shutdown hang. 2014-09-08 13:38:52 +12:00
Matthew Gregan
f5a8655a03 Bug 1063354 - Refactor MSE tests, introduce mediasource.js shared functions. r=cajbir 2014-09-05 17:10:42 +12:00
Jan-Ivar Bruaroey
99f0dac500 Bug 1062981 - Disable bfcache for pages active MediaManager. r=smaug, r=jesup 2014-09-05 16:02:54 -04:00
Boris Zbarsky
8432077b40 Bug 880997 followup to fix a reflection test I missed and fix the orange 2014-09-05 23:51:50 -04:00
David Zbarsky
6813ce3dab Bug 1042654: Remove nsITouchEventReceiver r=bz 2014-09-05 23:32:49 -04:00
Boris Zbarsky
b03c146c49 Bug 880997 part 3. Change crossOrigin reflection to allow null values and be a limited enumerated attribute. r=smaug 2014-09-05 22:42:33 -04:00
Boris Zbarsky
7d93b250b5 Bug 880997 part 2. Fix reflect.js to be more strict when examining the value of the IDL attribute for enumerated reflection (e.g. to differentiate between null and empty string) and to allow flagging enumerated reflection as allowing null as a value. 2014-09-05 22:42:32 -04:00
Boris Zbarsky
4d8c8ca0fc Bug 880997 part 1. Move GetEnumAttr up to Element so I can use it in SVG code. r=smag 2014-09-05 22:42:32 -04:00
Jonathan Watt
7d2ad21e7e Bug 1063073 - Make sure embedding elements that rely on an embedded SVG's intrinsic dimensions are resized if the SVG is late in loading. r=dholbert 2014-09-04 20:09:51 +01:00
Jacek Caban
06efc6492d Bug 1063511 - Fix mingw builds after bug 1027906. r=tabraldes 2014-09-08 10:35:24 +02:00
Boris Zbarsky
2f75825ec4 Bug 1017424 part 3. Remove the now-unnecessary nsIDocument::WrapObject. r=peterv 2014-09-05 14:28:44 -04:00
Jean-Yves Avenard
67fea6cd17 Bug 1063255 - Revert fix from bug 1062098. r=rillian 2014-09-05 12:29:08 +10:00
Kilik Kuo
6b7ffc4559 Bug 1022524 - Set up audio track and video track information for Ogg files. r=rillian 2014-09-03 11:01:37 +08:00
Kilik Kuo
f9a8f31cb4 Bug 1022524 - Mochitest for Bug 1022524. r=rillian 2014-08-26 14:33:08 +08:00
Matthew Gregan
4335ec1e50 Bug 1062669 - Consider only SourceBuffers created before the first initialization segment is appended as essential for parent decoder initialization. r=cajbir 2014-09-05 12:04:54 +12:00
Ehsan Akhgari
d289d3a9b1 Bug 1063086 - Fix more bad implicit constructors in DOM; r=baku 2014-09-04 23:22:49 -04:00
Matthew Gregan
8b2ba8781f Bug 1062733 - Keep track of all TrackBuffer decoders rather than only fully initialized ones. r=cajbir 2014-09-04 19:35:01 +12:00
Matthew Gregan
96aeda8fdc Bug 1064826 - Disable test_FrameSelection.html on OS X. 2014-09-10 18:25:50 +12:00
Mats Palmgren
2c38b0b6b7 Bug 1061468 - Notify the editor when removing the focused element is its ancestor limiter. r=ehsan 2014-09-09 23:27:56 +00:00
Matthew Gregan
58f9ec31b0 Bug 1064699 - Update mLastVideoFrameTime after it's used for computing the frame duration. r=cajbir 2014-09-08 23:20:00 +12:00
Boris Zbarsky
a5de334278 Bug 716491. Return a .status of 200 and .statusText of "OK" for successful non-HTTP XHR loads. r=smaug 2014-09-04 15:26:58 -04:00
Boris Zbarsky
0884032212 Bug 1057176. Don't try to use the document's window for regexp evaluation in nsContentUtils::IsPatternMatching, since there might not be one. Just use the unprivileged junk scope. r=bholley 2014-09-04 15:26:39 -04:00
Alfredo Yang
9d9c06aae5 Bug 1041393 - ImageCapture - add test case. r=roc 2014-08-18 23:39:00 +02:00
JW Wang
8d74b8027a Bug 1029372 - clear AudioQueue only after shutting down audio thread to avoid race in accessing AudioQueue. r=kinetik 2014-09-03 20:05:00 +02:00
Kyle Huey
1e8e0c575a Bug 982212: Part 3 - Now that nsTArray::AppendElement supports r-value references, remove the workarounds added in Bug 967364. r=nfroyd
--HG--
extra : rebase_source : 1e6188d26b745f6dc9bdf2accc0abf7f07351510
2014-03-15 18:56:00 +01:00
Peter Van der Beken
73d234512e Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, make all Constructor methods return already_AddRefed<...>. r=bz.
--HG--
extra : rebase_source : 726702eb39e627d74ddb3adf6059569d077089d4
2014-08-28 00:43:55 +02:00
Alfredo Yang
6957a19320 Bug 916643 - ImageCapture webidl and implementation. r=roc, r=smaug 2013-09-16 10:50:24 +08:00
Alfredo Yang
1d9ecb16df Bug 916643 - Refactory ImageEncoder. r=roc
--HG--
rename : dom/canvas/ImageEncoder.cpp => dom/base/ImageEncoder.cpp
rename : dom/canvas/ImageEncoder.h => dom/base/ImageEncoder.h
2014-09-04 02:08:00 +02:00
Alfredo Yang
eca5c8a6d7 Bug 916643 - Refactory black image. r=roc 2014-09-04 02:08:00 +02:00
Matthew Gregan
2903132a69 Bug 1059058 - Introduce abstraction to manager mapping between SourceBuffers and SourceBufferDecoders for the MediaSourceReader. r=cajbir 2014-09-04 13:57:06 +12:00
Christoph Kerschbaumer
68de320099 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ryan VanderMeulen
bc55829916 Merge m-c to inbound. a=merge 2014-09-03 16:40:18 -04:00
Ryan VanderMeulen
f5859a2048 Merge inbound to m-c. a=merge 2014-09-03 16:38:57 -04:00
Jean-Yves Avenard
99c0be8755 Bug 1062098: Do not attempt to output dropped frames. r=rillian 2014-09-03 18:13:35 +10:00
Ryan VanderMeulen
9a0cf4ca0c Backed out 3 changesets (bug 1059058) for mochitest-1 leaks.
Backed out changeset 3a343c27fc7a (bug 1059058)
Backed out changeset 8808324ba834 (bug 1059058)
Backed out changeset c8f0afffca59 (bug 1059058)
2014-09-03 13:55:55 -04:00
JW Wang
4210e2571b Bug 1062116 - MediaDecoderStateMachine::FlushDecoding() should call AssertCurrentThreadInMonitor(). r=kinetik 2014-09-03 00:01:00 -04:00
Anuj Agarwal
c197954a8c Bug 1036052 - Privatize public destructor of DOMRect. r=baku 2014-09-02 11:47:00 -04:00
Paul Adenot
9ea3573709 Bug 1062293 - Ensure the graph stays alive when doing driver switches and audio stream shutdown operations. r=jesup
This basically gets a grip on the graph while doing driver switches operations
on another thread (system thread or audio thread), because those can take time.
Because the graph is refcounted, it'll be freed when the last operation
finishes, which is what we want.

This patch also only allows driver switching when the graph is in state
LIFECYCLE_RUNNING, which is what we want anyway.

--HG--
extra : rebase_source : 76365981ec909796509bd21e616b1ff8602406bd
2014-09-03 15:52:43 +02:00
Paul Adenot
2635504554 Bug 1062293 - Add specialized logging to track the lifetime state change of MediaStreamGraphs r=jesup
As noted in the comment, it is very useful to have this interleaved with the ADB
logcat on Android/b2g, because this way we can correlate gecko state with the
state of the Android HAL.

--HG--
extra : rebase_source : 80df45d0851a06daac3abeab2ea4b5bc7e58a21d
2014-08-31 14:19:48 +02:00
Matthew Gregan
5c6916c713 Bug 1059058 - Test bustage fix.
--HG--
extra : rebase_source : 8a9d1e62beaa3921884a70aae3f8fd23322fda68
2014-09-04 03:56:37 +12:00
Boris Zbarsky
68c7235a15 Bug 1061202. Make sure to not double-add app-theme-changed observers when a document has OnPageShow called on it twice without an OnPageHide call in between. r=khuey 2014-09-03 00:09:42 -04:00
Ryan VanderMeulen
1e2f0c6e0f Backed out changeset 483f0a6a540e (bug 1061202) for mochitest-bc asserts/crashes. 2014-09-03 11:21:02 -04:00
Matthew Gregan
a35791b9d4 Bug 1059058 - Tweak mochitest to avoid timeout.
--HG--
extra : rebase_source : 04b6fdee34462c0098917ebf22db1675235f8915
2014-09-04 03:14:10 +12:00
Matthew Gregan
f0d67ef6b1 Bug 1059058 - Introduce abstraction to manager mapping between SourceBuffers and SourceBufferDecoders for the MediaSourceReader. r=cajbir 2014-08-28 20:18:01 +12:00
Carsten "Tomcat" Book
6d09ecb72d Backed out changeset f9ecc7e71689 (bug 1059058) for bustage on a CLOSED TREE 2014-09-03 16:14:25 +02:00
Matthew Gregan
3893f1c156 Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
Matthew Gregan
1b5287358f Bug 1059058 - Introduce abstraction to manager mapping between SourceBuffers and SourceBufferDecoders for the MediaSourceReader. r=cajbir 2014-08-28 20:18:01 +12:00
Chris Double
99d4d51c31 Bug 1062020 - Set video/audio sample discontinuity flag in MSE after seek - r=kinetik 2014-09-03 21:56:22 +12:00
Jonathan Watt
70bcb4d122 Bug 932771, part 1 - Remove the "Skipping eUserSpaceToParent transforms makes no sense" asserts in PrependLocalTransformsTo implementations. r=longsonr 2014-08-19 21:58:06 +01:00
Jonathan Watt
0376ecf416 Bug 1061920 - Fix bugs in PrependLocalTransformsTo implementations where we forget to prepend to the matrix that is passed in. r=longsonr 2014-08-19 09:31:19 +01:00
Bill McCloskey
757ebcfbe3 Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
JW Wang
bf2077a6de Bug 1061447 - bail out if NS_NewChannel() fails to avoid crashing on |mChannel| below. r=roc 2014-09-02 00:36:00 +02:00
JW Wang
e1edda90ea Bug 1057954 - MediaDecoder::PlaybackEnded() should do nothing in dormant state. r=kinetik. 2014-09-02 20:07:00 +02:00
Boris Zbarsky
7dce463506 Bug 1061202. Make sure to not double-add app-theme-changed observers when a document has OnPageShow called on it twice without an OnPageHide call in between. r=khuey 2014-09-03 00:09:42 -04:00
Chris Double
249c875c64 Bug 1062018 - MSE Audio decoder reaching EOS stops decoding - r=kinetik 2014-09-03 15:20:02 +12:00
Matthew Gregan
0678bd0d40 Bug 1061007 - Only start new decoder on media segment boundary. r=cajbir 2014-09-01 18:00:00 +12:00
Matthew Gregan
e72940f877 Bug 1061007 - Handle unaligned appends by retaining WebM parser state across calls. r=cajbir 2014-09-01 02:17:00 +12:00
John Schoenick
e92bc397ce Bug 1061995 - Restore bug 923745 workaround for windowless flash in e10s mode. r=jst 2014-09-02 17:13:07 -07:00
Ralph Giles
687648d0da Bug 1055694 - Disable mac mp4 hardware acceleration. r=ajones
Works around crashes initializing multiple sessions.
2014-09-02 12:56:00 -07:00
Julian Seward
240a858fc3 Bug 1057274 - SourceMediaStream::SourceMediaStream does not initialise mNeedsMixing. r=karlt.
--HG--
extra : rebase_source : 141860dcecbcdea3af2b1672a18cac5cc83b2316
2014-09-02 22:55:11 +02:00
Trevor Saunders
d75ed5bf7f bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
1b1d6ffebf Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Ehsan Akhgari
8b978389de Bug 1061252 - Fix more bad implicit constructors in media code; r=roc 2014-09-02 09:46:56 -04:00
Carsten "Tomcat" Book
81d2189d35 Backed out changeset 9678f9a596d8 (bug 877072) for B2G ICS Emulator Debug m3 and m5 test failures 2014-09-02 14:54:22 +02:00
Randell Jesup
05a80b0af1 Bug 1061475: fix crash in Loop calls on Macs due to Refresh() change r=gcp 2014-09-02 04:52:45 -04:00
Gabor Krizsanits
ad89b8776c Bug 877072 - Script execution order for imports. r=mrbkap 2014-09-02 12:13:45 +02:00
Blake Wu
fba8a86224 Bug 1036775 - Add one more define check to separate omx decoder mp4 decoder. r=edwin 2014-09-01 13:32:47 +08:00
Andrea Marchesini
4954f26ac4 Bug 1046578 - HTMLMediaElement has to change the audioChannel of the MediaStream, r=roc 2014-09-02 08:36:48 +01:00
Bruce Sun
fc62c263b0 Bug 1033915 - Integrate MP3FrameParser into MediaCodecReader. r=cajbir 2014-09-01 18:04:36 +08:00
Phil Ringnalda
638b24cdad Backed out changeset b9e3a9f5d04a (bug 1036849) for build bustage, a=backout 2014-09-01 19:22:06 -07:00
Anthony Jones
ddb7bc3130 Bug 1061131 - Disable MSE/WebM on Firefox OS; r=cajbir; a=philor 2014-09-02 13:43:03 +12:00
Anthony Jones
917364ecaf Bug 1036849 - Share a single MediaSourceReader; r=edwin; a=philor 2014-09-02 13:42:39 +12:00
Ehsan Akhgari
0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
c4a0d89440 Fix the build bustage from bug 1060987 landed on a CLOSED TREE 2014-09-01 18:28:29 -04:00
Ehsan Akhgari
6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Carsten "Tomcat" Book
2797ec766c Backed out changeset 67b286d214e3 (bug 877072) for m1 test failures 2014-09-01 12:01:09 +02:00
Jean-Yves Avenard
65d00bd2fd Bug 1055843 - Do not pause when playbackRate = 0. Instead don't play anything. r=padenot 2014-09-01 14:52:39 +10:00
Gabor Krizsanits
5d97edf128 Bug 877072 - Script execution order for nested imports. r=mrbkap 2014-09-01 10:51:40 +02:00
Anthony Jones
43708c49c3 Bug 1060704 - Save MP4 init segment for later; r=kinetik 2014-09-01 20:45:48 +12:00
Anthony Jones
99b765d459 Bug 1060182 - Cache MP4 buffered ranges; r=cpearce 2014-09-01 20:45:46 +12:00
Ehsan Akhgari
6b95ac13c0 Bug 1061051 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : c3d5f6a1cc95f4a7f123129e14a9a0c57d00ef38
2014-08-31 23:50:59 -04:00
Ehsan Akhgari
f76451d2e9 Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : 14da50f7d2e37e04452445dea575ea4d582e8efd
2014-08-31 23:50:23 -04:00
Ehsan Akhgari
3bbbbb50f0 Bug 1060983 - Fix more bad implicit constructors in the SVG code; r=smaug 2014-08-31 21:08:04 -04:00
Paul Adenot
9edc44ff65 Bug 1060311 - Force the use of an AudioCallbackDriver when at least an AudioNodeStream is present in the graph. r=jesup
This prevent a bug where the graph would be using a SystemClockDriver even if it
was rendering Web Audio API content.

It went like this:
- An AudioContext was created.
- Some AudioNodeStream (Web Audio API MediaStreams) were created, but their
MediaStreamTrack was not added yet
- During the stream ordering, we would see that we were running an
AudioCallbackDriver (because the MSG was created using an AudioContext, and we
pass in hints regarding the type of MediaStreams that will be added in the
future, to open the audio stream as early as we can, because it can take some
time, the MSG was created directly using an AudioCallbackDriver)
- Also during the stream ordering, we see that none of our MediaStream have an
MediaStreamTrack with an audio track. This triggers a switch to a
SystemClockDriver, because the graph thinks there is no audio.
- During CreateAndDestroyAudioNode, we would not switch to an
AudioCallbackDriver on the first iteration (right after the UpdateStreamOrder
call), because we would be switching, and not during the iteration after,
because we thought we already switched (the first patch makes this more robust).

This basically forces an AudioCallbackDriver if there is an AudioNodeStream,
which prevents unnecessary GraphDriver switches (and save threads creation
destruction, audio stream create and destruction, and all other resources
associated with a GraphDriver).
2014-08-29 20:26:29 +02:00
Andrea Marchesini
eee60d5ec4 Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz 2014-08-31 11:40:11 +01:00
Matthew A. Miller
b659301233 Bug 1056213 - Window title in "windows or screen to share" list is not updated when navigating to another page r=rjesup 2014-08-27 16:32:28 -06:00
Timothy Nikkel
ed38359aee Bug 1008942. When a network request for an image finishes during paint suppression and the image doesn't have a frame don't start a decode. r=mats
Either the image won't get a frame, or it will get a frame very soon and that frame will check its own visibility and kick off a decode if needed.
2014-06-25 23:45:08 -05:00
Daniel Holbert
c1ad232fef Bug 1056166 followup: move margin{SIDE} and textAlign atoms out of '#ifdef ACCESSIBILITY' section, to fix --disable-accessibility builds. r=ehsan 2014-08-31 00:56:26 -07:00
Randell Jesup
10774030a9 Backed out changeset ef2bf9308ed7 (bug 1056213) 2014-08-30 12:11:27 -04:00
Matthew A. Miller
f36ccb7397 Bug 1056213 - Window title in "windows or screen to share" list is not updated when navigating to another page r=rjesup 2014-08-27 16:32:28 -06:00
Tim Abraldes
ba6539ecd7 bug 1027906. Set delayed token level for GMP plugin processes to USER_RESTRICTED. Whitelist certain files and registry keys that are required for EME plugins to successfully load. r=bobowen. r=jesup. r=bent. 2014-08-29 17:34:26 -07:00
Tanvi Vyas
95718593db Bug 1058836 - Set aDecision parameter to block by default and update cases where it wasn't initially set in nsMixedContentBlocker.cpp. r=smaug 2014-08-29 12:57:08 -07:00
Ryan VanderMeulen
f4e712f3f6 Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Neil Rashbrook
a0446d2a55 Bug 1054289 Scroll to the current ref, not the original one r=smaug 2014-08-29 20:34:35 +01:00
Neil Rashbrook
1c56da8a40 Bug 1059707 Don't print a deprecation warning for theme XBL binding documents r=smaug 2014-08-29 20:33:16 +01:00
Ryan VanderMeulen
f9e1c75706 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Paul Adenot
a6a05ae91e Backed out changeset aaa4cf41cade (bug 1060311) on a CLOSED TREE 2014-08-29 18:25:35 +02:00
Paul Adenot
5d031aff93 Backed out changeset 36cedce0c8b3 (bug 1060311) 2014-08-29 18:23:12 +02:00
Carsten "Tomcat" Book
22a02d91d0 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
Paul Adenot
12585467d5 Bug 1060311 - Force the use of an AudioCallbackDriver when at least an AudioNodeStream is present in the graph. r=jesup
This prevent a bug where the graph would be using a SystemClockDriver even if it
was rendering Web Audio API content.

It went like this:
- An AudioContext was created.
- Some AudioNodeStream (Web Audio API MediaStreams) were created, but their
MediaStreamTrack was not added yet
- During the stream ordering, we would see that we were running an
AudioCallbackDriver (because the MSG was created using an AudioContext, and we
pass in hints regarding the type of MediaStreams that will be added in the
future, to open the audio stream as early as we can, because it can take some
time, the MSG was created directly using an AudioCallbackDriver)
- Also during the stream ordering, we see that none of our MediaStream have an
MediaStreamTrack with an audio track. This triggers a switch to a
SystemClockDriver, because the graph thinks there is no audio.
- During CreateAndDestroyAudioNode, we would not switch to an
AudioCallbackDriver on the first iteration (right after the UpdateStreamOrder
call), because we would be switching, and not during the iteration after,
because we thought we already switched (the first patch makes this more robust).

This basically forces an AudioCallbackDriver if there is an AudioNodeStream,
which prevents unnecessary GraphDriver switches (and save threads creation
destruction, audio stream create and destruction, and all other resources
associated with a GraphDriver).

--HG--
extra : rebase_source : 3c79c64a5dffee4c059d286125f0446c04a07a01
2014-08-29 15:18:03 +02:00
Paul Adenot
96b0bfded6 Bug 1060311 - Always use an AudioCallbackDriver when there is and AudioOutputStream. r=jesup
This makes the driver switching logic more robust against other bugs.

--HG--
extra : rebase_source : 556c2c80e1f5901b26f8bb56ea1cebfed3259412
2014-08-29 15:16:41 +02:00
JW Wang
effb885bd5 Bug 1059052 - centralize state transitions of MediaDecoderStateMachine. r=cpearce 2014-08-28 02:46:00 +02:00
John Lin
1462ca80fc Bug 968109 - Add test for recording audio node output. r=roc 2014-08-27 23:43:00 +02:00
John Lin
a445c99d14 Bug 968109 - Add new constructor to support recording from any web audio node. r=roc,smaug 2014-08-27 23:40:00 +02:00
Jean-Yves Avenard
49d16c2d1a Bug 1058422: Don't immediately request new data r=cajbir 2014-08-29 12:15:40 +12:00