Commit Graph

429485 Commits

Author SHA1 Message Date
Brian Birtles
8565613d78 Bug 1171817 part 3 - Add CSSTransition::GetOwningElement; r=dbaron
This patch applies the same treatment to CSS transitions that we applied to CSS
animations in the previous patch in this series.

--HG--
extra : commitid : 1XNVVYTh0C2
extra : rebase_source : 4e27eaaab5e2b734636fa29406b42ae799e1f493
2015-06-09 11:13:53 +09:00
Brian Birtles
916a2b1a0e Bug 1171817 part 2 - Add CSSAnimation::GetOwningElement; r=dbaron
In order to sort CSS animation objects correctly, we need to know which
element's animation-name property they appear in, if any. Normally that's
simply the target element of the animation's keyframe effect but it can differ
in the following cases:

1) When script modifies a CSSAnimation's effect to target a different element
   (or simply removes the effect altogether). In this case we use the
   *owning* element to determine the priority of the animation, not the target
   element.

   This scenario does not yet occur (bug 1049975).

2) When script creates a CSSAnimation object using the CSSAnimation constructor.
   In this case, the owning element should be empty (null) and we should
   determine the priority of the animation in the same way as any other
   Animation object.

   Again, this is not yet supported (or even specced) but will be eventually.

3) When script holds a reference to a CSSAnimation object but then updates the
   animation-name property such that the animation object is cancelled. In this
   case the owning element should be cleared (null) so we know to not to try and
   sort this with regard to any animation-name property.

   This is possible using code such as the following:

     elem.style.animation = 'a 5s';
     var a = elem.getAnimations()[0];
     elem.style.animation = 'b 5s';
     a.play(); // Bring a back to life
     document.timeline.getAnimations();
     // ^ At this point we need to know how to sort 'a' and 'b' which depends
     // on recognizing that a is no longer part of an animation-name list.

Until we implement bug 1049975, we could support sorting animations without
adding the reference to the owning element by setting a flag on the CSSAnimation
object but (having tried this) it turns out to be cleaner to just introduce this
reference now, particularly since we know we will need it later.

Note that we will also need this information in future to dispatch events to the
correct element in circumstances such as (1) once we separate updating timing
information (including events) from applying animation values.

--HG--
extra : commitid : 8o9bf6l7kj7
extra : rebase_source : 391a4e8769cc96584ebd625d4b1d0e873373fd41
2015-06-09 11:13:53 +09:00
Brian Birtles
e1ae8c1a56 Bug 1171817 part 1 - Cancel animations when destroying the property holding them; r=dbaron
Prior to this patch we cancel animations in AnimationCollection::Destroy but
this is not called automatically when the property holding the collection is
destroyed via its destructor. When an element is unbound from the tree we
destroy its animation properties but don't call AnimationCollection::Destroy.
This means, that in such circumstances:

* We won't create animation mutation records for the removed animations
* Once we start registering animations with a timeline they won't have a
  chance to remove themselves from the timeline (meaning
  document.timeline.getAnimations()) will keep returning them
* Once we go to implement the animationcancel and transitioncancel events we
  won't fire them in this case (assuming we implement the queueing/dispatch of
  those events as part of the cancel code)

This patch addresses this by moving the call to cancel each animations to the
property destructor for the animation properties.

We do this first so we can land this change separately to ease bisecting any
regressions it might trigger.

--HG--
extra : commitid : KzukSO91RMH
extra : rebase_source : 54ed2aeb69d8bceca424c70c7f33d4bf92d54546
2015-06-09 11:13:53 +09:00
Ehsan Akhgari
54a5716d5e Bug 1180765 - Bump the caches.sqlite version numbers because of the field that was added in bug 1169044; r=jdm 2015-07-08 19:35:29 -04:00
Chris Pearce
985163cd1a Bug 1180563 - Add pref to delay play of <video>s until they're visible. r=kinetik 2015-07-09 11:10:16 +12:00
Seth Fowler
60250d3c0a Bug 1180931 (Part 2) - Allow sync size decoding for transient (i.e. multipart) images. r=tn 2015-07-08 15:52:58 -07:00
Seth Fowler
6437d35410 Bug 1180931 (Part 1) - Allow sync size decoding for single core devices. r=tn 2015-07-08 15:52:51 -07:00
Jeff Walden
fdafec2f6f Bug 1169639 - Make intrinsicsHolder-accesses fallible, now that it's possible to access it without having previously gone through intrinsics-object creation code to ensure its existence. r=shu
--HG--
extra : rebase_source : d1cddba19aa67cf630e21c091f1c14c359db7366
2015-06-08 10:55:53 -07:00
Xidorn Quan
49222ce9db Bug 1170369 - Enable tests of Fullscreen API and PointerLock API on Windows XP and OS X 10.6+. r=RyanVM
--HG--
extra : source : 01f249688bdeaccc54efc986ca7fd027751153f1
2015-07-09 08:00:33 +10:00
Xidorn Quan
2a2bfd608e Bug 1181413 - Use enum to distinguish fullscreen request for Fullscreen Mode and Fullscreen API. r=smaug
--HG--
extra : source : 71db9f40101defdda86a4852e67dd6d1e6165c06
2015-07-09 08:00:33 +10:00
Xidorn Quan
d54d12611a Bug 1181395 - Avoid runtime conversion or copy of names of window classes on Windows. r=jimm
--HG--
extra : source : 9ba468db37a17a3f39191b8802283e88589e4135
2015-07-09 08:00:33 +10:00
Julian Seward
5c9cd6704d Bug 1137169 - Uninitialised value uses related to mozilla::dom::WebAudioUtils::SpeexResamplerProcess. r=rjesup.
--HG--
extra : rebase_source : 868317b702597783f155f93e0029acf896f017a6
2015-07-08 20:11:52 +02:00
Martin Thomson
30fc9b669e Bug 1181262 - Disabling more code under --disable-webrtc, r=dholbert,bwc
--HG--
rename : dom/media/RTCIdentityProviderRegistrar.cpp => dom/media/webrtc/RTCIdentityProviderRegistrar.cpp
rename : dom/media/RTCIdentityProviderRegistrar.h => dom/media/webrtc/RTCIdentityProviderRegistrar.h
extra : commitid : 1wyjSLjnSs8
extra : rebase_source : b7777f20ed69324e8572f34f4cb1246d704b2c65
2015-07-08 12:27:45 -07:00
George Wright
e740633931 Bug 1106527 - Increase the tab timeout for showing the spinner to 400ms and make the spinner smaller to conform to UX's new requirements r=mconley 2015-07-06 17:59:57 -04:00
James Graham
cb5657df7a Bug 1181521 - Reformat runreftest.py according to PEP8 rules, r=Ms2ger,jmaher
--HG--
extra : commitid : AnzOlk7AZll
extra : rebase_source : 7250fc6f3c325f1e11d2a201324e45cc4a347703
extra : amend_source : b5c67390d9448446208aba95f7e082a20c02f35b
2015-07-08 11:58:56 +01:00
Josh Matthews
d44ba84463 Bug 1176542 - Trace the window object in the TCPSocket child proxy. r=mccr8 2015-07-08 16:06:33 -04:00
Mason Chang
a1081fe520 Bug 1178823. Part 2 - Load sanity test in remote XUL browser. r=mconley 2015-07-08 13:00:17 -07:00
Mason Chang
e7fc965d5b Bug 1178823. Part 1 - Test layers and video rendering. r=dvander 2015-07-08 13:00:17 -07:00
Ben Kelly
687fb616be Bug 1181259 Remove stray debugging printf from Cache API. r=froydnj 2015-07-08 12:55:36 -07:00
Patrick McManus
4988c8b53f Bug 1178991 - smartptr for http converter r=hurley
--HG--
extra : rebase_source : 26ae963839aaf0ad73ecdfd0b11c53e5b1c7ccac
2015-06-30 17:17:10 -04:00
Patrick McManus
58f89fd9e6 bug 1179560 - some 421 retries dont work r=hurley
--HG--
extra : rebase_source : 5a71917abb8159dab520848c53fb20b210b5a049
2015-07-02 10:34:01 -04:00
Mason Chang
c393f81364 Bug 1181028. Delete assertion to create equivalent draw targets during box shadow creation. r=mstange 2015-07-08 10:00:32 -07:00
David Keeler
0d33e93440 bug 1178988 - convert test_ocsp_url to generate certificates at build time r=Cykesiopka
Also enable loading of certificates and private keys into GenerateOCSPResponse
2015-06-04 17:03:48 -07:00
David Keeler
c4edcb819d bug 1178988 - refactor key-specific parts of pycert.py into pykey.py r=Cykesiopka,mgoodwin 2015-06-30 14:35:42 -07:00
Chris Lord
415486f0fe Bug 1170644 - Fix forced reflow in BrowserElementChildPreload. r=bz 2015-07-08 15:38:43 +01:00
Steve Fink
fda6cabeb6 Bug 1180299 - Implement ScopeExit for running actions at the end of a scope, r=Waldo
--HG--
extra : commitid : JVZx97WUQxy
extra : rebase_source : 5cef069fd3071ad305a3e3f04e0addff577b1093
2015-07-03 14:20:55 -07:00
Ryan VanderMeulen
edce9d010f Merge inbound to m-c. a=merge
CLOSED TREE
2015-07-08 14:33:24 -04:00
Ryan VanderMeulen
778701a365 Merge b2g-inbound to m-c. a=merge 2015-07-08 14:28:54 -04:00
Ryan VanderMeulen
90ee335b6e Merge fx-team to m-c. a=merge 2015-07-08 14:21:12 -04:00
Jordan Lund
45e0930c05 Bug 1154796 - update gecko tree copy of Mozharness to 43f7600b8c80, CLOSED TREE r=mshal 2015-07-08 10:44:58 -07:00
lazyparser
18e38bbcc9 Bug 1181581 - Fix some typos in comments. r=jandem
CLOSED TREE
2015-07-08 09:13:00 -04:00
Carsten "Tomcat" Book
78ef46b67d Backed out changeset 12536dbd1274 (bug 834830) for various test bustage on a CLOSED TREE 2015-07-08 15:29:27 +02:00
Carsten "Tomcat" Book
57d4c559b2 Backed out changeset 53a5746425f9 (bug 834830) 2015-07-08 15:28:35 +02:00
Ryan VanderMeulen
b2cec37c35 Bug 1181533 - Add nsCRTGlue.h and prtime.h includes to nsDownloadManager.cpp to fix --disable-safe-browsing build bustage. r=froydnj
CLOSED TREE
2015-07-08 09:07:00 -04:00
Carsten "Tomcat" Book
ca5594cb83 merge mozilla-inbound to mozilla-central a=merge 2015-07-08 11:44:32 +02:00
Carsten "Tomcat" Book
958900994a merge fx-team to mozilla-central a=merge 2015-07-08 11:30:06 +02:00
Jocelyn Liu
539e9fd925 Bug 1170071 - Part 4: Add Gatt server interfaces for Bluetooth daemon. r=shuang
CLOSED TREE
2015-07-08 04:34:00 -04:00
Jocelyn Liu
9fc0663fab Bug 1170071 - Part 3: Add gatt server support to GATT module for Bluetooth daemon. r=shuang 2015-07-08 04:33:00 -04:00
Jocelyn Liu
a1b39d5a02 Bug 1170071 - Part 2: Add helpers for Bluetooth daemon GATT server support. r=shuang 2015-07-08 04:31:00 -04:00
Jocelyn Liu
ba11710dae Bug 1170071 - Part 1: Revise BluetoothGattInterface, result handler, and interface helper for daemon support of gatt server. r=shuang 2015-07-08 04:30:00 -04:00
B2G Bumper Bot
b4fbb5b42d Bumping manifests a=b2g-bump 2015-07-08 04:37:33 -07:00
B2G Bumper Bot
1785914f1e Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/40fc25355c43
Author: Borja Salguero <borjasalguero@users.noreply.github.com>
Desc: Merge pull request #30771 from jpruden92/bug1175815-contacts

 Bug 1175815 - [Contacts][NGA] Remove 'curtainFrame' dependency when matching

========

https://hg.mozilla.org/integration/gaia-central/rev/a0dee44de4e8
Author: jpruden92 <jorgepruden@gmail.com>
Desc: Bug 1175815 - [Contacts][NGA] Remove 'curtainFrame' dependency when matching
2015-07-08 04:35:34 -07:00
B2G Bumper Bot
c9dadecb96 Bumping manifests a=b2g-bump 2015-07-08 03:47:07 -07:00
B2G Bumper Bot
a5fb25c051 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ff65a03ad65c
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Merge pull request #30861 from etiennesegonzac/bug-1180961

Bug 1180961 - Prevent a race condition when an edge gesture is commited while we're going home r=albertopq

========

https://hg.mozilla.org/integration/gaia-central/rev/7dc421a4dea6
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Bug 1180961 - Prevent a race condition when an edge gesture is commited while we're going home r=albertopq
2015-07-08 03:45:06 -07:00
B2G Bumper Bot
14ba0e25ab Bumping manifests a=b2g-bump 2015-07-08 03:23:43 -07:00
Carsten "Tomcat" Book
52964885b1 Merge mozilla-central to b2g-inbound 2015-07-08 12:12:07 +02:00
B2G Bumper Bot
cb256e0c6f Bumping manifests a=b2g-bump 2015-07-08 02:37:34 -07:00
B2G Bumper Bot
9ee8138b74 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/80553d0e2d3e
Author: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Desc: Merge pull request #30858 from azasypkin/bug-1179705-update-threads-js

Bug 1179705 - [Messages][NGA] Upgrade to latest version of threads.js. r=julien

========

https://hg.mozilla.org/integration/gaia-central/rev/22d53ce32333
Author: Aleh Zasypkin <azasypkin@mozilla.com>
Desc: Bug 1179705 - [Messages][NGA] Upgrade to latest version of threads.js. r=julien
2015-07-08 02:35:34 -07:00
B2G Bumper Bot
ab614eb720 Bumping manifests a=b2g-bump 2015-07-08 01:14:49 -07:00
B2G Bumper Bot
81b7d06780 Bumping manifests a=b2g-bump 2015-07-07 23:22:32 -07:00