Commit Graph

406867 Commits

Author SHA1 Message Date
L. David Baron
6475962f36 Bug 960465 patch 18 - Remove aElementOrPseudoElement parameter to ReparentStyleContext (added in bug 1057129). r=birtles 2015-02-17 11:15:05 +13:00
L. David Baron
bc26f211f6 Bug 960465 patch 17 - Remove separate animation and non-animation phases of restyling. r=birtles
Note that this means that when we start transitions, we post restyles
that are processed during the current restyling operation, rather than
in a later phase.  This depends on patch 11, which makes the transition
manager skip style changes that it posts while starting transitions, to
ensure that this doesn't lead to an infinite loop.  This also depends on
patch 16, which only consumes restyle data for the primary frame, to
ensure that the animation restyles posted are processed properly.  It
also depends on patch 14, which makes us retain data on finished
transitions, to avoid triggering extra transitions on descendants when
both an ancestor and a descendant transition an inherited property, and
the descendant does so faster.

This fixes a known failure in layout/style/test/test_animations.html and
test_animations_omta.html (as visible in the patch).  I believe this is
because this patch changes us to compute keyframe values for animations
on top of a style context *with* animation data rather than one without,
which means what we're computing them on top of changes each time.  (The
purpose of patch 3 was to avoid this in the case where avoiding it
matters, i.e., implicit 0% and 100% keyframes.)
2015-02-17 11:15:05 +13:00
L. David Baron
7695d1eb3f Bug 960465 patch 16 - Only consume restyle data for the primary frame. r=birtles
This is needed for patch 17, which removes restyling phases, so that
when the transition manager posts a restyle to undo the covering done by
the cover rule, that restyle doesn't get consumed by an inner frame.
2015-02-17 11:15:04 +13:00
L. David Baron
8e1599d76b Bug 960465 patch 15 - Switch debugging user of IsProcessingAnimationOnlyStyleUpdate() to InAnimationOnlyStyleUpdate() so that I can remove the former. r=birtles 2015-02-17 11:15:04 +13:00
L. David Baron
824c76c900 Bug 960465 patch 14 - Retain finished transitions until the next style change or until removed from transition-property. r=birtles
Note that this increases memory use for completed transitions since we
don't throw away the data when the transitions complete.  That said,
this matches what we do for CSS Animations, and it's needed (once we
switch to the new rules for starting transitions) to maintain the
invariant that unrelated style changes don't trigger transitions.

The storage issues could be optimized in the future if it turns out to
be a problem, but I think that's unlikely, given that we'll never store
more than one for any element+property combination.
2015-02-17 11:15:04 +13:00
L. David Baron
0eb562a497 Bug 960465 patch 13 - Remove the cover rule code, which became unused in the previous patch. r=birtles 2015-02-17 11:15:04 +13:00
L. David Baron
fbd52317d1 Bug 960465 patch 12 - Instead of using the full style covered by the cover rule as the parent style for descendents when we've tried starting transitions, use the after-change style. r=birtles
This switches to the new rules for how transitions start on descendants
when also starting on ancestors.
2015-02-17 11:15:03 +13:00
L. David Baron
38c8f0feac Bug 960465 patch 11 - nsTransitionManager should skip style changes that it posted while starting transitions. r=birtles
This will be needed when (in later patches) we stop separating animation
phases.
2015-02-17 11:15:03 +13:00
L. David Baron
933fe5e308 Bug 960465 patch 10 - Invalidate the collection's style rule when we stop some but not all transitions. r=birtles 2015-02-17 11:15:03 +13:00
L. David Baron
ec1d6f8002 Bug 960465 patch 9 - Move the addition of the cover rule into nsTransitionManager::StyleContextChanged so that later patches can make it other than just addition of a rule. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
cd2759deae Bug 960465 patch 8 - Get a style that is the correct "after-change style" for once we stop using animation phases. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
9e99ab7b35 Bug 960465 patch 7 - Use SetInAnimationOnlyStyleUpdate for ProcessPendingRestyles runs that are only updating animation data. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
c60431ba8a Bug 960465 patch 6 - Add the new mechanism for avoiding starting spurious transitions as a result of animations: flush animation styles only before doing other restyle processing. r=birtles 2015-02-17 11:15:02 +13:00
L. David Baron
cf453a224f Bug 960465 patch 5 - Make SMIL animations participate in the animation-only style flush. r=birtles
This is needed to prevent these reftests from failing:
  layout/reftests/svg/smil/smil-transitions-interaction-1a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-1b.svg
  layout/reftests/svg/smil/smil-transitions-interaction-2a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-2b.svg
  layout/reftests/svg/smil/smil-transitions-interaction-4a.svg
  layout/reftests/svg/smil/smil-transitions-interaction-4b.svg
The mIsCSS path fixes the a tests, and the !mIsCSS path fixes the b tests.

This is because this patch series changes the way in which transitions
interact with other types of animations to depend on those animations
being flushed in the animation-only style flush.  (The relevant call is
added in patch 6, though we don't really depend on it until patch 17.)
2015-02-17 11:15:02 +13:00
L. David Baron
1b6ffe0698 Bug 960465 patch 4 - Track whether there are any pending non-animation restyles. r=birtles
This depends on bug 1087536 patch 3, which posts animation restyles
using the eRestyle_CSSTransitions and eRestyle_CSSAnimations hints.

This is used by patch 6.
2015-02-17 11:15:02 +13:00
L. David Baron
ccbaeaf9e9 Bug 960465 patch 3 - Use style without animation for base values for CSS animations (refixes bug 686656 in the new architecture). r=birtles
This is needed to make the tests for bug 686656 in test_animations.html
pass.

Note that once the rest of bug 960465 happens this will start producing
slightly different results in edge cases, since we will only be skipping
animation styles for the element itself and not for ancestors.  However,
both old and new behaviors are incorrect, since per spec we should be
updating the base values dynamically (bug 1064915).
2015-02-17 11:15:01 +13:00
L. David Baron
4eedf5bf60 Bug 960465 patch 2 - Add method to return a modified version of a style context, with all or part of the animation data removed. r=birtles
This is used in patch 3.
2015-02-17 11:15:01 +13:00
L. David Baron
e5827e4f0a Bug 960465 patch 1 - Add parameter to skip animations work to ResolveStyleWithReplacement. r=birtles
This is used in patch 2.
2015-02-17 11:15:00 +13:00
Jan de Mooij
5be35ccb04 Bug 1132128 - Don't use recover instructions for MRegExp* instructions. rs=nbp 2015-02-16 23:12:05 +01:00
Xidorn Quan
6dc852a60b Bug 1133573 - Fix available size calculation of ruby text container. r=roc
--HG--
extra : source : 8d3b16b31e7e7369264155e51f93a0116e6b892e
2015-02-17 11:07:55 +13:00
L. David Baron
962560da64 Back out changeset ffa5f28f512c (bug 1133541) on a CLOSED TREE for failing to compile (aPrincipal: undeclared identifier). 2015-02-17 10:42:40 +13:00
Matt Woodrow
6d2248d49b Bug 1133356 - Expand macro in OnImageAvailable to avoid checking NotificationsDeferred. r=roc 2015-02-17 10:15:04 +13:00
Catalin Badea
26ab086d2b Bug 982726 - Patch 3.1 Throw InvalidStateError when ServiceWorkerState == Redundant. r=nsm 2015-02-16 23:03:48 +02:00
Patrick McManus
d7be74843c bug 967792 - make localhost resolve offline r=dragana 2015-02-15 13:50:48 -05:00
Andrea Marchesini
96059ce8a5 Bug 1133541 - ServiceWorkerManger::GetRegistrations should use the principal to match the registration objects, r=nsm 2015-02-16 21:59:53 +01:00
Chris Peterson
7eb58b57db Bug 1133291 - Remove unused code from Clear Key's openaes. r=cpearce 2015-02-15 22:07:10 -08:00
Chris Peterson
fca55838eb Bug 1133282 - Remove nonstandard expression closures from netwerk. r=mcmanus 2015-01-24 23:50:26 -08:00
Andrea Marchesini
c5a2a88f83 Bug 1130570 - Tests use iframe instead of window.open. r=nsm
--HG--
extra : rebase_source : 30c2a3921cfa5208257da144ae496967a14d6511
2015-02-12 15:10:11 -08:00
Nikhil Marathe
00d3e72974 Bug 1130570 - Ensure we have a valid runtime service, and clear updating scopes on early return. r=baku
--HG--
extra : rebase_source : e72f9706bf4c6591bffb93ab9aff34d68c9a97b6
2015-02-11 13:24:57 -08:00
Nikhil Marathe
8ece130b23 Bug 1130065 - ServiceWorkerManager capture "atomically" properly. r=baku
Folds:
Enable most SW tests
Cannot rely on controllerchange firing in an already controlled window. The AbortError case is no longer relevant due to FIFO ordering
Too bad we have to use timeouts

--HG--
extra : rebase_source : c7370b79541d4e8036c07b81ae6da92f8175526b
2015-02-10 14:33:23 -08:00
Nikhil Marathe
d393dddf01 Bug 1041340 - Implement [[HandleDocumentUnload]]. r=baku
--HG--
extra : rebase_source : c3a06f24725dadc812f5a0c5e3230923869e26c6
2014-10-24 15:11:26 -07:00
Magnus Melin
08506a0abf Bug 1132337 - fix "ReferenceError: PlacesTestUtils is not defined" in test_history_expiration.js. r=paolo
comm-central: TEST-UNEXPECTED-FAIL | toolkit/components/downloads/test/unit/test_history_expiration.js | xpcshell return code: 0
2015-02-16 19:14:43 +02:00
Valentin Gosu
48e650893e Bug 1132693 - navigator.onLine detection not working on Android r=mcmanus 2015-02-16 19:25:40 +02:00
Bobby Holley
4ee93e5397 Bug 1125970 - Make flushing an opt-in mechanism, and use it only for the PDM task queues. v1 r=cpearce 2015-02-16 09:03:34 -08:00
Chris Pearce
ded330ee85 Bug 1125970 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley 2015-02-16 09:03:26 -08:00
Bobby Holley
fae2353de3 Bug 1125970 - Reject promises in MediaDecoderReader::ResetDecode and don't re-request audio and video when the promises have been rejected. v1 r=cpearce 2015-02-16 09:03:25 -08:00
Benjamin Bouvier
63e8c030a4 Bug 1130618: Introduce ion.gvn.enable in SetJitCompilerOptions; r=nbp
--HG--
extra : rebase_source : fccc8c74ce080f887246aca2254f9b453bcf810d
2015-02-12 11:50:51 +01:00
Benjamin Bouvier
8b314aadfe Bug 1130618: Ensure float32 coercion of inputs to Float32 MConstant; r=luke
--HG--
extra : rebase_source : 9513ab5cecb9da7aade20a332504f6865eedf660
2015-02-12 16:15:59 +01:00
Benjamin Bouvier
56975be652 Bug 1130972: Fix rooting hazards in SIMD load/store interpreter methods; r=jonco
--HG--
extra : rebase_source : b9ffbf49db257cc8f75f3f914929d3f0821a65ab
extra : amend_source : 26168fac2bb3f46d23440ebcd0be036366bbbae0
2015-02-11 12:48:23 +01:00
Benjamin Bouvier
83a42461c3 Bug 1122401: Factor out zero special-case path for SoftUDivMod, UDiv, UMod in ARM codegen; r=nbp
--HG--
extra : rebase_source : 585d29a6c7446b875bf9f57dc4c1c88a1e1c34a9
2015-02-10 15:00:27 +01:00
Benjamin Bouvier
c033e4247c Bug 1122401: Add other checks for SoftUDivMod codegen; r=nbp
--HG--
extra : rebase_source : f5ce77205216e35e34aa3b2a5c49d4adea667006
2015-02-12 16:46:04 +01:00
Benjamin Bouvier
5a87e26bc2 Bug 1122401: Check that the remainder is null in unsigned soft divisions on ARM or bailout; r=dougc
--HG--
extra : rebase_source : 01ffcfe9a6b882fbdec508b4b93c459d77a9a732
2015-02-06 18:31:29 +01:00
Mason Chang
5869da0ce1 Bug 1128165 - Expose Silk Preferences in about:config. r=kats 2015-02-16 08:13:56 -08:00
Benjamin Bouvier
d23a2114cf Bug 1130845: Add a list of SIMD freed stack slots in LinearScan; r=sunfish
--HG--
extra : rebase_source : 7828fb3896a090d03249a8d00c0a599196a949fc
2015-02-12 15:49:33 +01:00
Carsten "Tomcat" Book
e2399947f4 Merge mozilla-central to mozilla-inbound 2015-02-16 16:14:51 +01:00
Ankit Goyal
07ae88b846 Bug 1131529 - Update the maximum FFT size in AnalyserNode to be 2^15. r=padenot 2015-02-16 16:03:07 +01:00
Carsten "Tomcat" Book
08fafcb3e2 merge mozilla-inbound to mozilla-central a=merge 2015-02-16 15:59:56 +01:00
Carsten "Tomcat" Book
4e0859e7c2 merge b2g-inbound to mozilla-central a=merge 2015-02-16 15:56:10 +01:00
Carsten "Tomcat" Book
3120a697c4 merge fx-team to mozilla-central a=merge 2015-02-16 15:48:09 +01:00
Jonathan Kew
7b863aeb19 Bug 1119475 - tests pt 3 - Modify reftest for textarea padding on Windows Vista and later. r=heycam
--HG--
rename : layout/reftests/writing-mode/ua-style-sheet-textarea-1a-ref.html => layout/reftests/writing-mode/ua-style-sheet-textarea-1c-ref.html
2015-02-16 11:59:31 +00:00