Commit Graph

33445 Commits

Author SHA1 Message Date
Julian Seward
ad864791fd Bug 1055838 - MediaEngineDefaultVideoSource::MediaEngineDefaultVideoSource fails to initialise mCb, mCr. r=tterribe. 2014-08-21 16:26:33 +02:00
JW Wang
5db5af6491 Bug 1054829 - Add debugging logs to MediaDecoder. r=cpearce 2014-08-20 20:13:00 -04:00
Blake Wu
332b9df7e2 Bug 1049325 - Part 2: Notify MediaCodec input EOS and report EOS when getting the last frame. r=edwin 2014-08-21 14:22:39 +08:00
Blake Wu
88bb55ef9f Bug 1049325 - Part 1: Notify decoder for input EOS and report MP4Reader when output EOS is reached. r=cpearce 2014-08-21 14:22:25 +08:00
JW Wang
40cd8eafa2 Bug 832768 - Add logs to debug DirectShowReader::ReadMetadata() failures. r=cpearce 2014-08-24 20:54:00 -04:00
Carsten "Tomcat" Book
1013e0722d Backed out changeset 7a3ee3395e46 (bug 1055427) for wrong commit message 2014-08-25 14:52:11 +02:00
Ted Clancy
4b4225411e Date: Tue Aug 12 08:59:47 2014 -0400
Bug 1055427 - Part 1: Adding KillChild() method to nsIMessageManager. r=sicking
2014-08-23 14:21:00 +02:00
Robert O'Callahan
43fa3946ce Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 39b6d37dbbf138095856954bee583e84cfd971b5
2014-08-23 00:08:14 +12:00
Ryan VanderMeulen
0b6826aac5 Backed out changeset ecf04c6eb4dd (bug 1048579) for xpcshell failures. 2014-08-22 10:08:10 -04:00
Robert O'Callahan
d82cede239 Bug 1048579. Always sniff for media loads. r=bzbarsky
--HG--
extra : rebase_source : 067e99eaad781dec78a772405870b02c195a42e2
2014-08-23 00:08:14 +12:00
Chris Pearce
be16c7d14b Bug 1057201 - Don't dispatch to the MP4Reader's decode task queue to update buffered index, as that confuses the MediaDataDecoders. r=kentuckyfriedtakahe 2014-08-22 18:28:06 +12:00
Ralph Giles
7eaae1d4be Bug 1057110 - Don't log h.264 sample sha1 by default. r=cpearce
This was useful for comparing input between different demuxers
but isn't really necessary now that things are running. Can be
removed when things are more stable.
2014-08-21 16:21:00 -07:00
Ralph Giles
765b1012ad Bug 1057110 - Add separate PRLogModule for AppleDecoderModule. r=cpearce
The apple media decoders are quite noisy. Switching them to their
own "AppleMedia" log module simplifies the output when debugging
demuxer-specific issues.
2014-08-21 16:20:00 -07:00
Matthew Gregan
31342c931e Bug 1056537 - Bustage fix: move DecodeToFirstVideoData back to MediaDecoderReader for now. r=UNDISCLOSED TREETOPS 2014-08-22 15:11:58 +12:00
Matthew Gregan
ac394eccf2 Bug 1056537 - Move MediaDecoderReader::FindStartTime down to only remaining user, OggReader. r=cpearce 2014-08-21 01:16:00 +12:00
Matthew Gregan
1db9ea982a Bug 1056534 - Add logging to stubbed out member functions to speed up debugging. r=cajbir
--HG--
rename : content/media/mediasource/SubBufferDecoder.cpp => content/media/mediasource/SourceBufferDecoder.cpp
rename : content/media/mediasource/SubBufferDecoder.h => content/media/mediasource/SourceBufferDecoder.h
rename : content/media/BufferDecoder.cpp => content/media/webaudio/BufferDecoder.cpp
rename : content/media/BufferDecoder.h => content/media/webaudio/BufferDecoder.h
2014-08-22 14:14:36 +12:00
Chris Pearce
53a822ef94 Bug 1055974 - Enable MP3 decoding in WMF PDM. r=padenot 2014-08-22 13:37:57 +12:00
Trevor Saunders
fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
c2d79a26ff Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Bobby Holley
e9fb2caf27 Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Ryan VanderMeulen
ddfaced990 Bug 906752 - Disable test_audioBufferSourceNodeOffset.html on debug builds. a=test-only 2014-08-21 13:34:19 -04:00
Nathan Froyd
a088ec81d5 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Nathan Froyd
36f456593a Bug 1055114 - convert GMPVideo{Encoder,Decoder} methods to take UniquePtr arguments where appropriate; r=cpearce 2014-08-18 13:11:11 -04:00
Paul Adenot
ea2808de47 Bug 1056032 - Put the test disabling in the right file. 2014-08-21 13:49:54 +02:00
Paul Adenot
af6bd3a2c3 Bug 1056032 - Test that we can decode an mp3 using decodeAudioData. r=ehsan
--HG--
rename : content/media/test/small-shot.mp3 => content/media/webaudio/test/small-shot.mp3
2014-08-20 17:23:24 -04:00
Paul Adenot
3177326fa1 Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
Matthew Gregan
7b785ec741 Bug 1056455 - Move ResourceQueue to a separate header. r=cajbir 2014-08-20 20:14:00 +12:00
Matthew Gregan
358af04c61 Bug 1056452 - Make MediaSource::GetBuffered more readable w.r.t the spec. Improve logging of TimeRanges. r=cajbir 2014-08-20 20:07:00 +12:00
Chris Pearce
909328d103 Bug 1055907 - Delete output sent to MP4Reader while it's flushing, prevents leaks. r=kentuckyfriedtakahe 2014-08-21 16:10:57 +12:00
Chris Pearce
4576b4e87f Bug 1055907 - Ensure HasAudio() works earlier in MP4Reader::ReadMetadata(). r=kentuckyfriedtakahe 2014-08-21 16:10:34 +12:00
Chris Pearce
4a69989063 Bug 1054824 - Detect GMP death in EMEDecryptors. r=edwin 2014-08-21 16:10:11 +12:00
Matthew Gregan
4c8e2f8646 Bug 1055899 - Handle audio decoder resets from a SourceBuffer by switching to the new decoder. r=cajbir 2014-08-21 15:14:48 +12:00
Matthew Gregan
fec10283e4 Bug 1055967 - Log "discarding video frame" message only when we discard frames. r=cpearce 2014-08-20 01:13:00 +12:00
Matthew Gregan
67a276ab9f Bug 1055967 - Fix logging in AudioSink. r=cpearce 2014-08-20 01:12:00 +12:00
Ralph Giles
fa812dc154 Bug 1056408 - Flush local task queues in AppleDecoderModule. r=cpearce
We could still have data pending submission on the local task queue
which would be submitted after we were supposed to have flushed.
2014-08-20 16:38:00 -07:00
Bobby Holley
aeed365b08 Bug 1056271 - Switch to GetEntryGlobal in DOMParser::Init. r=smaug 2014-08-20 17:45:04 -07:00
Ralph Giles
6906403c04 Bug 1056371 - Fix AppleATDecoder dtor counting. r=cpearce
Typo affecting leak detection.
2014-08-20 15:28:00 -07:00
Wes Kocher
b0307a3784 Backed out 2 changesets (bug 1056032) for bustage
Backed out changeset 18b0e0c795d4 (bug 1056032)
Backed out changeset 15caaf563783 (bug 1056032)
2014-08-20 15:30:23 -07:00
Ralph Giles
cd407de8d0 Bug 1056232 - Expect fmp4 pref in canPlayType. r=cpearce
The media.fragmented-mp4.exposed pref affects the support status
of video/mp4 reported by canPlayType. Take this into account
in the mochitest.
2014-08-20 11:06:00 -07:00
Ralph Giles
6855ed43dd Bug 1056288 - Remove unused OggPacketQueue::PushBack. r=cpearce 2014-08-20 13:27:00 -07:00
Nathan Froyd
2faebf4212 Bug 1056288 - Fix thinko in OggPacketQueue. r=cpearce. 2014-08-20 12:44:00 -07:00
Paul Adenot
78eba23820 Bug 1056032 - Test that we can decode an mp3 using decodeAudioData. r=ehsan
--HG--
rename : content/media/test/small-shot.mp3 => content/media/webaudio/test/small-shot.mp3
2014-08-20 17:23:24 -04:00
Paul Adenot
44d5b51305 Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
Ryan VanderMeulen
baca1ac7b9 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Ryan VanderMeulen
556b135ea8 Merge inbound to m-c. a=merge 2014-08-20 16:14:23 -04:00
Roberto A. Vitillo
3eb77a08ed Bug 559505 - Deprecate localstore.rdf and replace it with xulstore. r=enn, sr=bsmedberg
CLOSED TREE
2014-08-19 10:31:00 -04:00
Ed Morley
aae02d523c Merge mozilla-central and fx-team 2014-08-20 15:18:31 +01:00
Ed Morley
acd103862f Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-20 14:46:55 +01:00
Mike Conley
36148f8108 Bug 961362 - DOM Fullscreen API support for e10s. r=smaug,billm. 2014-08-19 16:58:00 -04:00
Ryan VanderMeulen
c6e10de0e1 Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Fabrice Desré
eabd72e065 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Ehsan Akhgari
662027abfa Bug 1055511 - Add a test case for ScriptProcessorNode.passThrough; r=roc 2014-08-20 00:57:37 -04:00
Ehsan Akhgari
c689dbd103 Bug 1055367 - Move the code for AudioNodeStream and AudioNodeEngine to webaudio; r=roc
This code is specific to Web Audio, and is not really part of the
MediaStreamGraph code.  I've always hated how these files being in
two directories gets in the way while hacking on this code.

--HG--
rename : content/media/AudioNodeEngine.cpp => content/media/webaudio/AudioNodeEngine.cpp
rename : content/media/AudioNodeEngine.h => content/media/webaudio/AudioNodeEngine.h
rename : content/media/AudioNodeEngineNEON.cpp => content/media/webaudio/AudioNodeEngineNEON.cpp
rename : content/media/AudioNodeEngineNEON.h => content/media/webaudio/AudioNodeEngineNEON.h
rename : content/media/AudioNodeExternalInputStream.cpp => content/media/webaudio/AudioNodeExternalInputStream.cpp
rename : content/media/AudioNodeExternalInputStream.h => content/media/webaudio/AudioNodeExternalInputStream.h
rename : content/media/AudioNodeStream.cpp => content/media/webaudio/AudioNodeStream.cpp
rename : content/media/AudioNodeStream.h => content/media/webaudio/AudioNodeStream.h
2014-08-20 00:56:31 -04:00
Nigel Babu
493e418c84 Backed out changeset 55ea2c2fb857 (bug 1034368) for bustage 2014-08-19 12:07:01 +05:30
Nigel Babu
2f0df889d5 Backed out changeset 3b0d1e17cad0 (bug 1055408) for bustage 2014-08-19 12:06:42 +05:30
Chris Pearce
b0a8524ff0 Bug 1055408 - Kill GMP timers when entering shutdown. r=jesup 2014-08-19 17:03:11 +12:00
Chris Pearce
f511aad305 Bug 1034368 - Add storage capabilities to GMPs. r=jesup 2014-08-19 17:03:04 +12:00
Anthony Jones
2acb0169a4 Bug 1054153 - Fix MP4 demuxer is init vs buffered range race; r=edwin 2014-08-19 14:13:56 +12:00
Anthony Jones
09a1c22d2a Bug 1049133 - Calculate eviction offset for MP4 instead of guessing; r=kinetik,edwin 2014-08-19 14:13:55 +12:00
Lynn Tran
7bec1a6b6d Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Ehsan Akhgari
aa072a423f Bug 1055286 - Flatten editor/libeditor/text to editor/libeditor; r=poiru
--HG--
rename : editor/libeditor/text/crashtests/403965-1.xhtml => editor/libeditor/crashtests/403965-1.xhtml
rename : editor/libeditor/text/crashtests/580151-1.xhtml => editor/libeditor/crashtests/580151-1.xhtml
rename : editor/libeditor/text/nsInternetCiter.cpp => editor/libeditor/nsInternetCiter.cpp
rename : editor/libeditor/text/nsInternetCiter.h => editor/libeditor/nsInternetCiter.h
rename : editor/libeditor/text/nsPlaintextDataTransfer.cpp => editor/libeditor/nsPlaintextDataTransfer.cpp
rename : editor/libeditor/text/nsPlaintextEditor.cpp => editor/libeditor/nsPlaintextEditor.cpp
rename : editor/libeditor/text/nsPlaintextEditor.h => editor/libeditor/nsPlaintextEditor.h
rename : editor/libeditor/text/nsTextEditRules.cpp => editor/libeditor/nsTextEditRules.cpp
rename : editor/libeditor/text/nsTextEditRules.h => editor/libeditor/nsTextEditRules.h
rename : editor/libeditor/text/nsTextEditRulesBidi.cpp => editor/libeditor/nsTextEditRulesBidi.cpp
rename : editor/libeditor/text/nsTextEditUtils.cpp => editor/libeditor/nsTextEditUtils.cpp
rename : editor/libeditor/text/nsTextEditUtils.h => editor/libeditor/nsTextEditUtils.h
rename : editor/libeditor/text/tests/test_bug1026397.html => editor/libeditor/tests/test_bug1026397.html
rename : editor/libeditor/text/tests/test_bug318065.html => editor/libeditor/tests/test_bug318065.html
rename : editor/libeditor/text/tests/test_bug471319.html => editor/libeditor/tests/test_bug471319.html
rename : editor/libeditor/text/tests/test_bug471722.html => editor/libeditor/tests/test_bug471722.html
rename : editor/libeditor/text/tests/test_bug483651.html => editor/libeditor/tests/test_bug483651.html
rename : editor/libeditor/text/tests/test_bug527935.html => editor/libeditor/tests/test_bug527935.html
rename : editor/libeditor/text/tests/test_bug569988.html => editor/libeditor/tests/test_bug569988.html
rename : editor/libeditor/text/tests/test_bug590554.html => editor/libeditor/tests/test_bug590554.html
rename : editor/libeditor/text/tests/test_bug596001.html => editor/libeditor/tests/test_bug596001.html
rename : editor/libeditor/text/tests/test_bug596333.html => editor/libeditor/tests/test_bug596333.html
rename : editor/libeditor/text/tests/test_bug596506.html => editor/libeditor/tests/test_bug596506.html
rename : editor/libeditor/text/tests/test_bug597331.html => editor/libeditor/tests/test_bug597331.html
rename : editor/libeditor/text/tests/test_bug600570.html => editor/libeditor/tests/test_bug600570.html
rename : editor/libeditor/text/tests/test_bug602130.html => editor/libeditor/tests/test_bug602130.html
rename : editor/libeditor/text/tests/test_bug603556.html => editor/libeditor/tests/test_bug603556.html
rename : editor/libeditor/text/tests/test_bug604532.html => editor/libeditor/tests/test_bug604532.html
rename : editor/libeditor/text/tests/test_bug625452.html => editor/libeditor/tests/test_bug625452.html
rename : editor/libeditor/text/tests/test_bug629172.html => editor/libeditor/tests/test_bug629172.html
rename : editor/libeditor/text/tests/test_bug636465.xul => editor/libeditor/tests/test_bug636465.xul
rename : editor/libeditor/text/tests/test_bug638596.html => editor/libeditor/tests/test_bug638596.html
rename : editor/libeditor/text/tests/test_bug641466.html => editor/libeditor/tests/test_bug641466.html
rename : editor/libeditor/text/tests/test_bug645914.html => editor/libeditor/tests/test_bug645914.html
rename : editor/libeditor/text/tests/test_bug681229.html => editor/libeditor/tests/test_bug681229.html
rename : editor/libeditor/text/tests/test_bug692520.html => editor/libeditor/tests/test_bug692520.html
rename : editor/libeditor/text/tests/test_bug740784.html => editor/libeditor/tests/test_bug740784.html
rename : editor/libeditor/text/tests/test_bug757771.html => editor/libeditor/tests/test_bug757771.html
rename : editor/libeditor/text/tests/test_bug830600.html => editor/libeditor/tests/test_bug830600.html
rename : editor/libeditor/text/tests/test_dom_input_event_on_texteditor.html => editor/libeditor/tests/test_dom_input_event_on_texteditor.html
rename : editor/libeditor/text/tests/test_texteditor_keyevent_handling.html => editor/libeditor/tests/test_texteditor_keyevent_handling.html
2014-08-18 20:59:37 -04:00
Ehsan Akhgari
42de58dbf7 Bug 1007778 - Add a devtools API to make some Web Audio nodes pass through their inputs; r=roc,smaug 2014-08-18 20:12:50 -04:00
Vasanthakumar Pandurangan
3898f15d2e Bug 1053186 - AudioOffloadPlayer: Avoid glitch during start of playback. r=roc 2014-08-18 05:49:51 -07:00
Guilherme Goncalves
d59255b1c1 Bug 1052775 - Abort speech recognition after test_call_start_from_end_handler. r=smaug 2014-08-18 10:25:00 -04:00
Matthew Gregan
46d2b153e2 Bug 1055407 - Accumlate SBR length rather than recomputing on each call. r=cajbir 2014-08-18 21:17:00 +12:00
Matthew Gregan
224c97f923 Bug 1050652 - WebM cluster offset calculation accounted for size of ID incorrectly. r=cajbir 2014-08-18 21:13:00 +12:00
Bill McCloskey
fb22428ced Bug 1050360 - Fix script blocker warning (r=smaug) 2014-08-19 17:24:55 -07:00
Benjamin Smedberg
b7f4211b2c Bug 1054965 - initialize the crash reporter correctly in GMP children; reorder the init method so that mac doesn't early-return it away, r=smichaud
--HG--
extra : rebase_source : 7accc05d988ee8d5b6101c012f2d4e23fa631d75
2014-08-19 15:22:16 -04:00
Ryan VanderMeulen
8df0faf2d0 Merge m-c to inbound. a=merge 2014-08-19 16:25:33 -04:00
Botond Ballo
ffebd18f0b Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Martijn Wargers
3f410e2286 Bug 1024535 - Fix for failing video test on Windows 7. r=jwwang 2014-08-12 16:09:56 -07:00
Junior Hsu
7d22538f76 Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-19 15:14:22 +01:00
Junior Hsu
7b304a0c41 Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-08-19 15:14:08 +01:00
Ed Morley
f060d6c933 Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
fb08385bdd Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Benjamin Chen
ea17f17eb2 Bug 1047022 - Remove manual addref for Session object. Let MediaRecorder hold reference to Session that makes a cycle reference, break it in DestrotedRunnable(). r=roc 2014-08-18 11:42:49 +08:00
Kyle Machulis
87f13ebd35 Bug 1055898 - Readd include of nsIContent.h to nsINodeList.h; r=bz 2014-08-19 19:32:25 -07:00
Ehsan Akhgari
93ef504483 Bug 1055512 - Actually input a stereo buffer into the ScriptProcessorNode in the test case for that node; r=padenot 2014-08-19 15:10:54 -04:00
Bobby Holley
993920dcec Bug 796938 - Switch nsHTMLDocument::Open and XMLDocument::Load to a new GetEntryDocument API and remove nsContentUtils::GetDocumentFromContext. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
b95633b27a Bug 796938 - Switch nsGlobalWindow::Focus to GetEntryGlobal and eliminate nsContentUtils::GetWindowFromCaller. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
ad265a7fcd Bug 951991 - Implement GetEntryGlobal. r=smaug 2014-08-19 12:02:05 -07:00
Christoph Kerschbaumer
3865ff6dd5 Bug 1045902: CSP - log warning and ignore 'reflected-xss' directive (r=grobinson)
--HG--
extra : rebase_source : 9625060894079debd9cee8bc50bdc3b3be1ee18f
2014-07-31 22:24:07 -07:00
Ed Morley
5b13b797b8 Backed out changeset 143ae44587b2 (bug 559505) for xperf failures 2014-08-20 17:10:05 +01:00
JW Wang
5a46ceb4e6 Bug 1054828 - Add logs to MediaDecoderStateMachine for debugging. r=cpearce 2014-08-20 03:26:00 -04:00
Benjamin Chen
e3681d9600 Bug 1033912 - Fix nits and coding style. r=cpearce 2014-08-19 16:14:46 +08:00
Benjamin Chen
c59bde3672 Bug 1033912 - Separate MediaTaskQueues for the video/audio decoding. r=cpearce, r=brsun 2014-08-20 18:17:38 +08:00
Roberto A. Vitillo
94f55c9aaa Bug 559505 - Deprecate localstore.rdf and replace it with xulstore. r=enn, sr=bsmedberg 2014-08-19 10:31:00 -04:00
Ed Morley
a7dbb092ab Merge mozilla-central and inbound 2014-08-20 15:19:09 +01:00
Qeole
74a5929207 Bug 1040905 - Passing GMP plugin filename as a UTF-8 string. r=bsmedberg 2014-08-20 10:13:25 -04:00
Blake Wu
8f9c39edf4 Bug 1055383 Make MP4Reader::Decode not return false if output EOS is not reached. r=cpearce 2014-08-19 11:23:00 +08:00
Bill McCloskey
14b0872617 Bug 1052093 - Child->parent CPOWs should go through COWs in the parent for security (r=bholley) 2014-08-20 12:49:10 -07:00
Julian Seward
4147618357 Bug 1055653 - Most MediaResource::GetDownloadRate() implementions ignore their out-parameter. r=cpearce.
--HG--
extra : rebase_source : 67d5000c51740cedaad69fe22797589b6fcd06b4
2014-08-20 19:28:59 +02:00
Nathan Froyd
52e2e05296 Bug 1055141 - use a UniquePtr for AudioStream's mCubebStream member; r=kinetik 2014-08-18 13:12:08 -04:00
Junior Hsu
784044650f Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-04 09:06:26 +08:00
Junior Hsu
2df665e34c Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-07-03 13:47:09 +08:00
Ryan VanderMeulen
ebe0ceedb6 Bug 1048874 - Remove unnecessary setting of media.webvtt.enabled pref in tests. r=rillian 2014-08-19 08:42:35 -04:00
Ehsan Akhgari
678337b052 Bug 1007776 - Add a devtools API for muting the source AudioNodes; r=roc,smaug 2014-08-19 08:12:43 -04:00
Masayuki Nakano
877aa4d8fb Bug 1053048 Implement nsIEditor.isInEditAction readonly attribute r=ehsan, sr=smaug 2014-08-19 20:54:08 +09:00
Masayuki Nakano
de1f9dee1c Bug 1053048 nsTextEditorState::UnbindFromFrame() should ensure to call nsTextInputListener::EditAction() for updating the content r=ehsan 2014-08-19 20:54:08 +09:00
Chris Pearce
e92607b829 Bug 1055408 - Kill GMP timers when entering shutdown. r=jesup 2014-08-19 20:56:55 +12:00
Chris Pearce
c40e04c991 Bug 1034368 - Add storage capabilities to GMPs. r=jesup 2014-08-19 20:56:33 +12:00
Ted Clancy (:tedders1)
5089d86b4a Bug 1000315 - Part 8: Various tests skip uninstall prompt. r=sicking 2014-06-12 09:53:54 -07:00
Matthew Gregan
feab012c39 Bug 1040563 - Move WaitForData/NotifyGotData from MediaSource to MediaSourceDecoder, which is off-main-thread friendly. r=cajbir
Also remove mMediaSource from MediaSourceReader and rejig SetMediaSourceDuration to go via MediaSourceDecoder and handle mMediaSource being null.
2014-08-25 16:09:44 +12:00
Matthew Gregan
c553b77d97 Bug 1044498 - Improve accuracy of WebM buffered parser. r=cajbir
Store the end offset of the block, rather than the start offset, since a
frame is only usable if we have all of it.  Also compute the start of the
buffered range based on the offset of the block's resync point, since we
can't decode frames unless we have their cluster to resync at and compute
the absolute timecode from.
2014-08-25 16:09:44 +12:00
Matthew Gregan
1efc2a5224 Bug 1044498 - WebMBufferedReader used mBlockOffset in some places where it was intended to use mBlockTimecode. r=cajbir 2014-08-25 16:09:44 +12:00
Matthew Gregan
575706cc59 Bug 1044498 - Extend WebMBufferedParser to handle timecode scale elements in locations other than the first subelement of the segment info element. r=cajbir 2014-08-25 16:09:43 +12:00
Chris Pearce
93e0776b0c Bug 1057883 - Remove bbb unseekable test, since the new MP4 demuxer can seek in it. r=kinetik 2014-08-25 09:45:27 +12:00
Chris Pearce
b2cc6112c2 Bug 1057880 - Don't assume fmp4 backend can play MP4 on WinXP. r=kinetik 2014-08-25 09:45:00 +12:00
Valentin Gosu
077e9036e0 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Ralph Giles
a3a59f109e Bug 1057612 - Tell Apple AAC decoder about seeks. r=cpearce
According to the documentation we should set this flag to
mark data discontinuities after seeking.
2014-08-22 16:39:00 -07:00
Chris Pearce
276e604429 Bug 1016707 - Remove keysystem attribute from source element, as it's no longer in the spec. r=bz 2014-08-23 16:53:04 +12:00
Wes Kocher
a8d80abaf6 Merge m-c to inbound a=merge 2014-08-22 17:05:17 -07:00
Jean-Yves Avenard
a7c14b548e Bug 1056394: OS X: Properly propagate timestamps. r=rillian
This isn't strictly correct, but is non-decreasing except at
seeks and appears to work in practice.
2014-08-22 15:47:00 -07:00
Olli Pettay
d72906c30d Bug 314095 - Eliminate nsIContent::GetDocument, r=jst
--HG--
extra : rebase_source : dd8f690940825b298a478b65b68a57418a9962ff
2014-08-22 23:11:27 +03:00
Seth Fowler
4cd9e3e8e6 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
Bobby Holley
eaebf58731 Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Bobby Holley
1f25582a43 Bug 1052089 - Sprinkle some assert against using nsContentUtils too early. r=billm
And earlier version of these patches called nsContentUtils::GetSystemPrincipal()
too early, which returned null, and caused xpc::CreateSandboxObject to create
an nsNullPrincipal. Let's avoid having that happen again.
2014-08-18 10:57:28 -07:00
Aryeh Gregor
60fbc97021 Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan 2014-08-18 17:44:50 +03:00
Aryeh Gregor
91963e0976 Bug 1010760 - Add nsINode::GetAsText; r=smaug 2014-08-13 14:53:32 +03:00
Aryeh Gregor
32e55cf69e Bug 1052427 - Make nsContentUtils::ASCIIToLower/ASCIIToUpper infallible; r=smaug 2014-08-13 14:53:32 +03:00
Gian-Carlo Pascutto
5f8c4332b2 Bug 929431 - Improve matching of camera capabilities to WebRTC restraints. r=jesup 2014-08-18 14:06:01 +02:00
Jean-Yves Avenard
2816cc4604 Bug 1045591 - Fix media element's autoplay for audio-only stream. r=cpearce
--HG--
extra : rebase_source : 6aa73fd12d362a5eabe6362f8b9c86b41f959f5d
2014-08-18 18:09:19 +10:00
Jean-Yves Avenard
399b759f3e 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
extra : rebase_source : 964077ffa7abd11a5da586bfcdee2ee98d4bc210
2014-08-15 16:25:06 +10:00
Anthony Jones
59cfd2da54 Bug 1022501 - Fix Windows falsely reporting support for MP3 in fragmented MP4. r=cpearce
--HG--
extra : rebase_source : 5cd91bb97d4e2e35b88407c0b3cecdae9bfbd793
2014-07-17 15:52:14 +12:00
Matthew Gregan
f4ad6bfcad Bug 1053674 - Remove subclass of StateMachine and use task queue directly. r=cpearce 2014-08-17 23:29:00 +12:00
Chris Peterson
c45b49542e Bug 1046006 - Remove telemetry for JS versions (JS_MINOR_VERSION). r=till 2014-07-29 23:05:50 -07:00
Matthew Gregan
c81918a3f8 Backed out changeset 0f59a9eb1658 due to bustage. 2014-08-18 17:02:26 +12:00
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