Commit Graph

18189 Commits

Author SHA1 Message Date
Jan Gerber
3be2d03195 Bug 938686 - Refactor Opus header parsing so it can be reused. r=kinetik
We want to be able to use the same header parser for both the WebM
and Ogg readers.
2013-11-22 14:06:00 -08:00
Ryan VanderMeulen
9e82f773a2 Merge inbound to m-c. 2013-12-02 16:39:00 -05:00
Sotaro Ikeda
bc039bb881 Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec 2013-12-02 10:22:33 -05:00
Ryan VanderMeulen
e24908d616 Backed out changesets 720a36d92d37 and c24da899172a (bug 926746) for frequent timeouts/hangs in test_dataChannel_basicAudio.html. 2013-12-02 14:05:19 -05:00
Ryan VanderMeulen
0464ebbd62 Backed out changeset a1628c9ba4af (bug 929029) for timeouts/crashes in test_dataChannel_basicAudio.html. 2013-12-02 12:12:45 -05:00
Shelly Lin
0aab79cdb8 Bug 945135 - Part 2: Add VideoTrackEncoder. r=roc 2013-12-02 15:52:54 +08:00
Michael Shuen
bc35fec154 Bug 942979 - Stop crashing in nsContentUtils::GetCommonAncestor. r=bzbarsky 2013-12-02 13:38:51 -05:00
Daniel Holbert
8fd696c293 backout 01a00ce2b662 (Bug 940381) since its mochitest tweaks may make things less robust instead of more robust 2013-12-02 09:59:38 -08:00
Ben Kelly
65d746dcce Bug 932418: Don't create and throw away prompt when setting cookie string. r=bz 2013-12-02 12:47:57 -05:00
Paul Adenot
1aa9205cb3 Bug 944707 - Stop locking when getting the preferred samplerate from the AudioStream. r=kinetik
--HG--
extra : rebase_source : 7c9f858a63c41037fd44a85457cbf401f63c07a9
2013-12-02 15:58:11 +01:00
Jon Coppeard
8df69733b1 Bug 944675 - Fix some spurious rooting hazards in WebGL. r=bjacob 2013-12-02 11:55:25 -05:00
Jan Gerber
bd090158c7 Bug 938686 - Make OggReader::DownmixToStereo public static. r=rillian
We want this to be available to the WebM reader as well.
2013-11-14 10:16:00 -08:00
Blake Kaplan
72f57b32df Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. Also protect ourselves from resuming events on a closed window. r=smaug 2013-12-02 15:38:36 -08:00
Ehsan Akhgari
cac50838e0 Bug 945463 - Fix non-unified build of FragmentOrElement.cpp; r=glandium 2013-12-02 17:33:15 -05:00
Ryan VanderMeulen
e57afbe1f2 Merge m-c to inbound. 2013-12-02 16:58:15 -05:00
Edwin Flores
2dcc290033 Bug 918135 - More tests for MP3FrameParser r=cpearce
This patch introduces two more MP3 test cases to exercise MP3FrameParser:
* vbr-head.mp3: This file contains a Xing header which gives an exact duration
    of 10 seconds. However, it only contains 4 MP3 frames total for a real
    duration of around 1 second. It is expected that we read the Xing header
    and report 10 seconds.
* huge-id3.mp3: This file contains more than 130KB of ID3 tags. When we search
    for MP3 frames, we give up after X KB of non-MP3 data. ID3 tags should not
    count towards the non-MP3 count, since they can be very large. This test
    case makes sure the skipping of ID3 tags works correctly.
2013-12-03 10:25:28 +13:00
Edwin Flores
ad6b57b100 Bug 918135 - Reduce MAX_SKIPPED_BYTES in MP3FrameParser r=cpearce
Now that we have stopped counting ID3 tags towards our count of non-MP3 data in
the MP3 frame parser, our threshold for claiming a stream is not MP3 can be far
lower than before.
2013-12-03 10:25:28 +13:00
Edwin Flores
740ce45445 Bug 918135 - Use MP3FrameParser in GStreamer backend for MP3 duration estimation r=cpearce
This patch adds support for our home-grown MP3 frame parser to the GStreamer
backend so that our duration estimation is consistent across all platforms.
2013-12-03 10:25:28 +13:00
Edwin Flores
39b4d9dbec Bug 918135 - Windows-specific changes for MP3FrameParser refactor r=cpearce 2013-12-03 10:25:27 +13:00
Edwin Flores
6510155080 Bug 918135 - Parse VBR headers in MP3FrameParser for calculating exact duration r=cpearce
This patch adds support for Xing and VBRI headers to MP3FrameParser so that we
can calculate the exact duration of an MP3 file if these headers are present.
It is also now more robust against large ID3 tags and discontinuities in input.
2013-12-03 10:25:27 +13:00
Shelly Lin
b594415261 Bug 945135 - Part 1: Refactor of TrackEncoder and AudioTrackEncoder. r=roc 2013-11-12 10:29:09 +08:00
Ryan VanderMeulen
b391dde096 Merge m-c to b2g-inbound. 2013-12-02 10:38:28 -05:00
Carsten "Tomcat" Book
1258a9335b merge b2g-inbound to mozilla-central 2013-12-02 12:46:24 +01:00
Robert O'Callahan
b55ef5ba0d Bug 938022. Part 6: Have MediaDecoder/MediaDecoderStateMachine that's producing a MediaStream use that stream's current time as the media clock. r=padenot
We monitor the stream's output current time via a new MediaStreamListener
owned by DecodedStreamData. We also track its main-thread Finished status.
While we're writing to a DecodedStreamData stream that hasn't finished its
output, we stay in the DECODER_STATE_COMPLETED state so we can keep updating
video and firing timeupdates.

GetClock() uses the DecodedStreamData stream's current time as the source for
the clock if there is one.

--HG--
extra : rebase_source : aba1d092d3d347e26ebd823d61fcbfa40a8cd1fe
2013-12-02 10:09:06 +13:00
Sotaro Ikeda
5dea3e9bb1 Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec 2013-12-02 10:22:33 -05:00
Steven Lee
3ef5b00db7 Bug 926746 - Part 2: nsContentPermissionHelper set grant information to GonkPermission. r=jesup 2013-12-02 10:21:51 -05:00
Robert O'Callahan
81716d992d Bug 938022. Part 5: Add aCurrentTime parameter to MediaStreamListener::NotifyOutput and fire notifications when the MediaStreamGraph is in a good state. r=padenot
--HG--
extra : rebase_source : 79edce8650fdb7af315df5006ec3b91dc9fd869f
2013-11-26 00:59:49 +13:00
Robert O'Callahan
f2b4eea4b6 Bug 938022. Part 4: Add MediaTimeToMicroseconds. r=cpearce
--HG--
extra : rebase_source : 4c28f1b4babfbccc86bdacb9cc54810a307da8bb
2013-11-26 00:57:26 +13:00
Robert O'Callahan
e5c1cd3332 Bug 938022. Part 3: Add some MOZ_OVERRIDEs. r=cpearce
--HG--
extra : rebase_source : 66bd138f4a0bde5bb2494a157021a556d1267079
2013-11-26 00:57:25 +13:00
Robert O'Callahan
96642f41df Bug 938022. Part 2: Block captured MediaStream when the MediaDecoderStateMachine is not playing. r=cpearce
--HG--
extra : rebase_source : 01d887b3b5917b7c51a286d61feb10e7b2426d9a
2013-11-23 22:48:24 +13:00
Robert O'Callahan
6748566aed Bug 938022. Part 1: Update mAudioEndTime from SendStreamData. r=cpearce
--HG--
extra : rebase_source : 2cbb5dcbe4d97e21f276559c5fb7dac99d919a2b
2013-11-23 00:33:24 +13:00
Jonathan Watt
2d1f313e21 No bug. Disabled test_input_number_mouse_events.html and test_input_number_rounding.html completely while I figure out why the syntax for disabling them on B2G and Android isn't working. 2013-12-01 16:35:56 +00:00
Jonathan Watt
eec4f03320 Bug 943047 - Undo addressing of bogus review comment.
--HG--
extra : rebase_source : 7e919db02474e7632b9eacb0c66b6f255dcc8d07
2013-12-01 14:43:26 +00:00
Jonathan Watt
e3b016c367 Bug 943047 - Stop <input type=number> from taking focus twice, and enable tabbing backwards through focusable items. r=smaug 2013-12-01 13:49:10 +00:00
Jonathan Watt
5f5f7f6466 Bug 935501 - Get pointer events working for <input type=number>'s spin up/down buttons. r=smaug 2013-12-01 13:49:10 +00:00
Jonathan Watt
1eaff6defb Bug 935506 - Increase/decrease the value of <input type=number> in response to the up/down arrow keys. r=smaug 2013-12-01 13:49:10 +00:00
Jonathan Watt
8494dddee4 Bug 771559 - Make <input type=number>'s number parsing conform to HTML5's "valid floating point number" format. r=smaug 2013-12-01 13:49:09 +00:00
Carsten "Tomcat" Book
88a91eeea2 merge b2g-inbound to mozilla-central 2013-11-29 10:19:20 +01:00
Ms2ger
a129edb4cb Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
f56294acdb Bug 937258 - Part a: Remove empty makefiles; r=gps 2013-11-28 15:25:40 +01:00
Ms2ger
69eb22ce8d Bug 925887 - Part b: move mochitests in content/xul/templates into manifests; r=jst 2013-11-28 15:03:16 +01:00
Ms2ger
f3e4ac0351 Bug 925887 - Part a: move some mochitests in content/ to manifests; r=jst 2013-11-28 15:03:16 +01:00
Matthew Gregan
358b7e64f0 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Benjamin Peterson
168ae22e9f backout dc9ebdf27e98 (bug 942657) for bustage 2013-11-28 20:50:16 -06:00
Matthew Gregan
647694fec9 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Olli Pettay
e5bac62129 Bug 944125 - test_bug602962.xul is racy, r=ehsan
--HG--
extra : rebase_source : 183ab49a00239b39518ee67cb547caa1fac9333e
2013-11-28 18:49:24 +02:00
Cameron McCormack
954f1ee61a Bug 922669 - Part 10: Don't capture the <input> element when dragging a range control's thumb. r=jwatt 2013-11-28 17:46:40 +11:00
Carsten "Tomcat" Book
45d2ff3464 Merge m-c to b2g-inbound 2013-11-28 14:48:55 +01:00
Fabrice Desré
619c5db6bd Bug 938023 - Implement the download API : Part 2, implementation. r=auswerk 2013-11-27 23:18:08 -08:00
Dan Glastonbury
0cc0720b2e Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob 2013-11-26 13:25:25 +10:00
Nicholas Nethercote
75e9a9bbf9 Bug 936964 (part 6, attempt 2) - Rename WebGLMemoryReporterWrapper as WebGLMemoryTracker. r=bjacob.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : a1acb54039e2273319d91cf705fb2a0b3eaa068c
2013-11-25 16:03:38 -08:00
Nicholas Nethercote
3f4437a167 Bug 936964 (part 5, attempt 2) - Make WebGLMemoryReporterWrapper ref-counted. r=bjacob.
--HG--
extra : rebase_source : 034998bcb782f683d9770f18ba64922fd3d1b8f5
2013-11-25 16:01:52 -08:00
Nicholas Nethercote
df39d9afe9 Bug 936964 (part 4, attempt 2) - Make MediaMemoryTracker ref-counted. r=kinetik.
--HG--
extra : rebase_source : fb032c262779678a33baa80700f448d3c9c469d3
2013-11-25 16:01:31 -08:00
Markus Stange
8d0cd3b135 Bug 944383 - Pass around SourceSurfaces instead of gfxASurfaces for feImage input images. r=jwatt 2013-11-28 15:38:43 +01:00
Ehsan Akhgari
da8b3ef6df Bug 944380 - Build content/xml in unified mode; r=glandium 2013-11-28 08:47:34 -05:00
Ehsan Akhgari
7bba8eaeec Bug 944378 - Build content/media/webspeech/synth/pico in unified mode; r=glandium 2013-11-28 08:46:23 -05:00
Olli Pettay
08427b8620 Bug 944192 - Optimize out common cases when calling nsContentList::ContentAppended , r=bz 2013-11-28 14:10:39 +02:00
Olli Pettay
c9ad6cea44 Bug 944149 , Optimize ComparePosition, r=bz 2013-11-28 14:07:43 +02:00
Wes Kocher
16b93cae53 Merge b2g-inbound to m-c 2013-11-26 19:34:07 -06:00
Daniel Holbert
e34fcf2257 Bug 653571 followup: Fix typo in code comment for SVGPathDataAndInfo::IsIdentity. DONTBUILD because comment-only. 2013-11-26 11:36:40 -08:00
Birunthan Mohanathas
dc6458d160 Bug 943446 - Rename SVGPathDataAndOwner to SVGPathDataAndInfo for consistency. r=dholbert 2013-11-26 14:30:18 -05:00
Birunthan Mohanathas
849dcb2436 Bug 653571 - Add IsIdentity() function to SVG{Length,Point}ListAndInfo. r=dholbert 2013-11-26 14:29:10 -05:00
Randy Lin
19e505c45a Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Henri Sivonen
82e9f8f936 Bug 852909 part 1 - Make media documents say they always ignore the character encoding menu. r=smaug. 2013-11-26 09:31:52 +02:00
Henri Sivonen
941bbef0ec Bug 919935 - Add a deCOMtaminated way to instantiate nsIUnicodeDecoders and nsIUnicodeEncoders. r=emk. 2013-11-26 09:31:52 +02:00
Boris Zbarsky
a68924fda0 Bug 935855 part 1. Add a [StoreInSlot] WebIDL annotation to bindings. r=peterv 2013-11-25 20:59:34 -05:00
Bobby Holley
a3e50ba0c9 Bug 928616 - Clean up JS_CopyPropertiesFrom. r=jorendorff 2013-11-25 15:35:22 -08:00
Robert Longson
5bfde7b612 Bug 937614 - simplify nsSMILParserUtils. r=dholbert 2013-11-25 19:46:20 +00:00
Ryan VanderMeulen
e00ec7bb58 Merge m-c to inbound. 2013-11-25 14:23:48 -05:00
Ryan VanderMeulen
f78e36ac4a Merge inbound to m-c. 2013-11-25 14:13:56 -05:00
Carsten "Tomcat" Book
e4de02ad27 Merge m-c to b2g-inbound 2013-11-25 15:37:21 +01:00
John Daggett
d1eb2f6076 Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame 2013-11-25 13:59:56 +09:00
Benjamin Smedberg
694253ff89 Bug 941908 - Crash in nsIDocument::IsActive becuse of a null document. This would assert in debug builds, but use a wallpaper null-check in release builds also, r=johns 2013-11-25 12:08:37 -05:00
Randy Lin
49b38b189e Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc 2013-11-25 12:57:52 +13:00
Chia-hung Tai
adafc46c73 Bug 921918 - 2/4: DOM implementation. r=khuey 2013-11-25 18:54:59 +08:00
Carsten "Tomcat" Book
1d8644ba1c Backed out changeset 94f875f9a8de (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:56:24 +01:00
Chia-hung Tai
65f2b95643 Bug 921918 - 2/4: DOM implementation. r=khuey 2013-11-25 15:19:23 +08:00
Olli Pettay
fa64f21519 Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Phil Ringnalda
a147287a80 Back out 89c3bfc7d873:58bfa3b59c2c (bug 673569) because bug 682048 is coming out
CLOSED TREE
2013-11-24 10:31:26 -08:00
Ehsan Akhgari
5a56056193 Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa 2013-11-24 01:29:24 -05:00
Bill McCloskey
ccc9dfbb13 Bug 673569 - Address review feedback (r=Waldo) 2013-11-23 21:35:54 -08:00
Bill McCloskey
fb231de2be Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Benoit Jacob
19ed4e888a Bug 938411 - Check for lost context in PresentScreenBuffer - r=jgilbert 2013-11-23 21:21:45 -05:00
Benoit Jacob
408ab9b951 Bug 924600 - WebGL.getUniform should not throw - r=jgilbert 2013-11-23 21:20:48 -05:00
Benoit Jacob
bc4b90e06f Bug 935303 - WebGL.texImage2D should not throw when passed a not-yet-loaded image - r=jgilbert 2013-11-23 21:20:48 -05:00
Benoit Jacob
21d9f061c3 Bug 924382 - Allow getting the integer type corresponding to a MOZ_BEGIN_ENUM_CLASS - r=Waldo 2013-11-23 21:20:38 -05:00
Deian Stefan
9151912829 Bug 935690 - InitCSP checks SetCsp failure. r=bz 2013-11-20 21:05:34 -08:00
Henri Sivonen
9a664db15c Bug 863728 - Implement the replacement encoding. r=emk. 2013-11-25 10:06:56 +02:00
Deian Stefan
ccc5b61f69 Bug 941404 - Data documents should not set CSP, r=bz 2013-11-21 21:16:00 -08:00
Deian Stefan
a022cb82af Bug 886164 - Enforce CSP in sandboxed iframe, r=grobinson 2013-11-22 15:12:00 -08:00
Garrett Robinson
b5d4da9ac2 Bug 934062 - Move call to waitForExplicitFinish to avoid race condition r=sstamm 2013-11-22 13:41:45 -08:00
Ryan VanderMeulen
2ab6caa2dc Merge m-c to inbound. 2013-11-22 15:37:03 -05:00
Ryan VanderMeulen
d7e49cc136 Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Olli Pettay
f7f482c7cc Bug 941888 - Add null check to nsXULElement::GetWindowWidget(). r=mats
--HG--
extra : rebase_source : 5f6eb7ca02a0075e10552f466eca5ca4d47d089a
2013-11-22 10:40:31 -05:00
Chris Pearce
d56b819726 Bug 941857 - Only build WMFPlatofrmDecoderModule when MOZ_WMF is defined. r=kinetik
--HG--
extra : rebase_source : a9a8741540560d7591261f2a68dd68fce956e6f5
2013-11-22 10:36:02 -05:00
Michael Shuen
1243a434b6 Bug 940832 - Build content/mathml/content/src in unified mode. r=bzbarsky
--HG--
extra : rebase_source : 66933306a84171b5f93cb9e26eb3d9ad5c0f9b9d
2013-11-22 10:35:07 -05:00
Trevor Saunders
280dc2e3ce bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob 2013-11-22 14:45:50 -05:00
Dan Glastonbury
bdf124b686 Bug 939368 - Add lost context check to WebGLContext::DrawBuffers() to stop NULL
ptr dereference inside ErrorInvalidValue(). r=jgilbert

--HG--
extra : rebase_source : f828512ff3026840794b023c8d0ef98f8700f24c
2013-11-21 16:53:00 +10:00
Oleg Romashin
dcf2fedc56 Bug 822898 - Implement pointer events. Basic Tests. r=smaug 2013-11-22 07:12:01 -08:00
Jonathan Watt
7549f1a3e5 Bug 927435 - When a user types into <input type=number>'s anonymous text control, update the value of the <input type=number> as appropriate. r=smaug 2013-11-22 13:24:53 +00:00