Commit Graph

21412 Commits

Author SHA1 Message Date
Anthony Jones
b17d7cfa2f Bug 1045915 - Add a pref to test streams with a missing ftyp atom; r=kinetik 2014-08-05 18:12:46 +12:00
William Chen
b5232d07d1 Bug 1022866 - Fix insertion point frame for content distributed to insertion points. r=bz 2014-08-04 21:37:25 -07:00
Wes Kocher
8690584308 Backed out 2 changesets (bug 1045909, bug 1045915) for build failures
Backed out changeset 70e3d6723e8e (bug 1045909)
Backed out changeset d137dd97d955 (bug 1045915)
2014-08-04 19:18:34 -07:00
Jed Davis
7bab545482 Bug 1012951 - Add Linux sandboxing for GeckoMediaPlugin processes. r=kang r=ted
--HG--
extra : rebase_source : 1b890000d5b8d2a8954cdd1118a1023eba829c29
2014-08-04 15:11:18 -07:00
Anthony Jones
1d729bea82 Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 13:35:04 +12:00
Anthony Jones
901eef7d13 Bug 1045915 - Add a pref to test streams with a missing ftyp atom; r=kinetik 2014-08-05 13:35:02 +12:00
Mike Hommey
ec54bf6c1f Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Andrew McCreight
edbfabc8f6 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Andrea Marchesini
c8f0c9da87 Bug 1030997 - nsFrameMessageManager should serialize the principal object as nsIPrincipal. r=smaug 2014-08-05 06:54:00 -04:00
Ryan VanderMeulen
658d21669b No bug - Re-enable media crashtests that no longer fail on Android and B2G. 2014-08-05 16:10:41 -04:00
Wes Kocher
7912756da5 Backed out changeset ef8d10dc3927 (bug 1048097) for build bustage on a CLOSED TREE 2014-08-04 16:07:18 -07:00
Wes Kocher
b3604eb0ca Backed out changeset a38bb1a95176 (bug 1048102) for build bustage on a CLOSED TREE 2014-08-04 16:07:08 -07:00
Wes Kocher
7d862f333b Backed out changeset 7b550d45454b (bug 1048104) for build bustage on a CLOSED TREE 2014-08-04 16:06:59 -07:00
Wes Kocher
6f537c630b Backed out changeset 83d8226768ee (bug 1048107) for build bustage on a CLOSED TREE 2014-08-04 16:06:41 -07:00
Chris Pearce
7c9ed0305d Bug 1048107 - Add GMPTimer implementation and placeholder GMP clock. r=jesup 2014-08-05 10:18:31 +12:00
Chris Pearce
44ec4974a4 Bug 1048104 - Add GMPMutex::Destroy(). r=jesup 2014-08-05 10:18:31 +12:00
Chris Pearce
e6ff1eaf1d Bug 1048102 - Delete GMPThreads as they're joined. r=jesup 2014-08-05 10:18:31 +12:00
Chris Pearce
f32c7614e8 Bug 1048097 - Delete the GMPBuffer we send into GMP/CDM for decryption once it's been returned decrypted. r=jesup 2014-08-05 10:18:12 +12:00
Shelly Lin
ae16b3559d Bug 1047307 - Remove the check of onremovetrack in a mochitest. r=roc 2014-08-01 18:49:48 +08:00
Randell Jesup
032f0dc66b Bug 1044408: add missing nit from review r=ted 2014-08-04 10:28:20 -04:00
Syd Polk
b215c6a77c Bug 1036992 - Split up test_seek.html into multiple tests. r=cpearce
--HG--
rename : content/media/test/test_seek2.html => content/media/test/test_invalid_seek.html
2014-07-31 14:37:00 -04:00
Ed Morley
3e549de7c5 Merge mozilla-central and inbound 2014-08-05 16:32:17 +01:00
Benjamin Chen
dabe5ec24b Bug 1043900 - Handle EOS properly. Send EOS to MediaCodec from input source and receive it from output. r=cpearce 2014-08-04 15:52:43 +08:00
Alessio Placitelli
1bc5797367 Bug 1037214 - Throw OOM to the script instead of aborting in FragmentOrElement::GetTextContentInternal. r=bz 2014-08-05 06:10:00 -04:00
Dragana Damjanovic
3cca64b607 Bug 614352 - Change nsXMLHttpRequest to show a correct progress in case of gzip data. r=bz
Now it shows correct amount of data transferred and not the amount of decompressed data.
2014-07-24 01:47:00 -04:00
Dragana Damjanovic
6a9806b987 Bug 1007020 - Also send progress information when connection is LOAD_BACKGROUND. r=bz 2014-08-01 02:10:00 -04:00
Ed Morley
070f2d591a Merge mozilla-central and inbound 2014-08-04 12:23:28 +01:00
Masayuki Nakano
43cb5d25f1 Bug 1046101 part.33 Generate EventClassID with EventClassList.h in EventForwards.h and nsContentUtils should use it instead of uint32_t r=smaug 2014-08-04 14:28:58 +09:00
Masayuki Nakano
0799adcc73 Bug 1046101 part.32 Rename NS_EVENT to eBasicEventClass r=smaug 2014-08-04 14:28:58 +09:00
Masayuki Nakano
ff9f13c01d Bug 1046101 part.31 Rename NS_MUTATION_EVENT to eMutationEventClass r=smaug 2014-08-04 14:28:57 +09:00
Masayuki Nakano
8bb45b8c1f Bug 1046101 part.18 Rename NS_TOUCH_EVENT to eTouchEventClass r=smaug 2014-08-04 14:28:53 +09:00
Masayuki Nakano
29bd521c18 Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
4bc5175b20 Bug 1046101 part.5 Rename NS_KEY_EVENT to eKeyboardEventClass r=smaug 2014-08-04 14:28:48 +09:00
Masayuki Nakano
ce13645793 Bug 1046101 part.3 Rename NS_INPUT_EVENT to eInputEventClass r=smaug 2014-08-04 14:28:47 +09:00
Masayuki Nakano
77d7a1ac4b Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Brad Lassey
35440f6e21 bug 1041700 - add browserWindow and scrollWithPAge to media constraints r=jesup,jib,khuey 2014-07-21 14:57:28 -04:00
Nathan Froyd
b0d8d29205 Bug 1046784 - move -DNOMINMAX definitions to moz.build; r=mshal 2014-07-31 10:41:48 -04:00
Ralph Giles
2e9e69a4dc Bug 1046301 - AppleATDecoder: call DrainComplete. r=cpearce
Propagate changes from bug 1039128.
2014-07-30 16:07:00 -07:00
Ralph Giles
c6fb82a56d Bug 1046301 - AppleVTDecoder: call DrainComplete. r=cpearce
Propagate changes from bug 1039128 and some other cleanup.
2014-07-30 16:06:00 -07:00
Ryan VanderMeulen
80523fd9da Backed out 3 changesets (bug 1022818) for B2G test failures on a CLOSED TREE.
Backed out changeset 9b37b8ae8302 (bug 1022818)
Backed out changeset bfe7d53e220a (bug 1022818)
Backed out changeset 6c5208ca3274 (bug 1022818)
2014-08-01 11:14:14 -04:00
Kearwood (Kip) Gilbert
1fbc95a21a 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
f805743cfc 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
Andrea Marchesini
4f5d14ea08 Bug 1046582 - mochitest for AudioChannel changes in MediaStream objects, r=ehsan, r=bz 2014-08-03 14:46:17 +01:00
Chris Pearce
3c3331c94e Bug 1047824 - Make Apple PDM handle Shutdown() call on non-main thread. r=rillian 2014-08-03 19:29:19 +12:00
Chris Pearce
acf9e6cd5b Bug 1047824 - Call PlatformDecoderModule::Shutdown() in MP4Reader::Shutdown() on the decode task queue. r=kinetik 2014-08-03 19:28:39 +12:00
L. David Baron
a8d012adbf Bug 1045161 patch 1 - Stop implementing ParseAttribute for frame and rules (to parse them to enumerated values) since we no longer map them into style. r=bzbarsky
I don't think this change should be observable to Web content anymore.
(If it is, we should probably fix that as a general issue.)
2014-08-02 19:37:49 -07:00
Chris Pearce
aea84628ca Bug 1047204 - Implement GMPAudioDecoder interface. r=jesup 2014-08-03 09:29:26 +12:00
Chris Pearce
7cc92fb518 Bug 1047205 - Attach crypto info to encoded GMP video frames. r=jesup 2014-08-03 09:29:18 +12:00
Randell Jesup
83443207ef Bug 1047121: Release Window-capture VideoEngine when done; clean up shutdown code r=cpearce 2014-08-02 00:30:51 -04:00
Boris Zbarsky
62f611a939 Bug 886308. Implement Element.matches. r=heycam 2014-08-01 23:37:09 -04:00
Randell Jesup
d922d76394 Bug 1047442: bustage fix (unified builds) rs=bustage,kwierso on a CLOSED TREE 2014-08-01 17:53:59 -04:00
Randell Jesup
251c8f2513 Bug 1047442: Add thread to resolve deadlock on sendCritSect caused by sync Encode dispatch to GMPThread r=pkerr 2014-08-01 17:27:52 -04:00
Paul Adenot
fb61e0a656 Bug 1046930 - Fix loop index when sending the status of the microphone to the AudioStream. r=jesup 2014-08-01 15:29:19 +02:00
Andrew McCreight
7bbd1d79df Bug 1036055 - Make the destructor of HTMLFormElement private. r=smaug 2014-08-01 10:02:30 -07:00
Andrea Marchesini
f551fd6b40 Bug 1044773 - the window can be null when AudioChannelAgent is created, r=roc 2014-08-05 15:05:58 +01:00
Birunthan Mohanathas
9a88a971d8 Bug 1048356 - Add missing <script src="enableTestPlugin.js"> tag to {file_fullscreen-,test_iframe_sandbox_}plugins.html. r=Ms2ger 2014-08-05 06:47:16 -07:00
Ehsan Akhgari
2a5cde4a07 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -04:00
Paul Adenot
bbbfbded9e Bug 1046814 - Propertly set the MediaDecoderStateMachine parameters after its initialization when using a MediaSourceDecoder. r=kinetik 2014-08-05 16:55:02 +02:00
Ryan VanderMeulen
f8ab4ab265 Bug 1048863 - Disable 1028458.html on Android and B2G. 2014-08-05 08:37:22 -04:00
Ryan VanderMeulen
2dd4f9355e Bug 888557 - Skip 459439-1.html on Android for intermittent timeouts. 2014-08-05 08:37:21 -04:00
Ryan VanderMeulen
4d5908e8e7 Bug 1048628 - Skip 0-timescale.html on Android due to being perma-fail. 2014-08-05 08:37:21 -04:00
David Parks
3c4c1db3a0 Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Gijs Kruitbosch
29b05ace2b Bug 1014062 - expose harness parameters via SimpleTest, always use the harness, pass keep-open for single test runs with mach, r=ted,f=bz
--HG--
extra : rebase_source : 494615dbe437053ea65079a2c5016782a7bee0a2
2014-05-22 20:09:21 +01:00
Randell Jesup
2c8b0c22d6 Bug 1049302: Avoid audio delay in B2G audio-video getUserMedia captures r=roc 2014-08-06 01:05:48 -04:00
Bill McCloskey
2200e6f512 Bug 1032592 - Allow principals to be sent with the message manager (r=bent)
--HG--
rename : content/base/test/test_messagemanager_principal.html => content/base/test/test_messagemanager_send_principal.html
2014-08-05 21:46:01 -07:00
Bill McCloskey
b63cf9051e Bug 1042587 - Block scripts when using CPOWs (r=bent) 2014-08-05 21:44:42 -07:00
Bill McCloskey
13debcc241 Bug 1042587 - Warn when script is ignored because of script blocker (r=bent) 2014-08-05 21:44:13 -07:00
Paul Adenot
954f625a00 Bug 1046470 - Only reset low latency stream, and properly unlock the Mutex. r=jesup 2014-08-01 14:12:10 +02:00
Chris Pearce
0d51998ee9 Bug 1047188 - Ensure we only call MediaDataDecoder::Drain() once, and break out of MP4Reader::Decode() when DrainComplete() is called. r=kentuckyfriedtakahe 2014-08-01 16:04:37 +12:00
Cameron McCormack
5f1e8f559d Bug 1046534 - Call DropDocumentReference on a document's CSSLoader before we unlink it. r=dbaron 2014-08-01 10:45:02 +10:00
Ehsan Akhgari
47390ee814 Bug 1045270 - Part 3: Add a test case; r=smaug 2014-07-31 20:27:04 -04:00
Ehsan Akhgari
7b43655435 Bug 1045270 - Part 1: Cache the selection state for the native anonymous text box inside number controls on the number control itself; r=smaug
This is needed because the text control and its nsTextEditorState will
die together with the text control's frame.
2014-07-31 20:25:31 -04:00
Birunthan Mohanathas
fcf56eb7ed Bug 1044445 - Collapse test-only moz.build files under content/ into ancestor moz.build files. r=glandium 2014-07-31 12:54:21 -07:00
Birunthan Mohanathas
b2864e176d Bug 1044445 - Collapse test-only moz.build files under content/media/ into ancestor moz.build files. r=glandium 2014-07-31 12:54:21 -07:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
JW Wang
5df44ffedf Bug 1034957 - don't spin decode task queue waiting for audio frames since it hangs with gstreamer 1.0. r=cpearce 2014-07-30 20:58:00 +02:00
Olli Pettay
00cf47c562 Bug 1024428 - don't crash when using input type='range' in shadow dom. r=wchen 2014-07-30 23:15:44 +03:00
Masayuki Nakano
808c0a4d48 Bug 496360 part.2 IMEContentObserver shouldn't dispatch TextChangeEvent while editor handles an edit action r=ehsan+smaug, sr=smaug 2014-07-31 13:37:59 +09:00
Daniel Holbert
aa377700c6 Bug 1046282 part 4: Make Create*Decoder functions return already_AddRefed. r=rillian 2014-07-30 18:40:21 -07:00
Daniel Holbert
44a462e1a0 Bug 1046282 part 3: Use nsRefPtr instead of RefPtr for DecoderData::mDecoder (and mTaskQueue, for consistency & good measure). r=rillian r=cpearce 2014-07-30 18:40:19 -07:00
Daniel Holbert
9c663b0e34 Bug 1046282 part 2: Drop unnecessary else-after-return in EMEDecoderModule.cpp. r=rillian 2014-07-30 18:40:18 -07:00
Daniel Holbert
07ea0b12df Bug 1046282 part 1: Make Create*Decoder function-signatures use a consistent style. r=rillian 2014-07-30 18:40:14 -07:00
Daniel Holbert
879130a56f (no bug) Move a comment to more appropriate spot, in SVGTransformableElement.h. comment/whitespace-only, DONTBUILD 2014-07-30 14:55:38 -07:00
Randell Jesup
523b21da24 Bug 1044408: enable crashing all GMP plugins on a pref strobe r=cpearce,ted 2014-07-30 17:40:43 -04:00
Sid Stamm
37ef5b48e5 Bug 991474 - Remove selfURI from AppendPolicy after removing the old backend. (r=ckerschb,grobinson) 2014-07-30 14:37:22 -07:00
Sid Stamm
20bf669758 Bug 991468 - Remove isInitialized after we remove the old parser. (r=grobinson,ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
0019b6c74f Bug 994872 - Remove documentPrincipal from nsIContentSecurityPolicy::SetRequestContext. (r=ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
edab85ef33 Bug 994782 - Remove the old Content Security Policy parser, CSPUtils.jsm and tie-in logic. (r=ckerschb,jst) 2014-07-30 14:37:22 -07:00
Ryan VanderMeulen
fe0282dc8f Merge m-c to inbound on a CLOSED TREE. a=merge 2014-07-30 17:16:05 -04:00
Ryan VanderMeulen
879108f360 Merge inbound to m-c. a=merge 2014-07-30 17:13:20 -04:00
Ralph Giles
42bbe06969 Bug 941296 - Fix non-unified build. r=bustage CLOSED TREE
We need to include a headers defining nsrefcnt and NS_IsMainThread(),
and make sure we reference the CMLinker versions of the CoreMedia
functions rather than the system ones.
2014-07-30 11:43:05 -07:00
Masayuki Nakano
ed09b7bff6 Bug 1045978 Create InternalSVGZoomEvent class and InternalSMILTimeEvent class r=smaug 2014-07-31 02:16:57 +09:00
Ralph Giles
f43eae08fb Bug 1043695 - Fix comment formatting. r=cpearce 2014-07-26 23:45:00 -07:00
Andrew McCreight
9d2f3d6535 Bug 1034909 - Remove dangerous public destructor of nsSVGViewBox. r=bjacob 2014-07-30 13:00:28 -07:00
Benoit Jacob
24320668ca Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Daniel Holbert
282beab189 Bug 1046263: Drop EMEDecoderModule.cpp's unused #include for runnable_utils.h (to fix --disable-webrtc builds). r=cpearce 2014-07-30 12:25:27 -07:00
Ralph Giles
b56cc112f0 Bug 1043695 - Add a frame reorder queue. r=cpearce
This fixes the frame drops on test.mp4. For now it just
assumes a reorder depth of 3, but we need to plumb the
actual value through the demuxer.

Based on now-removed code from Edwin's FFmpegH264Decoder.
2014-07-24 17:08:00 -07:00
Ralph Giles
9fcd06be4b Bug 1043695 - Try passing zero for DTS instead of PTS. r=cpearce
Suggestion from ajones to make it fail more obviously if the lack
of DTS values causes a problem. Doesn't seem to make a difference.
2014-07-24 16:58:00 -07:00
Ralph Giles
ac294c190a Bug 1043695 - Log output frame metadata. r=cpearce
Also cleans up the input sample log so they're easier to compare.
2014-07-24 16:57:00 -07:00
Ralph Giles
6ff640055a Bug 1043695 - Wrap FrameRef in an nsAutoPtr. r=cpearce
Everything else auto-releases, might as well do this too.
2014-07-24 16:56:00 -07:00