Commit Graph

43051 Commits

Author SHA1 Message Date
Brian Birtles
e44eba2bd2 Bug 1232563 part 4 - Don't perform style updates when the effect progress has not changed; r=heycam
Now that restyle requests are handled by the effect, we can more easily detect
cases where we don't need to trigger a style update by looking for when the
output of the effect could actually differ.

Currently, any changes that require updates where the progress does *not* change
(e.g. pausing) are triggered by the Animation. The exception is when we
update timing properties (e.g. animation-iteration-count) from CSS but
current nsAnimationManager takes care to adjust the animation generation in
this case.
2016-01-06 11:04:06 +09:00
Brian Birtles
2d3ae1d0bb Bug 1232563 part 3 - Drop check for an empty set of properties when requesting restyles from KeyframeEffectReadOnly; r=heycam
This is because rather than simply requesting a throttled restyle when there
were no properties, as of the previous patch, we no longer request a restyle at
all in this case.

We should be able to restore this optimization in bug 1235002 when we properly
encapsulate the properties of a keyframe effect.
2016-01-06 11:04:06 +09:00
Brian Birtles
a6f481c510 Bug 1232563 part 2 - Move RequestRestyle calls to the effect; r=heycam 2016-01-06 11:04:06 +09:00
Brian Birtles
b7a368e1f0 Bug 1232563 part 1 - Request a layer update if an animation is newly finished; r=heycam
When requesting restyles we take special care to detect when an animation has
newly finished so we perform the necessary restyle to represent the fill state.
However, we should really explicitly pull the animation off the layer at this
point by requesting a layer update. (That is, when an animation is
newly-finished we should use RestyleType::Layer instead of
RestyleType::Standard. Currently we just use RestyleType::Standard.)

In this bug we plan to move restyle requests down to the effect (since it is
the *effect* that is restyled). However, only the Animation has the notion of
"finished" or not so we detect this particular case in the Animation and
request the layer update there. We already request layer updates in the
Animation for other situations such as pausing so doing *layer* updates in the
Animation and regular restyles in the effect is not inconsistent.

This patch also tweaks test_animations_omta.html since it was previously
erroneously testing that a finished animation was still running on the
compositor.
2016-01-06 11:04:06 +09:00
Brian Birtles
00d13c3e8f Bug 1232561 part 4 - Add EffectCompositor::ComposeAnimationRule; r=heycam
This patch just moves a piece of functionality from
AnimationCollection::EnsureStyleRuleFor to the EffectCompositor. In subsequent
bugs we will move more and more of this functionality across until this
logic is fully contained in the EffectCompositor.
2016-01-06 11:04:06 +09:00
Brian Birtles
13546c8388 Bug 1232561 part 3 - Move AnimValuesStyleRule to a separate file; r=heycam
As we gradually move logic from layout/style/AnimationCommon.cpp to
dom/animation/EffectSet and EffectCompositor it makes sense to let this class
live in its own file inside dom/animation where it is used.
2016-01-06 11:04:06 +09:00
Brian Birtles
21aff59b86 Bug 1232561 part 2 - Move the animation style rules from AnimationCollection to EffectSet; r=heycam
This is needed in order to support script-generated animations since they do not
belong to any AnimationCollection.

This patch adopts the naming "animation rule" over "style rule". Currently we
are inconsistent about this (e.g. GetAnimationRule vs EnsureStyleRuleFor).
We don't do a mass rename here but just a few places near where we're touching.
Many of the other references to "style rule" will be revised in this bug or
related bugs so we can fix those references when we come to them.
2016-01-06 11:04:06 +09:00
Brian Birtles
19947fcf4d Bug 1232561 part 1 - Replace AppliesToTransitionsLevel() with a cascade level enumeration; r=heycam
Introducing an enum will simplify further patches in this series by providing
a common vocabulary for this distinction.
2016-01-06 11:04:05 +09:00
Brian Birtles
47caa1f28a Bug 1229280 - Move animation generation from AnimationCollection to EffectSet; r=dbaron 2016-01-06 11:04:05 +09:00
Brian Birtles
26b701c0cc Bug 1228229 part 11 - Avoid calling nsRuleNode::ComputePropertiesOverridingAnimation when there are no compositor-animatable properties; r=dbaron
This restores the code removed in part 3 but adjusts it to iterate over
an effect set instead of an AnimationCollection. It also adds an early return
for the case where no compositor-animatable properties are found.
2016-01-06 11:04:05 +09:00
Brian Birtles
e3dba52363 Bug 1228229 part 10 - Remove no-longer-used cascade functions; r=dbaron 2016-01-06 11:04:05 +09:00
Brian Birtles
6f4709f7a8 Bug 1228229 part 9 - Use EffectCompositor::UpdateCascadeResults; r=dbaron 2016-01-06 11:04:05 +09:00
Brian Birtles
6fdc8be6af Bug 1228229 part 8 - Add EffectCompositor::(Maybe)UpdateCascadeResults; r=dbaron 2016-01-06 11:04:05 +09:00
Brian Birtles
41456005b2 Bug 1228229 part 7 - Add a method to Animation to indicate if it applies to the transitions level of the cascade; r=dbaron
For transitions, this method returns true so long as the transition is
bound to markup. This is based on the below discussion,

  https://github.com/w3c/web-animations/issues/97
  https://github.com/w3c/web-animations/issues/62#issuecomment-117357703
  https://github.com/w3c/web-animations/issues/62#issuecomment-117374689

We will likely reuse this method when we come to implement animation style rule
generation in a more generic manner.
2016-01-06 11:04:05 +09:00
Brian Birtles
b8313074f5 Bug 1228229 part 6 - Mark the animation cascade results as dirty when an effect goes in or out of being "in effect"; r=dbaron
This patch implements "case 2" described in the commit message from part 4 of
this patch series.
2016-01-06 11:04:05 +09:00
Brian Birtles
1b9e20b5f4 Bug 1228229 part 5 - Separate target element registration in NotifyAnimationTimingUpdated; r=dbaron
KeyframeEffectReadOnly::NotifyAnimationTimingUpdated currently just acts as an
alias for UpdateTargetRegistration. However, bug 1226118 added logic to
UpdateTargetRegistration which is not strictly related to updating the target
element registration. This patch tidies this up so that UpdateTargetRegistration
only does what its name suggests. This is in preparation for adding more
logic to NotifyAnimationTimingUpdated.
2016-01-06 11:04:04 +09:00
Brian Birtles
1caec204db Bug 1228229 part 4 - Add a flag to EffectSet to mark when the cascade needs to be updated; r=dbaron
There are three situations when the cascade results of effects needs to be
updated.

1. The sets of effects (animations) has changed.

2. One or more effects have changed their "in effect" status.

3. Other style properties affecting the element have changing meaning that
   animations applied at the animations-level of the cascade may now be
   overridden or become active again.

We want to detect these situations so we can avoid updating the cascade when
none of these possibilities exist.

Currently we handle case 1 by calling UpdateCascadeResults at the appropriate
point in nsAnimationManager and nsTransitionManager when we build
animations/transtiions.

Case 2 only affects animations (since whether transitions are in effect or not
makes no difference to the cascade--they have a lower "composite order" than
animations and never overlap with each other so they can't override anything).
As a result, we handle it by adding a flag to CSSAnimation to track when an
animation was in effect last time we checked or not.

For case 3, we take care to call UpdateCascadeResults when the style context
changed in nsAnimationManager::CheckAnimationRule (called from
nsStyleSet::GetContext).

We want to generalize this detection to handle script-generated animations too.
In order to do that this patch introduces a flag to EffectSet that we will use
to mark when the cascade needs to be updated in cases 1 and 2. This patch also
sets the flag when we detect case 1. A subsequent patch sets the flag for
case 2.

Case 3 is more difficult to detect and so we simply maintain the existing
behavior of making nsAnimationManager::CheckAnimationRule unconditionally
update the cascade without checking if the "needs update" flag is set.
2016-01-06 11:04:04 +09:00
Brian Birtles
07d945ecb0 Bug 1228229 part 3 - Factor out a method to get compositor-animatable overridden properties; r=dbaron
This patch also simplifies this logic by simply always looking for overrides of
'transform' and 'opacity'.
2016-01-06 11:04:04 +09:00
Brian Birtles
8d4d4b83a1 Bug 1228229 part 2 - Add a helper to get the appropriate (pseudo-)element for a frame; r=dbaron
We will use similar logic later in this patch series so we separate it out into
a separate helper function here.
2016-01-06 11:04:04 +09:00
Eitan Isaacson
f2191b1d04 Bug 1230533 - Cancel speech when controlling window goes away. r=smaug
Don't allow bfcache when there is an active or queued utterance in the window.
2016-01-05 18:01:24 -08:00
Eitan Isaacson
fe172b07d1 Bug 1236060 - Dispatch error should advance queue. r=smaug 2016-01-05 18:01:23 -08:00
Wes Kocher
67d8b18f42 Merge m-c to inbound, a=merge CLOSED TREE 2016-01-05 16:52:09 -08:00
Wes Kocher
bc4c8c12f5 Backed out 2 changesets (bug 1235535) for possibly breaking weightmapping-12579.html CLOSED TREE
Backed out changeset 76209c880c78 (bug 1235535)
Backed out changeset 0beb3e22b4b5 (bug 1235535)
2016-01-05 16:47:54 -08:00
Wes Kocher
00fbeedd1b Backed out changeset 3aca7055f52f (bug 1236329) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE 2016-01-05 15:14:48 -08:00
Wes Kocher
305c250f35 Backed out changeset b7cd1bc458a3 (bug 1230172) because something from this push turned browser_video_test.js permafail on mulet CLOSED TREE 2016-01-05 15:14:44 -08:00
Alastor Wu
2ca62af423 Bug 1232517 - Remove the event listener. r=baku 2016-01-05 20:17:03 +08:00
Alastor Wu
072ca52cf0 Bug 1235535 - Part 2: Create muted-by-default test in another new file. r=baku 2016-01-05 19:26:01 +08:00
Alastor Wu
08fea77244 Bug 1235535 - Part 1: Remove muted-by-default test. r=baku 2016-01-05 19:25:55 +08:00
Mats Palmgren
763160c0dc Bug 1230665 - Make anonymous flex/grid items non-tabbable and non-focusable. r=roc 2016-01-05 21:27:13 +01:00
Mats Palmgren
1e9ec07fe4 Bug 1235212 - [css-grid] Use Unicode ellipsis in error messages. r=francesco.lodolo@gmail.com 2016-01-05 21:27:13 +01:00
Jonathan Griffin
5707644ec5 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Boris Zbarsky
9e07320426 Bug 1230172. Update CSS.escape to never throw and instead replace U+0000 with U+FFFD, per recent spec change. r=dbaron 2016-01-05 15:05:23 -05:00
Boris Zbarsky
4229aa8e05 Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
Ehsan Akhgari
62802f2dd0 Bug 1236686 - Remove nsIFetchEventDispatcher; r=jdm 2016-01-05 15:04:41 -05:00
Kit Cambridge
64ff2873e3 Bug 1227300, Part 7 - Update test interfaces. a=testonly 2015-11-23 15:03:20 -08:00
Kit Cambridge
37c04c712c Bug 1227300, Part 6 - Use showAlert to display web notifications. r=wchen 2015-12-03 08:27:25 -08:00
Kit Cambridge
79cfa4dc3b Bug 1227300, Part 2 - Implement showAlert. r=MattN,wchen 2015-12-31 12:04:24 -07:00
Mike Conley
b2714bfdee Bug 1218594 - Regression test. r=felipe 2016-01-04 13:46:58 -05:00
Mike Conley
926e5ec40f Bug 1218594 - Fix some bad test assertion strings. r=felipe 2016-01-04 13:46:40 -05:00
Alastor Wu
bffc0ea135 Bug 1223297 - Add multiple audio channel test. r=baku 2015-11-18 10:01:14 +08:00
Alastor Wu
241691c70d Bug 1225425 - [Testcase] Do not unregister the AudioChannelAgent during seeking. r=baku 2016-01-07 01:21:05 +08:00
JW Wang
512004fc5b Bug 1237174 - Remove the unnecessary code since mState won't change in the case of DECODER_STATE_COMPLETED. r=bechen. 2016-01-06 18:18:13 +08:00
JW Wang
554b4b7a1b Bug 1234424. Part 2 - remove unused code. r=roc. 2016-01-05 21:15:43 +08:00
JW Wang
b60a4316a7 Bug 1234424. Part 1 - share the underlying value of MDSM::mSameOriginMedia with DecodedStream. r=roc. 2016-01-05 21:15:37 +08:00
Shu-yu Guo
f2f1b10394 Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Nathan Froyd
111d77086f Bug 1236632 - remove unused variable in FactoryOp::WaitForTransactions; r=janv
This variable got left behind during the refactoring in bug 1125102.
2016-01-04 14:29:33 -05:00
Ehsan Akhgari
f3b0f45787 Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm 2016-01-04 16:30:02 -05:00
Ehsan Akhgari
9bf7562885 Bug 1214305 - Part 5: Use the secure upgraded channel URI in FetchEventRunnable::Init; r=jdm
This ensures that FetchEvent.request.url will have the correct value
for secure upgraded channels.
2016-01-04 16:30:02 -05:00
Ehsan Akhgari
7defe73038 Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests.  Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2016-01-04 16:30:02 -05:00
Josh Matthews
3a04241ce9 Bug 1214305 - Part 0: Ensure site security service is initialized before trying to use DataStorage via IPC. 2016-01-04 16:30:02 -05:00
Ben Kelly
f7977f55e6 Bug 1234458 P2 Lock the CacheChild actor while Cache DOM methods are running. r=ehsan a=ritu 2016-01-04 12:03:11 -08:00
Ben Kelly
1bdaf1cf15 Bug 1234458 P1 Allow the CacheChild to be "locked" into memory so it will delay destruction. r=ehsan a=ritu 2016-01-04 12:03:11 -08:00
Ehsan Akhgari
e28045dcff Bug 1226384 - Reject the promise returned from ServiceWorkerRegistration.update() if the registration is being uninstalled; r=bkelly 2016-01-04 14:50:57 -05:00
Ehsan Akhgari
2ad5769e79 Bug 1235896 - Make it possible to run browser_download.js with --run-until-failure; r=bkelly 2016-01-04 14:50:57 -05:00
Kearwood (Kip) Gilbert
e86a5a6f2b Bug 1218482 - Enable WebVR By Default,r=bz
- dom.vr.enabled is now "true" by default for non-release builds.
- dom.vr.add-test-devices is now "0" by default, so that content may detect
  VR devices accurately.
2015-10-26 19:56:49 -07:00
Wes Kocher
c9a8c6a192 Backed out 10 changesets (bug 1214305) for leaks on linux debug m-e10s(bc7)
Backed out changeset 1f482566235a (bug 1214305)
Backed out changeset 001b31489756 (bug 1214305)
Backed out changeset 4e94d2088219 (bug 1214305)
Backed out changeset fba4a5bcea41 (bug 1214305)
Backed out changeset 100f8e249007 (bug 1214305)
Backed out changeset a59c453192dc (bug 1214305)
Backed out changeset 2daa86fc1fb9 (bug 1214305)
Backed out changeset c04efb57b0ed (bug 1214305)
Backed out changeset 52046e843c60 (bug 1214305)
Backed out changeset ac4fd6615828 (bug 1214305)
2016-01-04 10:34:24 -08:00
Ehsan Akhgari
2ae596c85b Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm 2016-01-04 09:52:49 -05:00
Ehsan Akhgari
688d641533 Bug 1214305 - Part 5: Use the secure upgraded channel URI in FetchEventRunnable::Init; r=jdm
This ensures that FetchEvent.request.url will have the correct value
for secure upgraded channels.
2016-01-04 09:52:44 -05:00
Ehsan Akhgari
5d88f104b5 Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests.  Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2016-01-04 09:52:42 -05:00
Josh Matthews
c64f4d98b3 Bug 1214305 - Part 0: Ensure site security service is initialized before trying to use DataStorage via IPC. 2016-01-04 09:52:35 -05:00
Ting-Yu Lin
ad85502078 Bug 1234118 - Delete code for supporting 'do-command' and 'copypaste-docommand'. r=mtseng, r=smaug
These two events are the leftovers for support copy/paste/cut/selectall
operations from old text_selection_dialog.js in Gaia. The code for
handling them can be removed since text_selection_dialog.js was removed
in bug 1221462.
2016-01-04 21:45:01 +08:00
Carsten "Tomcat" Book
3ea4315c52 Merge mozilla-central to mozilla-inbound 2016-01-04 13:50:22 +01:00
Carsten "Tomcat" Book
61dca8d34a Backed out changeset 44ac8de96a09 (bug 1000870) for test failures in test_pointerevent_setpointercapture_inactive_button_mouse-manual.html 2016-01-04 12:58:59 +01:00
Carsten "Tomcat" Book
56dad6d96c Backed out changeset d206a3fd7433 (bug 1000870) 2016-01-04 12:58:40 +01:00
Carsten "Tomcat" Book
01085dd90f Backed out changeset a0c6e3693039 (bug 1000870) 2016-01-04 12:58:38 +01:00
Lee Salzman
631f895491 Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar 2015-12-30 13:39:13 -05:00
Ethan Lin
539a28098c Bug 1205168 - Part 6: Fix TexImage2D and TexSubImage2D with texture conversion. r=jgilbert 2015-12-29 18:37:00 +01:00
Dan Glastonbury
19d64b774e Bug 1205168 - Part 7: Remove unneeded functions. r=jgilbert
* GLFormatForTexelFormat
* GetWebGLTexelFormat
2015-12-22 22:08:00 +01:00
Dan Glastonbury
19cfcee763 Bug 1205168 - Part 5: Texel Conversion - RGB11F11F10F format. r=jgilbert 2015-12-22 22:02:00 +01:00
Dan Glastonbury
eb973f8e9f Bug 1205168 - Part 4: Texel Conversion - RG32F format. r=jgilbert 2015-12-22 22:01:00 +01:00
Dan Glastonbury
c260e2ebb8 Bug 1205168 - Part 3: Texel Conversion - RG16F format. r=jgilbert 2015-12-22 21:57:00 +01:00
Dan Glastonbury
34fb72eea2 Bug 1205168 - Part 2: Texel Conversion - RG8 format. r=jgilbert 2015-12-22 21:56:00 +01:00
Dan Glastonbury
fcf1dfbf75 Bug 1205168 - Part 1 - Sort all the WebGLTexelFormats. r=jgilbert
In preparation for adding new formats and conversion code, sort the
existing ones into some semblance of order.
2015-12-22 19:59:00 +01:00
Ethan Lin
58463815c2 Bug 1205168 - Part 0: Remove copy-ctor from strong type. r=jgilbert 2015-12-22 19:58:00 +01:00
Lebedev Maksim
5db0828818 Bug 1000870 - Change official tests for pointer events to auto mochitest system. r=smaug 2015-12-18 00:13:00 +01:00
dimi
b58b81cc46 Bug 1205288 - implement and test fetch spec changes for blob scheme with non-GET method. r=bkelly 2016-01-06 17:13:19 +08:00
Kyle Huey
e7e23c6b19 Bug 1059469: Part 2 - When rescheduling the interval timer, cancel it first, and refactor things so that actually does something. r=bent
RunExpiredTimeouts has "fudging" code to always ensure that we execute at least one timeout.  This is intended to cover cases where an nsITimer fires slightly early, but it means we must be careful not to fire a timer more times than we intend to or we'll execute a timeout prematurely.

Consider a sequences of setTimeout calls alternating in delay between 0ms and 1000ms.  When the 1000ms timeout fires, it schedules a 0ms timeout.  The setTimeout call itself calls RescheduleTimeoutTimer, which schedules the timer for a 0 ms delay.  And once we unwind the 1000ms timeout RunExpiredTimeouts will also schedule the timer for a 0 ms delay.  If the timer has fired (remember, it's processed on a completely different thread) in the meantime, we ultimately will get two callbacks from nsITimer for our 0 ms timeout.  The first will run the 0 ms timeout and schedule a 1000 ms timeout, and the second will run the 1000 ms timeout (remember, RunExpiredTimeouts always runs at least one timeout!) ~999 ms ahead of schedule.

The solution is to cancel the timer in RescheduleTimeoutTimer, so that when we call it the second time it will cause any pending events from the first scheduling to be canceled.  But this actually doesn't work at all, because of how we use nsITimer.  Before worker threads were capable of accepting arbitrary runnables we created TimerThreadEventTarget, which translates the timer firing to the special worker event queue when the timer thread attempts to *dispatch* a runnable to the worker.  We still need this for some of the other types of timers (which use control runnables that interrupt JS, and not the regular event queue).  But setTimeout can simply run like a normal nsITimer callback now.  We need that here, or calling nsITimer::Cancel won't actually do anything, because the timer's event was ignored and TimerThreadEventTarget created its own event.
2016-01-06 13:18:29 -08:00
Kyle Huey
9a468f9da1 Bug 1059469: Part 1 - Add a log module for dump() calls. r=bent 2016-01-06 13:18:29 -08:00
Kyle Huey
5e145558d7 Bug 1153636: Don't assert with addEventListener("") on workers. r=smaug 2016-01-06 13:18:29 -08:00
Kyle Huey
eb453673d3 Bug 1155328. r=smaug 2016-01-06 13:18:29 -08:00
Gerald Squelart
b83823068d Bug 1236380 - GMPStorage::mShutdown=true until Init() succeeds - r=cpearce
Initialize GMPStorage::mShutdown to true, so that if Init() has not completed
yet or if it failed, other methods will not try and access a null mStorage.
2016-01-07 08:06:47 +11:00
Terrence Cole
d6fd4836f7 Backout 7621c3ea95cb11e1c376a9f705accc0f90057c0a (bug 1235923) for build bustage on a CLOSED TREE. 2016-01-06 12:05:06 -08:00
Andrea Marchesini
a5e2732d2b Bug 1237364 - nsFrameLoader.cpp can set the userContextId directly using nsIDocShell, r=smaug 2016-01-06 20:02:41 +00:00
Terrence Cole
5ca9b2494d Bug 1235923 - Part 2: Use new Root tracing APIs in Gecko; r=smaug 2015-12-30 11:31:16 -08:00
Chris Peterson
f1b08073b6 Bug 1235232 - Fix -Wclass-varargs warnings in dom/media/. r=kentuckyfriedtakahe
dom/media/ADTSDemuxer.cpp:481:10 [-Wclass-varargs] passing object of class type 'const media::TimeUnit' through variadic function
dom/media/ADTSDemuxer.cpp:513:11 [-Wclass-varargs] passing object of class type 'const media::TimeUnit' through variadic function
dom/media/ADTSDemuxer.cpp:526:14 [-Wclass-varargs] passing object of class type 'const media::TimeUnit' through variadic function
dom/media/ADTSDemuxer.cpp:527:23 [-Wclass-varargs] passing object of class type 'media::TimeUnit' through variadic function
dom/media/ADTSDemuxer.cpp:532:11 [-Wclass-varargs] passing object of class type 'const media::TimeUnit' through variadic function

dom/media/MP3Demuxer.cpp:201:10 [-Wclass-varargs] passing object of class type 'const mozilla::media::TimeUnit' through variadic function
dom/media/MP3Demuxer.cpp:237:10 [-Wclass-varargs] passing object of class type 'const mozilla::media::TimeUnit' through variadic function
dom/media/MP3Demuxer.cpp:256:13 [-Wclass-varargs] passing object of class type 'const mozilla::media::TimeUnit' through variadic function
dom/media/MP3Demuxer.cpp:257:22 [-Wclass-varargs] passing object of class type 'media::TimeUnit' through variadic function
dom/media/MP3Demuxer.cpp:262:10 [-Wclass-varargs] passing object of class type 'const mozilla::media::TimeUnit' through variadic function
2015-12-22 18:44:31 -08:00
Sebastian Hengst
cd6317e70d Backed out changeset 23974693ffc5 (bug 1187157) for failing test_formSubmission.html on Mulet Linux x64 opt. r=backout 2016-01-06 18:06:26 +01:00
Ben Kelly
d3bb38fe25 Bug 1237158 Unregister service worker at end of test_offscreen_serviceworker.html. r=ehsan 2016-01-06 08:56:16 -08:00
Andrea Marchesini
eefcbb7a5a Bug 1187157 - new FormData::get() should return an empty string if the file is not set, r=smaug 2016-01-06 15:42:35 +00:00
Bogdan Postelnicu
33408a79da Bug 1236900 - Remove useless null check since mOwnerContent cannot be null. r=jst 2016-01-06 00:56:00 -05:00
Ryan VanderMeulen
338175e6c4 Merge m-c to inbound. a=merge 2016-01-06 09:50:26 -05:00
Jean-Yves Avenard
f06fee53b2 Bug 1214462: P7. Do not assume having ffmpeg enabled provides h264 or mp3 decoding. r=cpearce
FFmpeg on Windows or Mac only provides VP9 and VP8 decoding
2016-01-06 23:03:54 +11:00
Jean-Yves Avenard
c24499860e Bug 1214462: P4. Add Windows support for the FFmpeg PDM. r=kentuckyfriedtakahe 2016-01-06 23:03:52 +11:00
Jean-Yves Avenard
dcaa98f6ff Bug 1237210: [ffmpeg] P2. Reduces threads use in FFmpeg video decoder. r=gerald
We use the same logic as what is used in libvpx to ensure that we won't get a regression due to excessive memory/thread use when replacing libvpx with ffmpeg.
2016-01-06 23:03:49 +11:00
Jean-Yves Avenard
84adb8a2db Bug 1237210: [ffmpeg] P1. Have specialized AVCodecContext initialization. r=gerald
A common initialization procedure is too restrictive, and we end up setting up audio configuration for video decoding and vice-versa
2016-01-06 23:03:49 +11:00
Andrea Marchesini
bfac824468 Bug 1235657 - Session storage needs to handle origin attributes correctly - part 1 - createOriginAttributesWithUserContextId, r=huseby 2016-01-06 10:08:30 +00:00
Tooru Fujisawa
1c5faa6612 Bug 1180290 - Part 5: Remove getter/setter variant for ThrowInvalidThis message. r=bz 2016-01-06 17:54:00 +09:00
Tooru Fujisawa
6d8f59ef3f Bug 1180290 - Part 2: Handle prefix in DefinePropertyById. r=till,smaug 2016-01-05 03:21:24 +09:00
Maksim Lebedev
003713ca08 Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Jean-Yves Avenard
ef735e6d0a Bug 1236120: [ffmpeg] Use demuxed dimensions to determine picture size and offset. r=gerald
Don't assume it always has an offset of (0,0)
2016-01-01 20:54:31 +11:00
Dave Hylands
d6a379cf52 Bug 1232506: Make dom/devicestorage really work with e10s. r=alchen 2015-12-18 17:17:46 -08:00
Wes Kocher
e5d3cfcb59 Backed out 2 changesets (bug 1235598) for linux reftest bustage
Backed out changeset 3bcd3c276785 (bug 1235598)
Backed out changeset 80cd10a8b3d7 (bug 1235598)
2015-12-31 15:51:13 -08:00
Byron Campen [:bwc]
1c45af939a Bug 1230184 - Disable setParameters mochitest on the same platforms that basicVideo is disabled on. r=jesup 2015-12-31 15:32:31 -06:00
Jan-Ivar Bruaroey
0d47dc0378 Bug 1230184 - add media.peerconnection.simulcast pref. r=bwc 2015-12-31 10:32:26 -06:00
Jan-Ivar Bruaroey
8ee64ffb1c Bug 1230184 - add input parameter validation to setParameters. r=bwc 2015-12-31 10:32:25 -06:00
Jan-Ivar Bruaroey
179b434c4f Bug 1230184 - plumb setParameters down to JsepTrack. r=bwc, r=mrbkap 2015-12-31 10:32:24 -06:00
Jan-Ivar Bruaroey
2469da1dc3 Bug 1230184 - setParameters webidl. r=smaug 2015-12-31 10:32:23 -06:00
Ehsan Akhgari
27542f2579 Bug 1226087 - Increase the timeout of browser_bug1108547.js 2015-12-31 17:24:41 -05:00
Terrence Cole
ff752ad675 Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug 2015-12-30 08:52:14 -08:00
Xidorn Quan
d6731e1448 Bug 1180351 - Followup: Disable pointerlock tests on Windows for frequently failing tests. r=turning off tests 2015-12-31 14:47:55 +01:00
Olli Pettay
9ca85488af Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence 2015-12-31 15:21:49 +02:00
Makoto Kato
79461c8903 Bug 1208944 - Part 11. Add test. r=jmathies 2015-12-29 22:57:38 +09:00
Makoto Kato
89fbbd6c2c Bug 1208944 - Part 10-b. Call DefaultProc When CompositionEvent isn't handled correctly by plugin. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
8a1da22fa8 Bug 1208944 - Part 10-a. Call CallWindowProc when WidgetPluginEvent isn't handled by plugin. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
da1d05f548 Bug 1208944 - Part 9. Hook IMM32 APIs on plugin process. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
d8d81803c6 Bug 1208944 - Part 6. Get vaild TextRangeArray on compositionupdate. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
a748d78d61 Bug 1208944 - Part 5. Send PluginEvent to content process. r=jmathies 2015-12-29 22:57:38 +09:00
Makoto Kato
adb50fe2b3 Bug 1208944 - Part 3. Allow IME window messages on plugin process. r=jmathies 2015-12-29 22:57:38 +09:00
Makoto Kato
0ba95d8537 Bug 1208944 - Part 2-b. Workaround for OSX. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
e68aa63dd5 Bug 1208944 - Part 2-a. Handle CompositionEvent on plugin. r=masayuki 2015-12-29 22:57:37 +09:00
Phil Ringnalda
56c57ae873 Back out 6 changesets (bug 1214462) for Win PGO build bustage, reftest failures and mochitest failures
CLOSED TREE

Backed out changeset 803dba2adb27 (bug 1214462)
Backed out changeset e1b318c9c1db (bug 1214462)
Backed out changeset 3a421412b161 (bug 1214462)
Backed out changeset 2b388a17f4be (bug 1214462)
Backed out changeset 6a290f27f9bc (bug 1214462)
Backed out changeset 3dbf22bf17a4 (bug 1214462)
2015-12-30 20:37:08 -08:00
Ehsan Akhgari
14367186d8 Bug 579517 follow-up: Remove NSPR types that crept in 2015-12-30 22:52:50 -05:00
Ehsan Akhgari
f2b8bad126 Bug 1203441 - Increase the timeout of browser_use_counters.js 2015-12-30 22:27:40 -05:00
Jean-Yves Avenard
1eb8494d54 Bug 1214462: P4. Add Windows support for the FFmpeg PDM. r=kentuckyfriedtakahe 2015-12-31 13:17:23 +11:00
Wes Kocher
7e6ad693df Backed out changeset 0d55a6e4e98e (bug 1120016) for 980 b2g hazards 2015-12-30 16:34:18 -08:00
Xidorn Quan
89967b89dc Bug 1180351 - Enable pointerlock tests on Windows and Linux. r=smaug 2015-12-31 10:50:32 +11:00
Xidorn Quan
63df82dd2f Bug 241719 part 1 - Do not override list-style-type if the list element has invalid type value. r=dbaron 2015-12-31 10:50:05 +11:00
Mike Hommey
673e7f80f7 Bug 1235676 - Replace $(abspath $(DEPTH)) with $(topobjdir). r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
a05c4207ed Bug 1235676 - Replace $(abspath $(DIST)) with $(ABS_DIST). r=mshal 2015-12-31 08:10:02 +09:00
Terrence Cole
3f5182646c Backout Bug 1235598 Part 2 because of merge bustage on a CLOSED TREE 2015-12-30 15:05:24 -08:00
Terrence Cole
b37986abd9 Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug 2015-12-30 08:52:14 -08:00
Jeff Walden
0195fbed46 Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence 2015-12-28 16:15:52 -06:00
Olli Pettay
6e3b3ad7d8 Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence 2015-12-30 19:16:13 +02:00
Sebastian Hengst
72943a096d Backed out changeset 21607399e25e (bug 1229983) for failing own R(C) test. r=backout 2015-12-30 15:00:44 +01:00
Carsten "Tomcat" Book
4ae01b1378 Merge mozilla-central to mozilla-inbound 2015-12-30 12:15:55 +01:00
Carsten "Tomcat" Book
a335baf068 merge mozilla-inbound to mozilla-central a=merge 2015-12-30 12:00:03 +01:00
Phil Ringnalda
657283eccb Back out changeset 3769091b5a3e (bug 1218482) for frequent "Assertion failure: mCompositorThreadHolder" on b2g 2015-12-29 19:32:45 -08:00
Phil Ringnalda
bac851a4f0 Back out 2 changesets (bug 1234192) for "Assertion failure: !mFileSystem" in test_fs_createFile.html
Backed out changeset 3f37b08ceb85 (bug 1234192)
Backed out changeset bab507aa7874 (bug 1234192)
2015-12-29 19:16:40 -08:00
Bill McCloskey
b77f397347 Bug 1231306 - Handle plugin state changes correctly in content process (r=jimm) 2015-12-29 14:30:58 -08:00
Andrea Marchesini
b7c7694a34 Bug 1234192 - part 2 - Directory should unlink/traverse the OSFileSystem in order to unlink/traverse the window, r=smaug 2015-12-29 20:42:31 +00:00
Andrea Marchesini
d35c17ca0c Bug 1234192 - part 1 - FileSystemBase should not be thread-safe, r=smaug 2015-12-29 20:41:37 +00:00
Andrea Marchesini
bb44958f9a Bug 1235629 - Remove dead code in WorkerFeature.h, r=smaug 2015-12-29 20:35:21 +00:00
Lee Salzman
23a33247c6 Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar 2015-12-16 17:53:11 -05:00
Lee Salzman
96319559e1 Bug 1229932 - check that offsets to canvas fillText() are finite. r=jmuizelaar 2015-12-16 14:56:22 -05:00
Marco Castelluccio
a86f018441 Bug 1235101 - Add script to create test receipts to the tree. r=ferjm 2015-12-24 16:49:00 +01:00
Andrea Marchesini
a6b55475ea Bug 1234192 - part 2 - Directory should unlink/traverse the OSFileSystem in order to unlink/traverse the window, r=smaug 2015-12-30 08:53:38 +00:00
Andrea Marchesini
dd45a48811 Bug 1234192 - part 1 - FileSystemBase should not be thread-safe, r=smaug 2015-12-30 08:53:20 +00:00
Chris Peterson
08d0145978 Bug 1235503 - Fix -Wunreachable-code warnings in dom/media/. r=jya
dom/media/DecoderTraits.cpp:314:10 [-Wunreachable-code-return] 'return' will never be executed
dom/media/DecoderTraits.cpp:324:10 [-Wunreachable-code-return] 'return' will never be executed
2015-12-28 00:11:26 -07:00
Kearwood (Kip) Gilbert
8f58ca6677 Bug 1218482 - Enable WebVR By Default,r=bz
- dom.vr.enabled is now "true" by default for non-release builds.
- dom.vr.add-test-devices is now "0" by default, so that content may detect
  VR devices accurately.
2015-10-26 19:56:49 -07:00
Ben Hsu
5c861f6c7c Bug 975778 - Part 2: Add a new testcase for CDMA call waiting (Testcase). r=btseng 2015-10-08 03:07:00 +08:00
Ben Hsu
af2b7c81ba Bug 975778 - Part 1: Modify some helper functions (head.js). r=btseng 2015-10-08 02:57:00 +08:00