Граф коммитов

157 Коммитов

Автор SHA1 Сообщение Дата
Jesse Ruderman 9b054b046b Bug 1186768 patch 2 - Crashtest. r=heycam
David Baron confirmed locally that this fails with a fatal assertion
without patch 1 and passes with patch 1.

--HG--
extra : commitid : I8JJwlxIugj
2015-11-06 11:26:50 +08:00
Mats Palmgren 504eab4598 Bug 1221902 part 2 - Crashtest. 2015-11-05 22:09:27 +01:00
Carsten "Tomcat" Book 86d664fb6c Backed out changeset a4101bc25be5 (bug 1186768) 2015-11-05 11:21:22 +01:00
Jesse Ruderman f27166e6a2 Bug 1186768 patch 2 - Crashtest. r=heycam
David Baron confirmed locally that this fails with a fatal assertion
without patch 1 and passes with patch 1.

--HG--
extra : commitid : ITdBA0fwuCq
2015-11-05 16:50:04 +08:00
Ryan VanderMeulen ffb659f49e Bug 696869 - Add crashtest.
--HG--
extra : rebase_source : 41c72716e6d9a93eefff3ddce1434697b8af9436
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Ryan VanderMeulen 73cc584a88 Bug 477490 - Re-enable long-url-list-stack-overflow.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen 812796fec3 Bug 795534 - Re-enable the 786108 crashtests on Android/e10s. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen cc674dddb2 No bug - Remove annotations from the editor and layout crashtest manifests that are no longer needed. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen fac3490cb6 Bug 652976 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen 4cc44aa94f Bug 622314 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen f4f3f9c8a2 No bug - Clean up layout/style crashtest manifest. 2015-10-30 19:41:16 -04:00
Cameron McCormack d8893979ef Bug 621596 - Followup to add the test file. (CLOSED TREE)
--HG--
extra : rebase_source : 6b0e7e2402bdd8d7aa6650a6982680f17947d909
extra : amend_source : 01699d625cb9b060266ccdd0417da5d1f7ad89fb
2015-10-30 19:16:34 +11:00
Cameron McCormack 81521bc53b Bug 621596 - Don't assert when a percentage base value overflows to become negative, when getting the computed style of a property that rejects negative values. r=bzbarsky 2015-10-30 16:51:38 +11:00
Ryan VanderMeulen 8f38f910b8 Bug 575464 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 80cc335b07 Bug 474377 - Add crashtest.
--HG--
extra : rebase_source : f84cd1c53448a790676a7cc7e55be42af9ae2c23
2015-10-24 15:03:19 -04:00
Ryan VanderMeulen 1e35b5d9be Bug 460209 - Add crashtest.
--HG--
extra : rebase_source : f729a18d65d9baa5580b8b12c911f04e7f146b99
2015-10-24 15:03:19 -04:00
L. David Baron 403e6f2a92 Bug 1206105 - Use CheckedInt for an+b selector matching. r=bzbarsky
--HG--
extra : transplant_source : %95Z1JF%FES%FF%9F%F8%F9%9D%5Eu%E7s%CC%8C%99%3C
2015-09-22 11:25:38 -07:00
Brian Birtles 8530476b49 Bug 1200568 - Don't create animations for elements that are not part of the document tree; r=dbaron
As well as ensuring that we don't create animations for elements that are not
part of the document tree, this test also adjusts the assertion that checks
this in the following ways:

* Calls GetComposedDoc() instead of GetCrossShadowCurrentDoc() since the
  latter is deprecated.
* Moves it from RequestRestyle to FlushAnimations since, depending on how we
  refactor this code in the future, it's possible we might end up calling
  RequestRestyle even for animations on elements that have been removed from the
  document but we shouldn't call FlushAnimations in this case.
2015-09-09 10:10:41 +09:00
Wes Kocher 53368e989a Backed out 2 changesets (bug 1035091)
a=backout

Backed out changeset 1fc07bdd9aa8 (bug 1035091)
Backed out changeset f6e98029d1cb (bug 1035091)

--HG--
rename : layout/style/test/chrome/test_moz_document_matching.html => layout/style/test/chrome/test_moz_document_rules.html
rename : layout/style/test/chrome/test_moz_document_nesting.html => layout/style/test/test_bug511909.html
rename : layout/style/test/chrome/test_moz_document_serialization.html => layout/style/test/test_rule_serialization.html
2015-09-03 11:41:39 -07:00
Zack Weinberg 7912db5bd1 Bug 1035091 part 2: disable @-moz-document in author sheets. r=heycam
--HG--
rename : layout/style/test/test_condition_text.html => layout/style/test/chrome/moz_document_condition_text.css
rename : layout/style/test/test_rule_serialization.html => layout/style/test/chrome/moz_document_serialization.css
rename : layout/style/test/test_condition_text.html => layout/style/test/chrome/test_moz_document_condition_text.html
rename : layout/style/test/chrome/test_moz_document_rules.html => layout/style/test/chrome/test_moz_document_matching.html
rename : layout/style/test/test_bug511909.html => layout/style/test/chrome/test_moz_document_nesting.html
rename : layout/style/test/test_rule_serialization.html => layout/style/test/chrome/test_moz_document_serialization.html
extra : rebase_source : 9d97f4cfe5e5e3bbda1d1b7910db44faf33d14c1
2015-09-02 13:54:30 -04:00
Cameron McCormack 0423ad42b1 Bug 1146101 - Test. r=dbaron a=abillings 2015-08-14 12:24:49 +10:00
Masatoshi Kimura 52428897a6 Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems 2015-07-15 23:37:22 +09:00
Masatoshi Kimura 6c8654865c Bug 1176496 - Drop support for -moz-prefixed gradients. r=dbaron 2015-07-10 00:57:50 +09:00
Daniel Holbert fc985d746e Bug 1167782: Null-check pseudo element in nsHTMLCSSStyleSheet::RulesMatching(). r=dbaron 2015-05-26 16:44:52 -07:00
Brian Birtles 85627bb281 Bug 1164813 - Make nsAnimationManager update cached in-effect status even when there is no frame; r=dbaron 2015-05-22 13:46:26 +09:00
Brian Birtles 3947001236 Bug 1161320 - Fix conflict between finishing and aborting a pause; r=jwatt
Animation::ResumeAt contains an assertion that, when we exit the play-pending
state, checks we either have a resolved start time or a resolved hold time.

That's normally true but if we are aborting a pause on animation that is
finished we can end up with a resolved start time (since we don't clear the
start time when we're aborting a pause) and a resolved hold time (either
because the regular finishing behavior set one, or, because play() applied
auto-rewinding behavior and set it).

In that case we should actually respect the hold time and update the start time
when resuming the animation. However, ResumeAt won't update the start time if it
is already set.

This patch fixes that by clearing the start time in DoPlay in the case where we
are aborting a pause and have a hold time.

--HG--
extra : rebase_source : 83f980d6cbc34375274f30f6527992b4fec7f639
2015-05-08 16:17:13 +09:00
Cameron McCormack 45163479b0 Bug 1163446 - Followup to add the actual test. 2015-05-11 12:27:08 +10:00
Cameron McCormack 8f153827fb Bug 1163446 - Drop reference to FontFace once a FontFaceBufferSource is loaded. r=jdaggett 2015-05-11 11:24:49 +10:00
Cameron McCormack 91197585f6 Bug 1161366 - Correctly set referrer when loading fonts with |new FontFace()|. r=dbaron 2015-05-05 19:55:28 +10:00
Cameron McCormack 5c5b8c9484 Bug 1153693 - Followup test change. 2015-04-13 16:36:14 +10:00
Cameron McCormack df13ff4889 Bug 1153693 - Only call ReleaseRef on nsStyle{ClipPath,Filter} once when setting a new value. r=dbaron 2015-04-13 12:34:15 +10:00
Cameron McCormack eff3f9d4c4 Bug 1139723 - Turn on expensive style struct assertions for 1136010-1.html, and fix pref name typo. r=dbaron 2015-03-05 14:46:18 +11:00
Cameron McCormack 5ca39a7a39 Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 18:06:29 +11:00
Jesse Ruderman c91b23533e Bug 559491 - crashtest. 2014-11-23 15:09:51 +00:00
Cameron McCormack 2c2626a679 Bug 1089463 - Clear an element's restyle bits when inserting into a shadow tree. r=bzbarsky 2014-11-15 09:08:21 +11:00
Brian Birtles cf167e36af Bug 1074651 - Detect integer overflow in BaseTimeDuration::TicksFromMilliseconds; r=bz 2014-10-02 15:14:12 +09:00
Daniel Holbert e0b9e676dc Bug 1066089: add crashtest. (test-only) 2014-09-23 14:12:54 -07:00
L. David Baron a970368ff2 Bug 972199 followup - use crashtest manifest rather than setBoolPref so that all later crashtests aren't affected by the pref change. No review. 2014-08-06 22:58:43 -07:00
Mats Palmgren d4a41f8618 Bug 637242, patch 3 of 3: crashtest. r=dbaron 2014-07-13 13:01:44 +00:00
Brian Birtles 51cf0526d8 Bug 1028514 - Check for integer overflow when converting from floating-point number milliseconds; r=froydnj
In TimeStamp_windows.cpp and TimeStamp_darwin.cpp, in
TimeStamp::FromMilliseconds we cast the floating-point number of ticks to
a 64-bit integer before passing to TimeStamp::FromTicks(int64_t).
This means that we skip the check for integer overflow performed by
TimeStamp::FromTicks(double).

This patch simply removes that cast so that we perform overflow checking.

It also adds an assertion to ElementAnimation since this is one place where
the lack of overflow checking was producing a negative value where it should
not.
2014-06-25 09:42:18 +09:00
David Major e390b7e97c Bug 576435 - Use the clamping variant of NSToCoordRound to avoid rounding nscoord_MAX. r=roc 2014-06-24 15:47:02 +12:00
Cameron McCormack 1eb6e77616 Bug 1017798 - Part 3: Crashtest. r=bzbarsky 2014-06-06 17:51:25 +10:00
Cameron McCormack df0af63410 Bug 992333 - Skip custom properties when looking for properties to transition. r=dbaron 2014-04-13 11:44:31 +10:00
L. David Baron 2fe45fbadd Bug 975397 - Call TrackImage when constructing a new nsStyleBorder. r=heycam
I confirmed that the crashtest crashes in the harness without the patch.

--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/style/crashtests/blue-32x32.png
2014-04-02 22:56:19 -07:00
Cameron McCormack b40f160398 Bug 989965 - Resolve style for pseudo-elements correctly when style rules that have user action pseudo-classes on them are present. r=bzbarsky 2014-04-02 15:08:52 +11:00
Brian Birtles cc4e645610 Bug 972199 part 2 - Add a crashtest for restoring the refresh driver after an advance; r=nrc
In this crash test we restore the refresh driver after manually advancing it.
This causes a situation where a layer has an animation that has yet to start.

Prior to modifying ElementAnimations::GetPositionIteration this test case would
trip an assertion there that rejected negative elapsed times when called from
the compositor thread.
2014-03-05 10:19:15 +09:00
William Chen 982c2340c8 Bug 973321 - Prevent int overflow in border image width calculation. r=dbaron 2014-02-18 14:14:31 -08:00
Cameron McCormack c568af0049 Bug 945048 - Correctly check for the CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE flag when parsing pseudo-classes after pseudo-elements. r=bz 2013-12-02 13:06:20 +11:00
Cameron McCormack 63e8d03dd6 Bug 930270 - Don't initialize the ancestor filter for elements outside the document. r=dbaron
--HG--
extra : rebase_source : fa10a28a8bbd9eaf670f8133ccd81a9c706ebec7
2013-11-01 13:44:40 +11:00