Commit Graph

18578 Commits

Author SHA1 Message Date
Rick Eyre
2837cf469c Bug 950049 - Rename VTTCue::TextTrackCueAlign to AlignSetting. r=rillian 2013-12-13 09:44:50 -05:00
Alessio Placitelli
263ae0626a Bug 943519 - Using moz_malloc/free/realloc instead of nsMemory::Alloc/Free/Realloc (fallible allocations); r=bsmedberg
* * *
Bug 943519 - Propagate allocation errors back to nsGenericDOMDataNode::SetTextInternal; r=hsivonen
* * *
Bug 943519 - Renamed bool rv variables to bool ok as suggested by reviewer; r=hsivonen
2013-12-19 09:09:00 -05:00
Henri Sivonen
7447361f80 Bug 945189 - Finish sjs response explicitly using XHR instead of relying on a timer. r=bzbarsky. 2013-12-19 12:38:39 +02:00
Ryan VanderMeulen
5df86bb751 Merge m-c to inbound. 2013-12-18 21:28:22 -05:00
Ryan VanderMeulen
9c7c648b58 Merge b2g-inbound to m-c. 2013-12-18 21:27:05 -05:00
Ryan VanderMeulen
551f4e8d70 Backed out changesets 58db1fb509be and 7301ccf7e0be (bug 947391) for Android xpcshell orange. 2013-12-18 19:41:29 -05:00
Randy Lin
f60bb6d1ec Bug 879669 - Part 4: Stop can cancel the initialization of start method, change to check the blob case by case. r=roc, r=jsmith 2013-12-18 12:14:44 +08:00
Randy Lin
f0c1dd71b7 Bug 879669 - Part 3: Start recording when tracks have been added. r=roc 2013-12-18 18:39:45 +08:00
Steve Workman
1b453790e2 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Robert O'Callahan
c227b8935c Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats
--HG--
extra : rebase_source : 59ce23c3ab81afc624921e4543fe48dd7ae47ce2
2013-12-18 18:37:24 +13:00
Honza Bambas
16098291b0 Bug 917423 - HTTP cache v2: Migrate Wyciwyg to the new cache API, r=michal 2013-12-18 17:06:40 +01:00
Paul Adenot
c11c0c60e1 Bug 936784 - Only mute on Shutdown if the AudioContext is not an OfflineAudioContext. 2013-12-18 16:07:37 +01:00
Paul Adenot
0f3fd2b88f Bug 936784 - Don't overbuffer in the MSG on AudioContext shutdown. r=roc,ehsan 2013-12-17 16:15:07 +01:00
Jan de Mooij
f12896cd3b Bug 922681 part 2 - Add some innerHTML tests. r=bz
--HG--
extra : rebase_source : 6cd96f0eecd0b2003e23805d8072ecc834dfea55
2013-12-18 11:01:49 +01:00
Phil Ringnalda
29350e47dd Back out f55504b0184f (bug 950427) for mochitest-4 and mochitest-oth bustage (at least)
CLOSED TREE
2013-12-17 23:22:20 -08:00
Robert O'Callahan
5e9047d2fe Bug 950427. Don't descend into subdocuments at all in elementFromPoint. r=mats 2013-12-18 18:37:24 +13:00
Chris Pearce
822f12eb46 Bug 938107 - Wait for media state machine thread to shutdown during XPCOM shutdown before returning. r=roc
Add a MediaShutdownManager and have that as the only xpcom-shutdown
observer. This then shutsdown the MediaDecoders, and blocks waiting for
the media state machine's shared thread to complete shutdown before
exiting from the xpcom-shutdown observer. This ensures that the
MediaDecoder infrastructure does not use XPCOM on any thread after XPCOM
has shutdown, which is a logical error.
2013-12-18 16:59:11 +13:00
Masayuki Nakano
b4c0d6b0fe Bug 950559 part.1 nsContentEventHandler should set plugin's rect to query editor rect event if plugin has focus r=smaug 2013-12-18 10:43:11 +09:00
Blake Kaplan
8e23aa0ed3 Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. r=smaug 2013-12-17 16:12:33 -08:00
Ryan VanderMeulen
81208466f0 Merge m-c to inbound. 2013-12-17 16:20:31 -05:00
Ryan VanderMeulen
e23824be7a Merge inbound to m-c. 2013-12-17 15:58:24 -05:00
Olli Pettay
fdce533589 Bug 950930 - Don't run scripts without mBoundElement. r=bz 2013-12-17 11:46:33 -05:00
Markus Stange
7433f2e788 Bug 888615 - [Australis] Add a drawtitle attribute for XUL root elements. When drawtitle="true" is set, even drawintitlebar windows will have a window title. r=roc, r=smichaud 2013-12-17 17:11:13 +01:00
Randy Lin
d2ab1b4eaf Bug 879669 - Part 2: Let Encoder can support various mimeType. r=roc 2013-12-10 15:24:51 +08:00
Fabrice Desré
765ebb0c7e Bug 938023 - Implement the download API : Part 2, implementation. r=auswerk 2013-11-27 23:18:08 -08:00
Ehsan Akhgari
e363f2fa61 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Ehsan Akhgari
ed1c88b67a Bug 949445 - Part 1: Move selectionLanguageChange to nsISelectionPrivate; r=bzbarsky 2013-12-17 09:12:17 -05:00
Jan de Mooij
468b4b4f84 Bug 922681 - Add SetInnerHTML fast path for short strings with no markup. r=bz 2013-12-17 14:58:32 +01:00
Mats Palmgren
a184afb8e4 Bug 950444 - Fix some indentation and code style issues in setRangeText. r=ehsan 2013-12-17 13:30:24 +00:00
Mats Palmgren
ed57b8be57 Bug 950444 - Make setRangeText() work for a collapsed range. r=ehsan 2013-12-17 13:30:24 +00:00
Henri Sivonen
5e2f48e8d2 Bug 848842 - Stop using heuristic detection in the File API. r=bzbarsky. 2013-12-17 12:47:25 +02:00
Tim Taubert
32d1e88736 Bug 786347 - Tests for <a ping> implementation r=bz
From 0023364806ae433e55d42a915a9d47e2f18df558 Mon Sep 17 00:00:00 2001
2013-12-15 01:32:17 +01:00
Eric Chou
f1a9b94f89 Bug 942104 - Add nsIDOMBluetoothDiscoveryStateChangedEvent, r=gyeh 2013-11-30 20:20:17 +08:00
Eric Chou
c3bbf2aa77 Bug 942104 - Add an event "ondiscoverystatechanged", r=gyeh, sr=mrbkap 2013-11-30 20:20:17 +08:00
Carsten "Tomcat" Book
fe7f922466 merge b2g-inbound to mozilla-central 2013-11-29 10:19:20 +01:00
Ms2ger
cf53814bbc Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
554db665e5 Bug 937258 - Part a: Remove empty makefiles; r=gps 2013-11-28 15:25:40 +01:00
Ms2ger
ad24f0925f Bug 925887 - Part b: move mochitests in content/xul/templates into manifests; r=jst 2013-11-28 15:03:16 +01:00
Ms2ger
3c6184d748 Bug 925887 - Part a: move some mochitests in content/ to manifests; r=jst 2013-11-28 15:03:16 +01:00
Matthew Gregan
96b0a6e352 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Benjamin Peterson
479abf96d4 backout dc9ebdf27e98 (bug 942657) for bustage 2013-11-28 20:50:16 -06:00
Matthew Gregan
8ed6660e86 Bug 942657 - Devirtualize AudioStream. r=doublec,gps 2013-11-28 18:09:08 +13:00
Olli Pettay
14a059f4d9 Bug 944125 - test_bug602962.xul is racy, r=ehsan
--HG--
extra : rebase_source : 183ab49a00239b39518ee67cb547caa1fac9333e
2013-11-28 18:49:24 +02:00
Cameron McCormack
ce88b40019 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
3694fef2cc Merge m-c to b2g-inbound 2013-11-28 14:48:55 +01:00
Dan Glastonbury
3fd4360014 Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob 2013-11-26 13:25:25 +10:00
Nicholas Nethercote
c1d4029597 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
ce427b171e 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
bc78290462 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
Bill McCloskey
c36ad87d02 Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Ehsan Akhgari
2a1c0c4590 Bug 950840 - Rename some logging macros in content/media/wmf; r=cpearce 2013-12-17 14:43:29 -05:00
Gregory Szorc
461b5aef7e Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Randy Lin
7ddd2acb4f Bug 879669 - Part 1: Don't callback if there is no track in MediaStream. r=roc 2013-11-23 09:14:29 +13:00
Matt Woodrow
713759c136 Bug 940811 - Enable the gradient cache for canvas. r=Bas 2013-11-20 16:50:46 +13:00
Bobby Holley
75db31a8d0 Bug 950909 - Tests. r=smaug 2013-12-19 18:08:07 -08:00
Matthew Gregan
4ae6fd0723 Bug 948269 - Split MediaDecoderStateMachine::AudioLoop out into new AudioSink class. r=cpearce 2013-12-20 13:52:06 +13:00
Honza Bambas
a4409ebc32 Bug 918880 - MaybeAllowOfflineAppByDefault must work on child processes, r=jduell 2013-11-19 23:15:59 +01:00
Alfredo Yang
8df1fa2248 Bug 891704 - Add ISO media container muxer. r=cpearce 2014-01-02 10:39:24 -05:00
Markus Stange
d0ceef6534 Bug 944383 - Pass around SourceSurfaces instead of gfxASurfaces for feImage input images. r=jwatt 2013-11-28 15:38:43 +01:00
Ehsan Akhgari
dd80c9bd1a Bug 944380 - Build content/xml in unified mode; r=glandium 2013-11-28 08:47:34 -05:00
Ehsan Akhgari
cf46a71d76 Bug 944378 - Build content/media/webspeech/synth/pico in unified mode; r=glandium 2013-11-28 08:46:23 -05:00
Olli Pettay
1201f28bf0 Bug 944192 - Optimize out common cases when calling nsContentList::ContentAppended , r=bz 2013-11-28 14:10:39 +02:00
Olli Pettay
8fe8444a1e Bug 944149 , Optimize ComparePosition, r=bz 2013-11-28 14:07:43 +02:00
Rick Eyre
2488f7f69c Bug 921484 - Fix bugs found in TextTrack::GetActiveCues(); r=rillian
* mDirty needs to be set to false after the list has been recomputed.
* The loop that adds cues to the list doesn't work properly when the
  list has become dirty as we check if endTime < playback time and
  since we start from pos 0 we will never get past the first cue.
2013-12-13 10:09:33 -05:00
Brendan Long
2d0fd1214e Bug 882703 - Add TextTrackList change event; r=rillian,bz 2013-12-17 23:19:09 -06:00
Deian Stefan
427725af30 Bug 845057 - Part 3: Use the parsed attribute in ParseSandboxAttributeToFlags; r=bz 2013-12-19 13:35:25 -08:00
Deian Stefan
150d1f188e Bug 845057 - Part 2: Tests (sanity checking sandbox DOMSettableTokenList attribute); r=bz 2013-12-17 20:57:43 -08:00
Deian Stefan
6dfc4fa5ca Bug 845057 - Part 1: Use DOMSettableTokenList for iframe.sandbox; r=bz 2013-12-18 13:42:24 -08:00
Wes Kocher
5517bc7312 Merge b2g-inbound to m-c 2013-11-26 19:34:07 -06:00
Daniel Holbert
740fba501a 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
791fdd4645 Bug 943446 - Rename SVGPathDataAndOwner to SVGPathDataAndInfo for consistency. r=dholbert 2013-11-26 14:30:18 -05:00
Birunthan Mohanathas
4545553b41 Bug 653571 - Add IsIdentity() function to SVG{Length,Point}ListAndInfo. r=dholbert 2013-11-26 14:29:10 -05:00
Randy Lin
4f9eb8e54d Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Henri Sivonen
952f7aacbf 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
b2bca3e3e1 Bug 919935 - Add a deCOMtaminated way to instantiate nsIUnicodeDecoders and nsIUnicodeEncoders. r=emk. 2013-11-26 09:31:52 +02:00
Boris Zbarsky
5d9137eda5 Bug 935855 part 1. Add a [StoreInSlot] WebIDL annotation to bindings. r=peterv 2013-11-25 20:59:34 -05:00
Bobby Holley
b5ecea68f1 Bug 928616 - Clean up JS_CopyPropertiesFrom. r=jorendorff 2013-11-25 15:35:22 -08:00
Robert Longson
b1e0adc1f8 Bug 937614 - simplify nsSMILParserUtils. r=dholbert 2013-11-25 19:46:20 +00:00
Ryan VanderMeulen
2ab19ea365 Merge m-c to inbound. 2013-11-25 14:23:48 -05:00
Ryan VanderMeulen
c568a1e03c Merge inbound to m-c. 2013-11-25 14:13:56 -05:00
Carsten "Tomcat" Book
bfdc3b1e49 Merge m-c to b2g-inbound 2013-11-25 15:37:21 +01:00
John Daggett
595e66c8e0 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
c83a315431 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
98ffdc3b08 Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc 2013-11-25 12:57:52 +13:00
Chia-hung Tai
32d5c0b9f8 Bug 921918 - 2/4: DOM implementation. r=khuey 2013-11-25 18:54:59 +08:00
Carsten "Tomcat" Book
423e11da88 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
fed4c2c1d9 Bug 921918 - 2/4: DOM implementation. r=khuey 2013-11-25 15:19:23 +08:00
Olli Pettay
8811aec37f Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Phil Ringnalda
a5b5e3117d Back out 89c3bfc7d873:58bfa3b59c2c (bug 673569) because bug 682048 is coming out
CLOSED TREE
2013-11-24 10:31:26 -08:00
Ehsan Akhgari
1482ff3f90 Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa 2013-11-24 01:29:24 -05:00
Bill McCloskey
559243f79d Bug 673569 - Address review feedback (r=Waldo) 2013-11-23 21:35:54 -08:00
Bill McCloskey
a54b870bbc 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
20940c8f1f Bug 938411 - Check for lost context in PresentScreenBuffer - r=jgilbert 2013-11-23 21:21:45 -05:00
Benoit Jacob
3c410edd4b Bug 924600 - WebGL.getUniform should not throw - r=jgilbert 2013-11-23 21:20:48 -05:00
Benoit Jacob
0187cd7e3d 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
d6c2066a07 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
71548aa3d8 Bug 935690 - InitCSP checks SetCsp failure. r=bz 2013-11-20 21:05:34 -08:00
Henri Sivonen
d0c0e04f69 Bug 863728 - Implement the replacement encoding. r=emk. 2013-11-25 10:06:56 +02:00
Deian Stefan
0824c9d3d1 Bug 941404 - Data documents should not set CSP, r=bz 2013-11-21 21:16:00 -08:00
Deian Stefan
d4fabf325e Bug 886164 - Enforce CSP in sandboxed iframe, r=grobinson 2013-11-22 15:12:00 -08:00
Garrett Robinson
0bb6cc2058 Bug 934062 - Move call to waitForExplicitFinish to avoid race condition r=sstamm 2013-11-22 13:41:45 -08:00
Ryan VanderMeulen
c0054e0452 Merge m-c to inbound. 2013-11-22 15:37:03 -05:00
Ryan VanderMeulen
14bce8a31f Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Olli Pettay
33f4e4f759 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
59eaed0734 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
989ff77e40 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
15a29c7ef2 bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob 2013-11-22 14:45:50 -05:00
Dan Glastonbury
832f739e81 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
85a08c4134 Bug 822898 - Implement pointer events. Basic Tests. r=smaug 2013-11-22 07:12:01 -08:00
Jonathan Watt
b9ab747bc3 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
Nicholas Nethercote
c82c609ac3 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Ehsan Akhgari
b354a123b3 Bug 943982 - Build content/xul in unified mode; r=bzbarsky 2013-11-27 18:13:11 -05:00
Nicholas Nethercote
74e6ffe050 Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
0b49067039 Bug 936964 (part 6) - Rename WebGLMemoryReporterWrapper as WebGLMemoryTracker. r=bjacob.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 7a215cf3dbcf0b78f8ab823828360dd0cfba26d3
2013-11-25 16:03:38 -08:00
Nicholas Nethercote
e42e475b4f Bug 936964 (part 5) - Make WebGLMemoryReporterWrapper ref-counted. r=bjacob.
--HG--
extra : rebase_source : 4a0d989d47ee2687d0a9a77ac0a31b1cfb0009a6
2013-11-25 16:01:52 -08:00
Nicholas Nethercote
e604caa465 Bug 936964 (part 4) - Make MediaMemoryTracker ref-counted. r=kinetik.
--HG--
extra : rebase_source : fced8b650971a152299fcf07a9ee75936d1810a2
2013-11-25 16:01:31 -08:00
Chris Pearce
719365dddb Bug 943721 - Make MP4Reader restrict its codecs output to H.264 and AAC. r=kinetk
We should restrict the output of MP4Reader to H.264 and AAC so that we
don't end up invoking rogue platform decoders (if that's even possible).
This means that we won't play MP3 audio inside MP4, that's deliberate.
2013-11-28 11:12:24 +13:00
Chris Pearce
7577f98b66 Bug 944088 - Make MP4Reader::Init() assume mLayersBackendType=LAYERS_NONE if it doesn't have a decoder owner. r=kinetik
This ensures that if the MP4Reader fails to get a decoder owner, we
don't abort the media load, but instead we will assume that we don't
have an advanced layers backend, and so fallback to software decoding on
Windows.
2013-11-28 11:12:22 +13:00
Matthew Gregan
011986eed3 Bug 950120 - Use audio reader if no video reader available, and handle zero reader case. r=doublec 2013-12-16 16:24:44 +13:00
Geoff Brown
1b5f9f7a1a Bug 944440 - Force test_no_arr_points.html to work on Android x86 emu; r=jgilbert 2013-12-16 17:01:55 -07:00
Edwin Flores
66181fe3a2 Bug 866080 - Use Android I420ColorConverter in OMX plugin r=sotaro,doublec 2013-12-17 11:58:16 +13:00
Ryan VanderMeulen
1afb369d7b Merge inbound to m-c. 2013-12-16 16:58:27 -05:00
Ryan VanderMeulen
e1a8c6e771 Backed out changesets 01de929d4b85 and b9c5750d818a (bug 943519) for suspicion of causing B2G mochitest-2 failures.
CLOSED TREE
2013-12-16 13:41:15 -05:00
Kartikaya Gupta
330e915734 Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn 2013-12-16 12:04:45 -05:00
Ryan VanderMeulen
7f28d9919b Backed out changeset 99e6a5b3b079 (bug 933483) for mochitest-bc leaks.
CLOSED TREE
2013-12-16 11:09:54 -05:00
Carsten "Tomcat" Book
3cae916dff Merge mozilla-central to b2g-i on a CLOSED TREEx 2013-12-16 16:25:31 +01:00
Ryan VanderMeulen
c1f25a6760 Merge m-c to b2g-inbound. 2013-12-16 09:05:37 -05:00
Blake Kaplan
3a26baa776 Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. r=smaug 2013-12-16 08:37:34 -05:00
Edwin Flores
ceed8781fc Bug 948326 - Actually address review comments in bug 918135 r=cpearce 2013-12-16 17:47:50 +13:00
Phil Ringnalda
a89c244f90 Back out 377f51d0e354 (bug 938108) for crashtest shutdown crashes 2013-12-15 19:56:24 -08:00
Chris Pearce
0c05712284 Bug 938108 - Wait for media state machine thread to shutdown during XPCOM shutdown before returning. r=roc
Add a MediaShutdownManager and have that as the only xpcom-shutdown
observer. This then shutsdown the MediaDecoders, and blocks waiting for
the media state machine's shared thread to complete shutdown before
exiting from the xpcom-shutdown observer. This ensures that the
MediaDecoder infrastructure does not use XPCOM on any thread after XPCOM
has shutdown, which is a logical error.
2013-12-16 15:52:59 +13:00
Chris Pearce
e9d0605f33 Bug 938107 - Backed out changeset 7aff3ce81046 for bustage. r=bustage. 2013-12-16 13:48:54 +13:00
Chris Pearce
a584c56a17 Bug 938107 - Wait for media state machine thread to shutdown during XPCOM shutdown before returning. r=roc
Add a MediaShutdownManager and have that as the only xpcom-shutdown
observer. This then shutsdown the MediaDecoders, and blocks waiting for
the media state machine's shared thread to complete shutdown before
exiting from the xpcom-shutdown observer. This ensures that the
MediaDecoder infrastructure does not use XPCOM on any thread after XPCOM
has shutdown, which is a logical error.
2013-12-16 13:31:03 +13:00
Ehsan Akhgari
efe5b64f54 Bug 950507 - Build content/media/fmp4 in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
f21c910fc1 Bug 950506 - Part 2: Build content/media/directshow in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
a6c4451cc2 Bug 950506 - Part 1: Rename the LOG macro to DIRECTSHOW_LOG in SourceFilter.cpp 2013-12-16 13:08:53 -05:00
Ehsan Akhgari
2b7af72ecf Bug 950505 - Build content/media/wmf in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Boris Zbarsky
baa4c3af91 Bug 950544 part 3. Make ParseSelectorList an nsINode member method and use it in Element for MozMatchesSelector. r=smaug 2013-12-16 13:06:36 -05:00
Boris Zbarsky
234a2f05f7 Bug 950544 part 2. Move the handling of the selector cache into ParseSelectorList. r=smaug 2013-12-16 13:06:36 -05:00
Boris Zbarsky
e71432fe97 Bug 950544 part 1. Change FindMatchingElements and ParseSelectorList take an ErrorResult instead of returning an nsresult. r=smaug 2013-12-16 13:06:36 -05:00
Ehsan Akhgari
377eb7e191 Bug 950507 - Build content/media/fmp4 in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
75fa61048b Bug 950506 - Build content/media/directshow in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
064d922182 Bug 950505 - Build content/media/wmf in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Steve Singer
b387a9f66b Bug 950343 - Include GLContext headers on non-SKIA builds. r=vlad 2013-12-15 22:40:20 +01:00
Ryan VanderMeulen
743a24e592 Backed out changesets a7fc463961ce and 65061e971eb8 (bug 935793) for breaking Travis testing (bug 950441). 2013-12-15 12:47:09 -05:00
Peter Van der Beken
96cb8f849a Bug 938640 - Make forwarding to outer conditional on current inner. r=bz. 2013-12-14 18:52:13 +01:00
Brian Smith
7efc937c92 Back out cset bce074481220 (bug 950507) for build failure on Windows when warnings are treated as errors 2013-12-16 00:39:15 -08:00
Brian Smith
409af7fddc Back out cset caa78bef50e3 (bug 950506) for build failure on Windows when warnings are treated as errors 2013-12-16 00:39:13 -08:00
Brian Smith
faab1b2168 Back out cset 1566a2e95c3b (bug 950505) for build failure on Windows when warnings are treated as errors 2013-12-16 00:39:11 -08:00
Phil Ringnalda
6e0e288b80 Bug 945189 - Disable test_bug602838.html on gonk for constant failures
--HG--
extra : rebase_source : 855afa97756a21c6ea2443d883f8c05b5b094c1c
2013-12-15 21:11:31 -08:00
Masatoshi Kimura
b166c0491e Bug 949879 - Drop support for the "cols" attribute of <pre> elements. r=dbaron 2013-12-17 01:56:20 +09:00
Alessio Placitelli
3a427ee4a5 Bug 943519 - Use moz_malloc/free/realloc instead of nsMemory::Alloc/Free/Realloc (fallible allocations) in nsTextFragment::Append. r=hsivonen 2013-12-16 09:01:30 -05:00
Masatoshi Kimura
4458b855ed Bug 948268 - Remove privilege check from MozCancelFullScreen() to comply with the spec. r=cpearce, f=bz,smaug 2013-12-14 13:22:47 +09:00
Bobby Holley
c0228bbfea Bug 913734 - Remove custom privilege setup for cut/copy/paste. r=mrbkap 2013-12-13 19:15:43 -08:00
Bobby Holley
42e5c83fee Bug 944011 - Tests. r=bz 2013-12-13 18:22:18 -08:00
Bobby Holley
607f95c254 Bug 944011 - Remove explicit cx pushing from event code. r=bz 2013-12-13 18:22:18 -08:00
Quentin Headen
5d1cb993fb Bug 731667 - Rewrite mtable implementation to avoid use of _moz-* attributes - remove legacy code. r=karlt 2013-12-13 12:42:57 -05:00
Tor Arvid Lund
217a12d499 Bug 929513 - Fix compile errors on Windows/Android r=nical
Forgot an include in the ImageLayerD3D9.cpp file (though I am unable to
reproduce the issue on my own windows installation).

Also seems in my previous attempt to fix the build, I introduced a
breakage for Android. Hopefully this will fix things.
2013-12-13 18:32:10 +01:00
Tor Arvid Lund
944f0d6f3b Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Steve Fink
6b9d45c0dc Bug 949108 - Rooting hazards in nsScriptLoader.cpp due to AutoPushJSContext, r=bz
--HG--
extra : rebase_source : 02c19e3831118d3d4703c7904ea0b7228c06261f
2013-12-11 16:26:37 -08:00
Paul Adenot
93b93df051 Bug 949474 - Reflect the fact that the nominal range for the sampleRate argument of the AudioContext.createBuffer changed in the spec. r=
* * *
Bug 949474 - Fix various oranges, on a CLOSED TREE.

--HG--
extra : rebase_source : 1317857063b7f028687aab1c00f113d947cd5685
2013-12-13 17:58:00 +01:00
Bobby Holley
70b9a83090 Bug 944407 - Tests. r=bz 2013-12-13 08:54:04 -08:00
Bobby Holley
10ee082aa0 Bug 944407 - Allow scripts for an XBL binding if and only if the XBL document comes from a scriptable domain. r=bz 2013-12-13 08:54:04 -08:00
Olli Pettay
b84afae9cc Bug 944847, don't try to compile event handlers for data documents, r=bz
--HG--
extra : rebase_source : 2b4ce65fad2433475f4b50ccd89b4301cee6c8b2
2013-12-13 16:36:29 +02:00
Jonathan Watt
e6e89d5bf8 Bug 944704, part 3 - Fix stroke dashing for SVG ellipses so that the dashing starts from the correct point and progresses in the correct direction. r=Bas 2013-12-13 12:14:37 +00:00
Jonathan Watt
35b8b77c8e Bug 944704, part 2 - Update the Mozilla callers of Moz2D's ArcToBezier for its new signature. r=Bas 2013-12-13 12:14:36 +00:00
Jonathan Watt
a9c5083a32 Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Brian Birtles
2d3bcf1dc7 Bug 941315 - Update the timing model even when invalid values are set; r=longsonr
When an invalid dur, min, max, or repeatDur is set we were failing to call
UpdateCurrentInterval to update the timing model. This patch makes sure we
update the current interval in error cases too.

Mochitests test the interval is being updated in these cases and, for
completeness, the case of repeatCount as well.
2013-12-13 13:41:56 +09:00
Brian Birtles
2bacbb339e Bug 948245 part 2 - Allow the min attribute to extend the active duration; r=dholbert
The min attribute on an animation element can extend the active duration making
it longer than the "repeat duration" (the amount of the time the animation runs
including all repeats). For the remaining time after the repeat duration has
completed until the end of the active duration the animation should apply its
fill behavior.

Previously this was not implemented and min could not extend the active
duration. Allowing this effectively introduces an additional kind of state where
we are both within the active interval but not animating. In this case we
set the animation function (referred to as the "client" for historical reasons)
to inactive so that effectively the timing model is active but the animation
model is inactive.

(In the future we will come up with something a little easier to understand when
we rework this in terms of Web Animations components.)
2013-12-13 13:41:52 +09:00
Brian Birtles
881e4d0e52 Bug 948245 part 1 - Rework and test repeat duration calculation; r=dholbert
In order to implement the min attribute properly we need to distinguish between
cases where the repeat duration is less than the active duration so we can apply
the fill mode in the 'gap'. Currently the repeat duration calculation is mostly
contained in GetRepeatDuration (but is hard to make sense of) and partly
contained in the call site CalcActiveEnd. Furthermore, it does not have thorough
tests (there were some unit tests but they were never converted to mochitests).

This patch reworks the repeat duration calculation so it is contained in one
place, easier to read, and thoroughly tested.
2013-12-13 13:41:47 +09:00
Mark Hammond
2e859c68ea Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug
--HG--
extra : rebase_source : 475b2cafc094117a2edf8ba95605e7f4d5f95410
2013-12-13 14:24:37 +11:00
Mark Hammond
ee7830b417 Bug 935793 (part 1) - Add ownerIsBrowserOrApp to nsIFrameLoader. r=smaug
--HG--
extra : rebase_source : 189b45b39c04e4272d7b0cc188f35bb02bc19970
2013-12-13 14:24:36 +11:00
Wes Kocher
3b7fc0a192 Merge inbound to m-c 2013-12-12 19:12:51 -08:00
Shelly Lin
a9385adbe9 Bug 948819 - Do not round the frame size if the source video is in odd resolutions. r=roc 2013-12-11 17:42:56 +08:00
Bruce Sun
0e31aa3f5e Bug 947113 - Sync RTSP play & pause with the life time of the decoding thread. r=doublec 2013-12-12 11:21:04 +08:00
Carsten "Tomcat" Book
55aa72e7a2 Merge mozilla-central to b2g-inbound 2013-12-12 16:17:29 +01:00
Ryan VanderMeulen
da7f948f87 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Drew Willcoxon
f698377e16 Bug 948419 - Allow mouse-wheel zooming on about:newtab by allowing zooming for XUL documents not in chrome docshells. r=smaug 2013-12-11 18:33:47 -08:00
Ryan VanderMeulen
ea2a161036 Merge m-c to b-i. 2013-12-11 13:37:13 -05:00
Jonathan Watt
2116c2cfc6 Bug 948475 - Implement HTMLInputElement.select() for <input type=number> (contrary to the HTML5 spec) since content needs it. r=smaug 2013-12-11 11:41:51 +00:00
Jan Gerber
c6904a6fd8 Bug 945863 - Handle CodecDelay and SeekPreroll for Opus in WebM. r=kinetik 2013-12-10 10:36:05 +01:00
Shelly Lin
3b41fa6b74 Bug 945127 - Correct the checking of input sampling rate. r=giles 2013-12-11 13:56:18 +08:00
Ryan VanderMeulen
a762d43c40 Merge m-c to inbound. 2013-12-10 15:48:16 -05:00
Ryan VanderMeulen
c8bf34a922 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Ryan VanderMeulen
80b4c67bb2 Backed out changesets 3c9d48f28a5e and fd9d5186e741 (bug 944407) for mochitest-other orange.
CLOSED TREE
2013-12-10 15:35:31 -05:00
Carsten "Tomcat" Book
de91ddd9df merge mozilla-inbound to mozilla-central 2013-12-10 13:02:55 +01:00
Randell Jesup
4ae26c99d7 Bug 853356: backout p3 2013-12-10 01:03:21 -05:00
Randell Jesup
9e71dcb1bc Bug 853356: backout p2 2013-12-10 01:03:23 -05:00
Carsten "Tomcat" Book
b0cb202aed Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209 2013-12-10 08:38:43 +01:00
Ryan VanderMeulen
5bad48704a Merge m-c to inbound. 2013-12-09 17:43:44 -05:00
Ryan VanderMeulen
ff4c37cb6c Merge inbound to m-c. 2013-12-09 16:45:25 -05:00
Carsten "Tomcat" Book
08cd56d88e merge b2g-inbound to mozilla-central 2013-12-09 09:32:02 +01:00
Jason Orendorff
b0a263716b Bug 793860, part 0b - Declare some accidentally undeclared variables. r=bz. 2013-12-09 14:10:51 -06:00
Jeff Gilbert
535bebbd99 Bug 942319 - Supply python script to convert some mochitests to standalone tests. r=bjacob 2013-12-08 21:56:40 -05:00
Birunthan Mohanathas
58325c73be Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
bd0f161288 Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
7ea1ca0f17 Merge m-c to m-i 2013-12-08 17:32:55 -08:00
Jonathan Watt
ec1d416257 Bug 947740 - Flip the dom.forms.number pref to true for content/html/content/reftests/autofocus. r=smaug 2013-12-08 21:27:27 +00:00
Jonathan Watt
54d64265a3 Bug 940764 - Renable content/html/content/reftests/autofocus/input-number.html for Firefox for Android now that bug 940760 landed. r=me 2013-12-08 21:27:27 +00:00