Commit Graph

18421 Commits

Author SHA1 Message Date
Blake Kaplan
970a3de618 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
d04aeec4bc Bug 948326 - Actually address review comments in bug 918135 r=cpearce 2013-12-16 17:47:50 +13:00
Phil Ringnalda
3d31b7b1b6 Back out 377f51d0e354 (bug 938108) for crashtest shutdown crashes 2013-12-15 19:56:24 -08:00
Chris Pearce
3704925aab 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
f0f2468f2e Bug 938107 - Backed out changeset 7aff3ce81046 for bustage. r=bustage. 2013-12-16 13:48:54 +13:00
Chris Pearce
3130353840 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
31f4fce54e Bug 950507 - Build content/media/fmp4 in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
107c450138 Bug 950506 - Part 2: Build content/media/directshow in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
bdfe715407 Bug 950506 - Part 1: Rename the LOG macro to DIRECTSHOW_LOG in SourceFilter.cpp 2013-12-16 13:08:53 -05:00
Ehsan Akhgari
7367f0a8f5 Bug 950505 - Build content/media/wmf in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Boris Zbarsky
b55a445a3a 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
e0acd737bf 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
42a4ff55ff 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
60effb6c7e Bug 950507 - Build content/media/fmp4 in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
719af67369 Bug 950506 - Build content/media/directshow in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Ehsan Akhgari
741e67febd Bug 950505 - Build content/media/wmf in unified mode; r=roc 2013-12-15 19:00:54 -05:00
Steve Singer
cb0b986088 Bug 950343 - Include GLContext headers on non-SKIA builds. r=vlad 2013-12-15 22:40:20 +01:00
Ryan VanderMeulen
00161f8da9 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
6136a7c202 Bug 938640 - Make forwarding to outer conditional on current inner. r=bz. 2013-12-14 18:52:13 +01:00
Brian Smith
d067308638 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
abb4b93333 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
bf28b3dc60 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
1ec3283fa3 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
22e2b0e78a Bug 949879 - Drop support for the "cols" attribute of <pre> elements. r=dbaron 2013-12-17 01:56:20 +09:00
Alessio Placitelli
192e23fde2 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
661d3b5d7f 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
c0207c3a01 Bug 913734 - Remove custom privilege setup for cut/copy/paste. r=mrbkap 2013-12-13 19:15:43 -08:00
Bobby Holley
2bff1a717b Bug 944011 - Tests. r=bz 2013-12-13 18:22:18 -08:00
Bobby Holley
a1dd4b463e Bug 944011 - Remove explicit cx pushing from event code. r=bz 2013-12-13 18:22:18 -08:00
Quentin Headen
ad2e63374b 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
a8c09b0aa0 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
af7e76f848 Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Steve Fink
5936d87d4a 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
db5ba45bd3 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
652952e6f6 Bug 944407 - Tests. r=bz 2013-12-13 08:54:04 -08:00
Bobby Holley
3b4dfe688e 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
69f1377e75 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
28074a3adf 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
02c17c2697 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
6c8fbf340c Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth
--HG--
extra : rebase_source : 612c1923f3ed8a01fc30f2d306b4682e585e53fe
2013-12-13 08:34:24 +00:00
Brian Birtles
7c8cbd53aa 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
dc0d4cd8d9 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
096d486b89 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
75591f7a7a 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
fb3c18109b 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
aa49cfcd54 Merge inbound to m-c 2013-12-12 19:12:51 -08:00
Shelly Lin
f56ef2b7b5 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
f2ddb3802a 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
81059f072a Merge mozilla-central to b2g-inbound 2013-12-12 16:17:29 +01:00
Ryan VanderMeulen
cb5b5eee51 Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Drew Willcoxon
4271b3ce27 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
ab2b6eed46 Merge m-c to b-i. 2013-12-11 13:37:13 -05:00
Jonathan Watt
2dc144a988 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
fb205442ce Bug 945863 - Handle CodecDelay and SeekPreroll for Opus in WebM. r=kinetik 2013-12-10 10:36:05 +01:00
Shelly Lin
5ea82d3051 Bug 945127 - Correct the checking of input sampling rate. r=giles 2013-12-11 13:56:18 +08:00
Ryan VanderMeulen
6fb3114a62 Merge m-c to inbound. 2013-12-10 15:48:16 -05:00
Ryan VanderMeulen
e58ec03427 Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Ryan VanderMeulen
0ec1624976 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
89c65ce284 merge mozilla-inbound to mozilla-central 2013-12-10 13:02:55 +01:00
Randell Jesup
77dbfd38fb Bug 853356: backout p3 2013-12-10 01:03:21 -05:00
Randell Jesup
824977556d Bug 853356: backout p2 2013-12-10 01:03:23 -05:00
Carsten "Tomcat" Book
6c1aee1b2a Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209 2013-12-10 08:38:43 +01:00
Ryan VanderMeulen
72c57be9ea Merge m-c to inbound. 2013-12-09 17:43:44 -05:00
Ryan VanderMeulen
3083eba130 Merge inbound to m-c. 2013-12-09 16:45:25 -05:00
Carsten "Tomcat" Book
4408dc08c5 merge b2g-inbound to mozilla-central 2013-12-09 09:32:02 +01:00
Jason Orendorff
18dfde2509 Bug 793860, part 0b - Declare some accidentally undeclared variables. r=bz. 2013-12-09 14:10:51 -06:00
Jeff Gilbert
6c0355a57f Bug 942319 - Supply python script to convert some mochitests to standalone tests. r=bjacob 2013-12-08 21:56:40 -05:00
Birunthan Mohanathas
759ab69b0a 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
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
cce5e27704 Merge m-c to m-i 2013-12-08 17:32:55 -08:00
Jonathan Watt
a3c13c7210 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
9dec2273ba 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
Jonathan Watt
7af003defb Bug 940760 - Make the CSS pseudo-class :focus apply to <input type=number>, fixing B2G forms styling. r=smaug 2013-12-08 21:26:42 +00:00
Phil Ringnalda
be814322b0 Merge m-c to b-i 2013-12-07 15:15:53 -08:00
Phil Ringnalda
f251c5eb20 Merge m-c to m-i 2013-12-07 11:21:52 -08:00
Phil Ringnalda
6a951967dc Merge m-c to b-i 2013-12-07 11:21:04 -08:00
Phil Ringnalda
e2e1627d17 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Phil Ringnalda
304d9f6577 Merge m-c to b-i 2013-12-07 08:28:10 -08:00
Andrea Marchesini
f09e347061 Bug 946479 - nsIFilePickers/nnsIColorPicker cannot run in parallel for a single HTMLInputElement, r=bz 2013-12-07 12:09:14 +00:00
Phil Ringnalda
635976cc53 Merge m-c to b-i 2013-12-06 21:10:25 -08:00
Phil Ringnalda
b8c995c10c Back out 567d2bba4f97 (bug 933483) for causing bug 946726 2013-12-06 19:11:11 -08:00
Wes Kocher
ea7a42ee9b merge m-c to b2g-inbound 2013-12-06 20:49:02 -06:00
Alexander Surkov
4dbdd52b3a Bug 943482 - remove a11y support of not existing xul:menulist@droppable, r=tbsaunde 2013-12-07 00:40:02 -05:00
Phil Ringnalda
ec57391e9c Merge m-c to m-i 2013-12-06 21:11:17 -08:00
Drew Willcoxon
c68156fff5 Bug 898593 - Fix intermittent failures in test_bug413958.html and others by making SimpleTest.monitorConsole() ignore unexpected messages by default. r=ted 2013-12-06 18:07:09 -08:00
Randell Jesup
28164c51c2 Bug 945614: Don't track windowIDs in MediaEngine for B2G r=mikeh,schien 2013-12-06 17:38:52 -05:00
Alfredo Yang
c0d5a4a149 Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-12-06 17:38:52 -05:00
Alfredo Yang
4525f5855b Bug 853356 - Part2 Add MediaPermissionGonk.h and MediaPermissionGonk.cpp to implement ContentPermissionPrompt. r=jesup 2013-12-06 17:38:51 -05:00
Brian Birtles
0039a302f9 Bug 946529 - Fix bug in transform parsing mochitest; r=longsonr 2013-12-09 08:55:17 +09:00
Suhas
7b99f9f628 Bug 932845 - Support hints for non gUM mediastreams. r=jesup 2013-12-08 21:44:32 -05:00
Brian Birtles
3cb56fe83f Bug 946529 - Add test for parsing of SVG lengths with scientific notation; r=longsonr 2013-12-10 09:11:13 +09:00
Ehsan Akhgari
d4490ee3c7 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Guillaume Abadie
dbaf907aa4 bug 945243 - Fixes WebGL conformance test failures for the WEBGL_draw_buffers extension - r=jgilbert 2013-12-07 10:23:33 +01:00
Jan Gerber
bca185af77 Bug 833023 - Enable VP9 playback in HTML media elements. r=kinetik 2013-12-03 16:21:00 -08:00
Steve Fink
be4b9213bd Bug 937317 - Root around GC call GetIncumbentGlobal. r=bz 2013-12-11 17:51:58 -08:00
Bobby Holley
517f4b36f3 Bug 937317 - Remove unnecessary AutoSystemCaller usage. r=bz
See bug 937317 comment 38.
2013-12-11 17:51:58 -08:00
Bobby Holley
a7395d2ec6 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Bobby Holley
904374035f Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-11 17:51:58 -08:00
Bobby Holley
bc61230c38 Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke 2013-12-11 17:51:57 -08:00
Steve Fink
8976499175 Backed out changeset 926aeca75e6c (bug 949108) due to request asserts on a CLOSED TREE. 2013-12-11 14:02:54 -08:00