Commit Graph

33318 Commits

Author SHA1 Message Date
Matthew Gregan
f381864f49 Bug 1053682 - Fix formatting of doubles in SourceBuffer logging. r=cajbir 2014-08-14 01:41:00 +12:00
Matthew Gregan
5685f29020 Bug 1053682 - Optimize SourceBufferResource::ReadAt/ReadFromCache a little. r=cajbir 2014-08-14 01:41:00 +12:00
Matthew Gregan
362cffd081 Bug 1053674 - Remove subclass of StateMachine and use our own task queue. r=cpearce 2014-08-14 01:14:00 +12:00
Matthew Gregan
e1997a4ffb Bug 1053658 - Split MSDecoder and MSReader into separate files. r=cajbir
--HG--
rename : content/media/mediasource/MediaSourceDecoder.cpp => content/media/mediasource/MediaSourceReader.cpp
2014-08-14 00:22:00 +12:00
Matthew Gregan
1e1b322b1d Bug 1054149 - Fix anFoo coding style violation in content/media. r=cpearce 2014-08-14 21:24:00 +12:00
Ryan VanderMeulen
e5df4919ce Backed out changesets b8e0173c9c47, b087e84a99f1, and 66c055120ca7 (bug 1049133) for Android and B2G bustage.
CLOSED TREE
2014-08-17 22:28:34 -04:00
Anthony Jones
564dd7ae57 Bug 1049133 - Hook up eviction API; r=kinetik 2014-08-18 13:36:40 +12:00
Anthony Jones
18e54325c2 Bug 1049133 - Calculate accurate MP4 eviction offset; r=edwin 2014-08-18 13:02:27 +12:00
Anthony Jones
e6694479bd Bug 1049133 - Add API for eviction offset; r=kinetik 2014-08-18 13:02:25 +12:00
Chris Pearce
280c36f93f Bug 1035056 - Only shutdown decoders on navigation for EME content. r=me CLOSED TREE 2014-08-18 12:01:45 +12:00
Chris Pearce
31a75b4662 Bug 1035056 part 3 - Implement GMPAsyncShutdown interface. r=jesup 2014-08-18 09:41:56 +12:00
Chris Pearce
4da7fabe5c Bug 1035056 part 2 - Force GMPTimers to shutdown when other API objects do, prevent timers from firing after GMPTimerParent is shutdown. r=jesup 2014-08-18 09:41:53 +12:00
Chris Pearce
a358c94c98 Bug 1035056 part 1 - Force CDMProxy to shutdown on tab close or navigation. r=ehsan 2014-08-18 09:41:50 +12:00
Randell Jesup
3592b4fbba Bug 1054166: Mirror Add/RemoveListener in Add/RemoveDirectListener r=roc 2014-08-17 02:09:21 -04:00
Jan-Ivar Bruaroey
2114490617 Bug 1032835 - addTrack/removeTrack on-top of existing implementation. r=smaug, r=jesup 2014-08-13 21:40:54 -04:00
Robert O'Callahan
150ec76871 Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn
--HG--
extra : rebase_source : 04249e9b22a62b8f2952515fa48f4ba3227e235e
2014-08-06 17:19:29 +12:00
Robert O'Callahan
2489dc1f01 Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.

--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Catalin Badea
53911e168c Bug 853995 - Move plugin parameters array from nsPluginInstanceOwner to content. r=johns,jst 2014-08-15 14:24:40 -07:00
Ralph Giles
bace3d7342 Bug 1047486 - Don't crash on null VideoData. r=cpearce
Avoid crashing when we can't create a VideoData object for
the decoded data MacOS X returns.
2014-08-15 11:24:00 -07:00
Randell Jesup
7ecd01e5fb Bug 1049501: Don't let the GMPThread event loop recurse while handling IPDL shutdowns r=bsmedberg 2014-08-14 13:50:25 -04:00
Steve Fink
8b62e3b1a3 Bug 1037358 - Fix up ArrayBufferObject malloc accounting, assigning to correct zone for all types, r=terrence,froydnj,smaug 2014-08-12 16:59:12 -07:00
Ryan VanderMeulen
ebabae71e7 Backed out changesets 9329fb07c373 and ff8dc9ac0228 (bug 1022501) for Windows mochitest-1 failures.
CLOSED TREE

--HG--
rename : content/media/fmp4/eme/EMEAudioDecoder.cpp => content/media/fmp4/eme/EMEAACDecoder.cpp
rename : content/media/fmp4/eme/EMEAudioDecoder.h => content/media/fmp4/eme/EMEAACDecoder.h
rename : content/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp => content/media/fmp4/ffmpeg/FFmpegAACDecoder.cpp
rename : content/media/fmp4/ffmpeg/FFmpegAudioDecoder.h => content/media/fmp4/ffmpeg/FFmpegAACDecoder.h
2014-08-15 13:14:03 -04:00
Ryan VanderMeulen
ade99b6c8a Backed out changeset 2322a7c26246 (bug 1049501) for Windows bustage. 2014-08-15 13:13:14 -04:00
Randell Jesup
f7e2a2780f Bug 1049501: Don't let the GMPThread event loop recurse while handling IPDL shutdowns r=bsmedberg 2014-08-14 13:50:25 -04:00
Chris Pearce
43aad61439 Bug 1053008 - FlushAndDispatch the ResetDecode call in MDSM::FlushDecoding(). r=kinetik 2014-08-14 20:05:00 -04:00
Jean-Yves Avenard
d9fdbee68b Bug 1052383 - Properly detect HE-AAC stream. r=rillian 2014-08-15 15:52:18 +10:00
Jean-Yves Avenard
8614e809aa Bug 1052383 - Minor style fixes. r=rillian 2014-08-14 14:32:59 +10:00
Bruce Sun
25eb5dd651 Bug 1033902 - Integrate offload player into MediaCodec related codes. r=roc 2014-08-14 11:40:20 +08:00
Bruce Sun
e7cb776167 Bug 1033902 - Extract the logic of offload-audio from MediaOmxDecoder to a parent class. r=roc
--HG--
rename : content/media/omx/MediaOmxDecoder.cpp => content/media/omx/MediaOmxCommonDecoder.cpp
rename : content/media/omx/MediaOmxDecoder.h => content/media/omx/MediaOmxCommonDecoder.h
rename : content/media/omx/MediaOmxReader.cpp => content/media/omx/MediaOmxCommonReader.cpp
rename : content/media/omx/MediaOmxReader.h => content/media/omx/MediaOmxCommonReader.h
2014-08-14 11:38:21 +08:00
Jean-Yves Avenard
42cab9e349 Bug 1022501 - Add MP3 support to MP4 demuxer. r=edwin
--HG--
rename : content/media/fmp4/eme/EMEAACDecoder.cpp => content/media/fmp4/eme/EMEAudioDecoder.cpp
rename : content/media/fmp4/eme/EMEAACDecoder.h => content/media/fmp4/eme/EMEAudioDecoder.h
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.cpp => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.h => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.h
2014-08-15 16:25:06 +10:00
Anthony Jones
4bd9fb18d1 Bug 1022501 - Fix Windows falsely reporting support for MP4 in MP3. r=cpearce 2014-07-17 15:52:14 +12:00
JW Wang
2f9d49bc75 Bug 1046837 - Reset |mDispatchedDecodeMetadataTask| only after finishinig decoding metadata to avoid MediaDecoderStateMachine::CallDecodeMetadata() may run more than once. r=cpearce 2014-08-13 19:11:00 -04:00
Artem Sobolev
5b25273c1b Bug 625012 - Handle multipart responses in ImageDocument::OnStartRequest correctly. r=bz 2014-07-29 15:23:22 -07:00
Ehsan Akhgari
22b7f33edd Bug 1042469 - Flatten editor/libeditor/base to editor/libeditor; r=poiru
--HG--
rename : editor/libeditor/base/ChangeAttributeTxn.cpp => editor/libeditor/ChangeAttributeTxn.cpp
rename : editor/libeditor/base/ChangeAttributeTxn.h => editor/libeditor/ChangeAttributeTxn.h
rename : editor/libeditor/base/ChangeCSSInlineStyleTxn.cpp => editor/libeditor/ChangeCSSInlineStyleTxn.cpp
rename : editor/libeditor/base/ChangeCSSInlineStyleTxn.h => editor/libeditor/ChangeCSSInlineStyleTxn.h
rename : editor/libeditor/base/CreateElementTxn.cpp => editor/libeditor/CreateElementTxn.cpp
rename : editor/libeditor/base/CreateElementTxn.h => editor/libeditor/CreateElementTxn.h
rename : editor/libeditor/base/DeleteNodeTxn.cpp => editor/libeditor/DeleteNodeTxn.cpp
rename : editor/libeditor/base/DeleteNodeTxn.h => editor/libeditor/DeleteNodeTxn.h
rename : editor/libeditor/base/DeleteRangeTxn.cpp => editor/libeditor/DeleteRangeTxn.cpp
rename : editor/libeditor/base/DeleteRangeTxn.h => editor/libeditor/DeleteRangeTxn.h
rename : editor/libeditor/base/DeleteTextTxn.cpp => editor/libeditor/DeleteTextTxn.cpp
rename : editor/libeditor/base/DeleteTextTxn.h => editor/libeditor/DeleteTextTxn.h
rename : editor/libeditor/base/EditActionListener.h => editor/libeditor/EditActionListener.h
rename : editor/libeditor/base/EditAggregateTxn.cpp => editor/libeditor/EditAggregateTxn.cpp
rename : editor/libeditor/base/EditAggregateTxn.h => editor/libeditor/EditAggregateTxn.h
rename : editor/libeditor/base/EditTxn.cpp => editor/libeditor/EditTxn.cpp
rename : editor/libeditor/base/EditTxn.h => editor/libeditor/EditTxn.h
rename : editor/libeditor/base/IMETextTxn.cpp => editor/libeditor/IMETextTxn.cpp
rename : editor/libeditor/base/IMETextTxn.h => editor/libeditor/IMETextTxn.h
rename : editor/libeditor/base/InsertElementTxn.cpp => editor/libeditor/InsertElementTxn.cpp
rename : editor/libeditor/base/InsertElementTxn.h => editor/libeditor/InsertElementTxn.h
rename : editor/libeditor/base/InsertTextTxn.cpp => editor/libeditor/InsertTextTxn.cpp
rename : editor/libeditor/base/InsertTextTxn.h => editor/libeditor/InsertTextTxn.h
rename : editor/libeditor/base/JoinElementTxn.cpp => editor/libeditor/JoinElementTxn.cpp
rename : editor/libeditor/base/JoinElementTxn.h => editor/libeditor/JoinElementTxn.h
rename : editor/libeditor/base/PlaceholderTxn.cpp => editor/libeditor/PlaceholderTxn.cpp
rename : editor/libeditor/base/PlaceholderTxn.h => editor/libeditor/PlaceholderTxn.h
rename : editor/libeditor/base/SetDocTitleTxn.cpp => editor/libeditor/SetDocTitleTxn.cpp
rename : editor/libeditor/base/SetDocTitleTxn.h => editor/libeditor/SetDocTitleTxn.h
rename : editor/libeditor/base/SplitElementTxn.cpp => editor/libeditor/SplitElementTxn.cpp
rename : editor/libeditor/base/SplitElementTxn.h => editor/libeditor/SplitElementTxn.h
rename : editor/libeditor/base/crashtests/336104.html => editor/libeditor/crashtests/336104.html
rename : editor/libeditor/base/crashtests/382527-1.html => editor/libeditor/crashtests/382527-1.html
rename : editor/libeditor/base/crashtests/402172-1.html => editor/libeditor/crashtests/402172-1.html
rename : editor/libeditor/base/crashtests/407079-1.html => editor/libeditor/crashtests/407079-1.html
rename : editor/libeditor/base/crashtests/407256-1.html => editor/libeditor/crashtests/407256-1.html
rename : editor/libeditor/base/crashtests/430624-1.html => editor/libeditor/crashtests/430624-1.html
rename : editor/libeditor/base/crashtests/459613-iframe.html => editor/libeditor/crashtests/459613-iframe.html
rename : editor/libeditor/base/crashtests/459613.html => editor/libeditor/crashtests/459613.html
rename : editor/libeditor/base/crashtests/475132-1.xhtml => editor/libeditor/crashtests/475132-1.xhtml
rename : editor/libeditor/base/crashtests/633709.xhtml => editor/libeditor/crashtests/633709.xhtml
rename : editor/libeditor/base/crashtests/636074-1.html => editor/libeditor/crashtests/636074-1.html
rename : editor/libeditor/base/crashtests/713427-1.html => editor/libeditor/crashtests/713427-1.html
rename : editor/libeditor/base/crashtests/713427-2.xhtml => editor/libeditor/crashtests/713427-2.xhtml
rename : editor/libeditor/base/crashtests/762183.html => editor/libeditor/crashtests/762183.html
rename : editor/libeditor/base/crashtests/766360.html => editor/libeditor/crashtests/766360.html
rename : editor/libeditor/base/crashtests/766413.html => editor/libeditor/crashtests/766413.html
rename : editor/libeditor/base/crashtests/766845.xhtml => editor/libeditor/crashtests/766845.xhtml
rename : editor/libeditor/base/crashtests/768765.html => editor/libeditor/crashtests/768765.html
rename : editor/libeditor/base/crashtests/771749.html => editor/libeditor/crashtests/771749.html
rename : editor/libeditor/base/crashtests/772282.html => editor/libeditor/crashtests/772282.html
rename : editor/libeditor/base/crashtests/776323.html => editor/libeditor/crashtests/776323.html
rename : editor/libeditor/base/crashtests/crashtests.list => editor/libeditor/crashtests/crashtests.list
rename : editor/libeditor/base/nsEditProperty.h => editor/libeditor/nsEditProperty.h
rename : editor/libeditor/base/nsEditPropertyAtomList.h => editor/libeditor/nsEditPropertyAtomList.h
rename : editor/libeditor/base/nsEditRules.h => editor/libeditor/nsEditRules.h
rename : editor/libeditor/base/nsEditor.cpp => editor/libeditor/nsEditor.cpp
rename : editor/libeditor/base/nsEditor.h => editor/libeditor/nsEditor.h
rename : editor/libeditor/base/nsEditorCommands.cpp => editor/libeditor/nsEditorCommands.cpp
rename : editor/libeditor/base/nsEditorCommands.h => editor/libeditor/nsEditorCommands.h
rename : editor/libeditor/base/nsEditorController.cpp => editor/libeditor/nsEditorController.cpp
rename : editor/libeditor/base/nsEditorController.h => editor/libeditor/nsEditorController.h
rename : editor/libeditor/base/nsEditorEventListener.cpp => editor/libeditor/nsEditorEventListener.cpp
rename : editor/libeditor/base/nsEditorEventListener.h => editor/libeditor/nsEditorEventListener.h
rename : editor/libeditor/base/nsEditorUtils.cpp => editor/libeditor/nsEditorUtils.cpp
rename : editor/libeditor/base/nsEditorUtils.h => editor/libeditor/nsEditorUtils.h
rename : editor/libeditor/base/nsIAbsorbingTransaction.h => editor/libeditor/nsIAbsorbingTransaction.h
rename : editor/libeditor/base/nsSelectionState.cpp => editor/libeditor/nsSelectionState.cpp
rename : editor/libeditor/base/nsSelectionState.h => editor/libeditor/nsSelectionState.h
rename : editor/libeditor/base/nsStyleSheetTxns.cpp => editor/libeditor/nsStyleSheetTxns.cpp
rename : editor/libeditor/base/nsStyleSheetTxns.h => editor/libeditor/nsStyleSheetTxns.h
rename : editor/libeditor/base/tests/chrome.ini => editor/libeditor/tests/chrome.ini
rename : editor/libeditor/base/tests/file_bug586662.html => editor/libeditor/tests/file_bug586662.html
rename : editor/libeditor/base/tests/mochitest.ini => editor/libeditor/tests/mochitest.ini
rename : editor/libeditor/base/tests/moz.build => editor/libeditor/tests/moz.build
rename : editor/libeditor/base/tests/test_bug408231.html => editor/libeditor/tests/test_bug408231.html
rename : editor/libeditor/base/tests/test_bug46555.html => editor/libeditor/tests/test_bug46555.html
rename : editor/libeditor/base/tests/test_bug502673.html => editor/libeditor/tests/test_bug502673.html
rename : editor/libeditor/base/tests/test_bug514156.html => editor/libeditor/tests/test_bug514156.html
rename : editor/libeditor/base/tests/test_bug567213.html => editor/libeditor/tests/test_bug567213.html
rename : editor/libeditor/base/tests/test_bug586662.html => editor/libeditor/tests/test_bug586662.html
rename : editor/libeditor/base/tests/test_bug599983.html => editor/libeditor/tests/test_bug599983.html
rename : editor/libeditor/base/tests/test_bug599983.xul => editor/libeditor/tests/test_bug599983.xul
rename : editor/libeditor/base/tests/test_bug646194.xul => editor/libeditor/tests/test_bug646194.xul
rename : editor/libeditor/base/tests/test_bug742261.html => editor/libeditor/tests/test_bug742261.html
rename : editor/libeditor/base/tests/test_bug773262.html => editor/libeditor/tests/test_bug773262.html
rename : editor/libeditor/base/tests/test_bug795785.html => editor/libeditor/tests/test_bug795785.html
rename : editor/libeditor/base/tests/test_composition_event_created_in_chrome.html => editor/libeditor/tests/test_composition_event_created_in_chrome.html
rename : editor/libeditor/base/tests/test_dragdrop.html => editor/libeditor/tests/test_dragdrop.html
rename : editor/libeditor/base/tests/test_selection_move_commands.xul => editor/libeditor/tests/test_selection_move_commands.xul
2014-08-15 10:03:48 -04:00
Nigel Babu
fb155d49e8 Backed out changeset 5cbae203cad2 (bug 1054149) for bustage ON A CLOSED TREE 2014-08-15 12:34:58 +05:30
Nigel Babu
cd7474086f Backed out changeset ddcec188e857 (bug 1053658) for bustage ON A CLOSED TREE 2014-08-15 12:34:49 +05:30
Nigel Babu
7424e83258 Backed out changeset 012b4107cfa0 (bug 1053674) for bustage ON A CLOSED TREE 2014-08-15 12:34:40 +05:30
Nigel Babu
3650fa9aa2 Backed out changeset 865a9cdfa7b1 (bug 1053682) for bustage ON A CLOSED TREE 2014-08-15 12:34:32 +05:30
Nigel Babu
21f93127db Backed out changeset 822a89cfe094 (bug 1053682) for bustage ON A CLOSED TREE 2014-08-15 12:34:20 +05:30
Matthew Gregan
e4bb1dc18a Bug 1053682 - Fix formatting of doubles in SourceBuffer logging. r=cajbir
--HG--
extra : rebase_source : db346b75dcf1c4fed6bc269b606ff4e83852d877
2014-08-14 01:41:00 +12:00
Matthew Gregan
1f7a632528 Bug 1053682 - Optimize SourceBufferResource::ReadAt/ReadFromCache a little. r=cajbir
--HG--
rename : content/media/mediasource/MediaSourceDecoder.cpp => content/media/mediasource/MediaSourceReader.cpp
extra : rebase_source : 2ed344b1731d07f4e89b4695d36a1e0d26ada41f
2014-08-14 01:41:00 +12:00
Matthew Gregan
2988a96173 Bug 1053674 - Remove subclass of StateMachine and use our own task queue. r=cpearce
--HG--
rename : content/media/mediasource/MediaSourceDecoder.cpp => content/media/mediasource/MediaSourceReader.cpp
extra : rebase_source : a34a9a5c0274bae5c7f065535242316d605e8e65
2014-08-14 01:14:00 +12:00
Matthew Gregan
247d934871 Bug 1053658 - Split MSDecoder and MSReader into separate files. r=cajbir
--HG--
rename : content/media/mediasource/MediaSourceDecoder.cpp => content/media/mediasource/MediaSourceReader.cpp
extra : rebase_source : 2fb1adcbf8795259b45bae58fa8fa342b6235bae
2014-08-14 00:22:00 +12:00
Matthew Gregan
7465be451d Bug 1054149 - Fix anFoo coding style violation in content/media. r=cpearce
--HG--
extra : rebase_source : 69152bba07ecbf4e1a5790ba0f6abb0a6cda3be2
2014-08-14 21:24:00 +12:00
Bobby Holley
e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Bobby Holley
850fc35028 Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 18:47:15 -07:00
Karl Tomlinson
a37ebe5a53 mochitest for bug 970773
--HG--
extra : rebase_source : d79239ebc2473a95ac0dde796515c935f3ac3ab2
2014-08-13 18:00:25 +12:00
Karl Tomlinson
bbd7c42a51 b=970773 convert destination stream time to DOM time for playbackTime r=roc
--HG--
extra : rebase_source : a4385d56d6cc39d59abf14cca4d399a33fd64173
2014-08-13 11:05:09 +12:00
Karl Tomlinson
5a1475ec6a b=970773 remove unnecessary locking when getting AudioNodeEngine Node on main thread r=roc
See also bug 914392.

--HG--
extra : rebase_source : 4c3599dd1866adf5045d69ab97ae362a6de4aba5
2014-08-13 10:43:14 +12:00
Karl Tomlinson
9d02f5394b b=970773 remove unnecessary IsSafeToRunScript() test on event loop nsRunnable r=roc
If the event loop is running, then it is safe to run script.

--HG--
extra : rebase_source : c0fb5fddb8e714d4d5ed0cdb7384a95cf23ad9af
2014-08-13 10:34:55 +12:00
Karl Tomlinson
5699dfc818 b=970773 collect common AudioProcessingEvent tests into a shared function r=ehsan
--HG--
extra : rebase_source : 191bc425627b5290d2963e23d0bb7dfc569d7719
2014-08-13 12:12:43 +12:00
Ryan VanderMeulen
30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Bobby Holley
35f3a10cb0 Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 12:53:52 -07:00
Ryan VanderMeulen
817a48c707 Backed out changeset 67ec7387436a (bug 1049501) for mochitest-3 crashes.
CLOSED TREE
2014-08-14 14:53:24 -04:00
Randell Jesup
15385e72c4 Bug 1049501: Don't let the GMPThread event loop recurse while handling IPDL shutdowns r=bsmedberg 2014-08-14 13:50:25 -04:00
David Keeler
c3d3df58ac bug 1030963 - remove non-standard window.crypto functions/properties r=jst r=briansmith r=glandium 2014-08-14 09:38:42 -07:00
JW Wang
ab70178851 Bug 1046756 - Wait until AudioInitTask finished before proceeding to Shutdown(). r=kinetik 2014-08-13 20:08:00 -04:00
Seth Fowler
312b2ad608 Bug 913586 (Part 3) - Update Maybe users in content. r=bent
--HG--
extra : rebase_source : 79526555fcb097068b9d0b54b90e35b0d53eb43e
2014-08-13 15:39:41 -07:00
David Major
cf1bc32ff9 Bug 1051858: Update UUIDs that should have been revved in bug 741295. r=smaug
--HG--
extra : rebase_source : ec9740e1a9794ae8d974f36a503e97fb2e4fc95e
2014-08-14 10:38:29 +12:00
Ed Morley
42cede9331 Backed out changeset 1a2dcc132344 (bug 1022818) for B2G failures in test_scroll_behavior.html; CLOSED TREE 2014-08-13 16:31:11 +01:00
Ed Morley
65c1fd3bbc Backed out changeset d24b367f3ac4 (bug 1022818) 2014-08-13 16:30:50 +01:00
Jean-Yves Avenard
2342791f3c Bug 1048173 - Make sure we can link against FFmpeg libraries before attempting to create a decoder. r=edwin 2014-08-05 16:13:05 +10:00
Jean-Yves Avenard
40e1f9f229 Bug 1047180 - Decode a single audio frame in order to retrieve accurate channel count and sampling rate and propagate to MP4Reader. r=cpearce 2014-08-11 15:27:00 +10:00
Randy Lin
fd9b2a1183 Bug 1024188 - Checks can be removed because EncodedFrame::SwapInFrameData() is infallible. r=roc 2014-08-12 16:57:55 +08:00
Kearwood (Kip) Gilbert
0befdfe863 Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.
2014-07-21 11:19:00 -04:00
Kearwood (Kip) Gilbert
cbede6f09b Bug 1022818 - Part 1: Update webidl interfaces. r=bz
- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.
2014-07-21 11:04:00 -04:00
Martijn Wargers
81f5f3fab6 Bug 928678 - Request complete log for intermittent failure in Intermittent test_iframe_sandbox_general.html. r=kwierso 2014-08-12 18:04:26 -07:00
Jon Coppeard
511f6ef1c5 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Anthony Jones
4c33e4d4ac Bug 1050060 - Fix 64 bit file offset in MP4 reader; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
fa358b339a Bug 1050060 - Fix MP4 range pinning; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
2c2bccb36d Bug 1050060 - Optimise MP4 range calculation; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
4f53a7c1a6 Bug 1050060 - Update index off main thread; r=edwin 2014-08-13 17:13:28 +12:00
Jed Davis
033a6785eb Bug 1043733 - Require sandboxing to load Gecko Media Plugins on Linux. r=jesup r=kang
Also refactors how sandbox support and disabling are handled, and allows
simulating a lack of sandbox support with an env var (for testing
without rebuilding a kernel).
2014-08-12 21:28:27 -07:00
Chris Pearce
e1c08d8e72 Bug 1052378 - Replace stray mIsXXXDecoding fields with IsXXXDecoding() function calls in MediaDecoderStateMachine. r=kinetik 2014-08-13 15:04:19 +12:00
Chris Pearce
6f3e8d4952 Bug 1050064 - Reconfigure WMFAACDecoder on stream change. r=padenot 2014-08-13 09:56:33 +12:00
Trevor Saunders
8f78184d9a bug 1016545 - Provide an iterator that iterates over all children of an element r=bz 2014-07-16 14:41:57 -04:00
Andrew McCreight
45b4b04305 Backout bug 1038243 for not actually helping. 2014-08-12 10:55:29 -07:00
Martijn Wargers
3b697038e0 Bug 1032878 - Fix for test_mediatrack_events.html. r=smaug 2014-08-11 11:33:50 -07:00
Martijn Wargers
ced68fdbe0 Bug 1032878 - Fix for test_mediarecorder_getencodeddata.html. r=rlin 2014-08-10 20:10:53 -07:00
Martijn Wargers
4d71b5379f Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00
Ed Morley
62b7aa6b87 Merge mozilla-central and inbound 2014-08-12 17:56:08 +01:00
Ed Morley
05976976d9 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-12 17:05:36 +01:00
Jamin Liu
55bbcf1752 Bug 1036234 - Implement pairing event handlers of BluetoothAdapter. r=btian, r=mrbkap
- EventHandler ondevicepaired;
- EventHandler ondeviceunpaired;
2014-08-12 16:30:42 +08:00
Chris Double
e8ebcb5e39 Bug 1052239 - MSE main thread assertion when seeking - r=kinetik
--HG--
extra : rebase_source : 7127180b4257434d65488f9ca7acbcc77bb77e6c
2014-08-12 15:50:57 +12:00
Bobby Holley
25f875bfcb Bug 1050049 - Implement bindToUntrustedContent attribute restriction. r=smaug 2014-08-11 20:06:55 -07:00
Nigel Babu
7e1903b51c Backed out changeset a471c7c73409 (bug 1036234) for build bustage on A CLOSED TREE 2014-08-12 09:00:08 +05:30
Jamin Liu
c87d6c4079 Bug 1036234 - Implement pairing event handlers of BluetoothAdapter. r=btian, r=mrbkap
- EventHandler ondevicepaired;
- EventHandler ondeviceunpaired;
2014-08-12 10:49:59 +08:00
Matthew Gregan
394638ff0f Bug 1050652 - Implement GetEvictionOffset for WebM reader. r=cajbir 2014-08-10 18:21:00 +12:00
John Schoenick
89496a6645 Bug 1041691 - Cleanup CheckPluginStopEvent, prevent possible leak of running plugin. r=bsmedberg 2014-08-11 17:25:57 -07:00
Wes Kocher
1b1fc072d1 Backed out 4 changesets (bug 1032878) for probably introducing a leak, creating a CLOSED TREE
Backed out changeset 780c948d79f3 (bug 1032878)
Backed out changeset 0cfcc44660a8 (bug 1032878)
Backed out changeset 991f8d5da382 (bug 1032878)
Backed out changeset f54984be223e (bug 1032878)
2014-08-11 14:27:57 -07:00
Trevor Saunders
4849f6e046 bug 1047628 - simplify nsMutationGuard r=smaug 2014-08-01 16:30:58 -04:00
Martijn Wargers
07d6939eea Bug 1032878 - Fix for test_mediatrack_events.html. r=smaug 2014-08-11 11:33:50 -07:00
Martijn Wargers
b4d7b33591 Bug 1032878 - Fix for test_call_start_from_end_handler.html. r=slin 2014-08-10 20:14:03 -07:00
Martijn Wargers
7c512ae6b5 Bug 1032878 - Fix for test_mediarecorder_getencodeddata.html. r=rlin 2014-08-10 20:10:53 -07:00
Martijn Wargers
ab8828526e Bug 1032878 - Fix for various failing mochitest-plain/-chrome tests. r=jmaher, r=akachkach, r=surkov, r=cpearce 2014-08-10 20:03:50 -07:00
William Chen
7f62b7c8dd Bug 1029710 - Add null check for container in ShadowRoot::IsPooledNode. r=smaug 2014-08-11 11:26:52 -07:00
Axel Viala
0d0cb5fed9 Bug 1044584 - Fix incorrect computation of mUploadTransferred. r=bz 2014-07-28 17:19:51 +02:00
Jonathan Kew
31f53d899f bug 1048050 - ignore region (or other) subtags when checking for language-specific casing behavior. r=smontagu 2014-08-11 09:49:11 +01:00
Matthew Gregan
cad5eeec17 Bug 1024858 - Improve buffered range calculation for MediaSource objects. r=cajbir 2014-08-11 16:32:21 +12:00
Chris Pearce
4f59abb8fc Bug 1050582 - Check we're on the correct thread in SetTimerOnMainThread. r=jesup 2014-08-11 14:18:53 +12:00
Matthew Gregan
faca6b37b1 Bug 1050099 - Avoid calling deprecated FindStartTime and instead use buffer's decoded ranges in switching logic. r=cajbir 2014-08-11 14:05:09 +12:00
Matthew Gregan
930455959f Bug 1050083 - Changes to WebM buffered range handling. r=cajbir
Include the frame duration in the range end.  Also handle (ignore) invalid
negative timestamps when parsing.  Include cluster offset in time/data
offset record.  Cluster offset will be used when calculating discard/resync
points in MSE.
2014-08-11 14:05:09 +12:00
Matthew Gregan
7ffcc0cedd Bug 1049318 - Make SourceBuffer eviction less aggressive. r=cajbir 2014-08-11 14:05:09 +12:00
Matthew Gregan
d018ec3efe Bug 1049321 - Move SubBufferDecoder to a new file. r=cajbir 2014-08-11 14:05:06 +12:00
Matthew Gregan
7319f8d88c Bug 1049326 - Partially implement EndOfStream. r=cajbir 2014-08-11 13:21:18 +12:00
Matthew Gregan
5bc8f166b3 Bug 1049327 - Assert that public MSE API is only called from the main thread. r=cajbir 2014-08-11 13:21:18 +12:00
Matthew Gregan
ba475d554e Bug 1049326 - Fix unit conversion of duration and other minor MSE cleanups. r=cajbir 2014-08-11 13:21:18 +12:00
Matthew Gregan
3b17397d0c Bug 1049323 - Tidy up MSE logging. r=cajbir 2014-08-11 13:21:17 +12:00
Matthew Gregan
4ef30b5b03 Bug 1049317 - SBR::ReadFromCache forgot to reset offset. r=cajbir 2014-08-11 13:21:17 +12:00
Matthew Gregan
3b90d46458 Bug 1049323 - Tidy up SourceBufferResource logging. r=cajbir 2014-08-11 13:21:17 +12:00
Matthew Gregan
81e2f21aed Bug 1049317 - Simplify SourceBufferResource::ReadFromCache. r=cajbir 2014-08-11 13:21:17 +12:00
Timothy Nikkel
d73ef825ed Bug 1027741. Run decode complete notification handler for image documentsn on a script runner because they trigger invalidation and decode complete notifications are often dispatched during painting. r=smaug 2014-08-10 13:01:40 -05:00
Brian Birtles
b57ec6a9c0 Bug 1040543 part 6 - Rename mAnimations to mPlayers and likewise for similar local variables; r=bz
Now that we have both AnimationPlayer and Animation in use we need to clarify
which object we are referring to. This patch renames a number of member and
local variables to better reflect whether they point to an AnimationPlayer or an
Animation.

This patch is mostly renaming only with one exception. Since we are touching
a number of local variables used in loops (for looping over the array of
animation players) we take the opportunity to replace a number of instances of
uint32_t with size_t since that is the preferred type for array indices now.
2014-08-10 17:06:48 +10:00
Brian Birtles
d3002fb8dd Bug 1040543 part 2 - Rename ElementAnimationCollection to AnimationPlayerCollection; r=bz 2014-08-10 17:06:46 +10:00
Brian Birtles
0c90999575 Bug 1040543 part 1 - Move/Rename ElementAnimations to dom::AnimationPlayer; r=bz
This patch renames mozilla::ElementAnimations to mozilla::dom::AnimationPlayer
and moves the code from layout/style/AnimationCommon.cpp to
dom/animation/AnimationPlayer.cpp.

It also moves various helper classes needed by AnimationPlayer to
AnimationPlayer.cpp and moves them from the mozilla::css namespace to the
mozilla namespace.

Beyond that, there are no functional changes contained in this patch.

The renaming of various members and variables that used to refer to
ElementAnimation objects but now refer to AnimationPlayer objects--to give them
a more appropriate name--is performed in a subsequent patch.

--HG--
rename : layout/style/AnimationCommon.cpp => dom/animation/AnimationPlayer.cpp
rename : layout/style/AnimationCommon.h => dom/animation/AnimationPlayer.h
2014-08-10 17:06:44 +10:00
Georgios Kontaxis
fc2caab22c Bug 1044181: object loader now annotates classified tracking nodes r=khuey 2014-08-08 15:16:41 -07:00
Vladimir Vukicevic
7dd2f3251a b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00
Paul Adenot
b636eabf1a Bug 1023947 - Revert part of a patch added by mistake, adding back a media file in the content/media manifest. 2014-08-12 13:54:04 +02:00
Ms2ger
5b546538b2 Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst
This also includes a test that mozMatchesSelector is still exposed and works.

--HG--
rename : js/xpconnect/tests/chrome/test_mozMatchesSelector.xul => js/xpconnect/tests/chrome/test_matches.xul
rename : js/xpconnect/tests/mochitest/file_mozMatchesSelector.html => js/xpconnect/tests/mochitest/file_matches.html
2014-08-12 14:30:59 +02:00
Monica Chew
5375d3ad83 Bug 1033871: Check nsIPermissionManager before enabling tracking protection in nsChannelClassifier (r=mcmanus)
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/classifiedAnnotatedFrame.html => toolkit/components/url-classifier/tests/mochitest/allowlistAnnotatedFrame.html
rename : toolkit/components/url-classifier/tests/mochitest/test_classified_annotations.html => toolkit/components/url-classifier/tests/mochitest/test_allowlisted_annotations.html
2014-08-08 13:52:28 -07:00
Wes Kocher
98f9eac6dd Merge m-c to inbound on a CLOSED TREE 2014-08-08 14:15:34 -07:00
Wes Kocher
8052eccfc5 Backed out changeset e79ca6ca1173 (bug 1040905) for conflicting with the merge from mozilla-central CLOSED TREE 2014-08-08 14:14:36 -07:00
Ryan VanderMeulen
1a82bb5835 Merge b2g-inbound to m-c. a=merge 2014-08-08 16:15:22 -04:00
Kartikaya Gupta
77c4e98a0e Bug 1045824 - Ensure the TabChild is sized even if the parent frameloader is created after the reflow is done. r=smaug 2014-08-08 13:23:51 -04:00
Kartikaya Gupta
11a5b6139c Bug 1045824 - Use nsIntRect for passing around a value that is not in app units. r=smaug 2014-08-08 13:23:50 -04:00
Steven Michaud
844fdf04eb Bug 1012949 - Sandbox the OpenH264 plugin for Mac r=rjesup,areinald,ted a=PatchNeedsToLandToday 2014-08-08 11:55:22 -05:00
Qeole
2919450e65 Bug 1040905 - Pass GMP plugin filename as a UTF-8 string. r=bsmedberg 2014-08-07 12:43:00 -04:00
Nicholas Nethercote
a7cf4142b4 Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Blake Wu
b66d0b3c5d Bug 941302 - Part 5: Add Gonk Decoder Module. r=cpearce
From 6832d7208fc72eb8ff6782c87f5831ab3ff5a9bb Mon Sep 17 00:00:00 2001
2014-08-07 17:46:11 +08:00
Blake Wu
a5df92b66f Bug 941302 - Part 3: Changes for adding Gonk Decode Module. r=cpearce
From de67de8646b413bce991789b42d09f398b162b53 Mon Sep 17 00:00:00 2001
2014-08-07 18:23:45 +08:00
Blake Wu
3afc1b9fac Bug 941302 - Part 2: Changes in MediaCodecProxy. r=edwin
From b24f8c0da5baaafad2bbba1bbeee304d5c746631 Mon Sep 17 00:00:00 2001
2014-08-07 18:19:10 +08:00
Birunthan Mohanathas
3e8abfd2e8 Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00
Ehsan Akhgari
444cd1c72e Bug 1050611 - Fix more bad implicit constructors in dom and docshell; r=smaug 2014-08-08 09:49:39 -04:00
Chris Pearce
f7c6083ca7 Bug 1049107 - Fix build with --disable-eme. r=kentuckyfriedtakahe 2014-08-08 14:44:04 +12:00
Chris Pearce
dcc882e43c Bug 1050199 - Support the GMP returning arbitrary audio sample rates and number of channels. r=jesup 2014-08-08 14:44:01 +12:00
Chris Pearce
f9c6ec1be9 Bug 1047107 - Make CDMProxy Close() its GMPDecryptorProxy on Shutdown. r=ehsan 2014-08-08 14:43:54 +12:00
Georgios Kontaxis
9bddbaa73e Bug 1048643: extended nsDocShell with flags to indicate tracking protection status (similar to mixed content blocked/loaded status) 2014-08-07 13:35:03 -07:00
Andrea Marchesini
a87ad490c6 Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan 2014-08-07 17:45:21 -07:00
Martijn Wargers
5f13becd19 Bug 928678 - Hopeful fix for intermittent failure. r=jmaher 2014-08-06 16:37:08 -07:00
Shih-Chiang Chien
b48b057bb2 Bug 1045975 - Use nsIDOMWindowUtils.askPermission in all types of permission request. r=smaug
--HG--
extra : rebase_source : 4a6a3c484373759b6d553e4821f3c43af41d0239
2014-08-01 15:22:20 +08:00
Ryan VanderMeulen
a3bcb78c14 Merge fx-team to m-c. a=merge 2014-08-07 17:24:52 -04:00
Ryan VanderMeulen
82ac6c981d Backed out changeset 8b44017765ac (bug 1045975) for Windows non-unified bustage.
CLOSED TREE
2014-08-07 15:13:54 -04:00
Paul Adenot
ffc6be4255 Bug 1047831 - r=ehsan 2014-08-07 17:02:36 +02:00
Bob Owen
325adb5305 Bug 1046647 - Part 4: Replace nsCxPusher in nsDocShell::AddState. r=bholley 2014-08-05 17:18:30 +01:00
Bob Owen
8de62d70df Bug 1046647 - Part 3: Replace nsCxPusher in nsHandlerData. r=bholley 2014-08-04 17:19:01 +01:00
Bob Owen
14dd48eb0d Bug 1046647 - Part 1: Replace AutoCxPusher in XULDocument::ExecuteScript. r=bholley 2014-08-05 14:57:53 +01:00
Shih-Chiang Chien
afd195982e Bug 1045975 - Use nsIDOMWindowUtils.askPermission in all types of permission request. r=smaug 2014-08-01 15:22:20 +08:00
David Keeler
14eafa8e5d Bug 1036546 - Soft-disable proprietary window.crypto functions via the pref dom.unsafe_legacy_crypto.enabled. r=smaug 2014-08-05 10:48:24 -07:00
Andrea Marchesini
64200120e3 Bug 1048171 - HTTMLMediaElement should not send an AudioChannel 'stop' event when seeking, r=roc 2014-08-07 09:55:58 +02:00