gecko/layout/style/test
L. David Baron 43030dc26b Bug 1090555 - Fix visited link test in test_animations_omta.html to wait for visited link coloring properly. r=birtles
This patch contains two changes:
 (1) The addition of refVisitedLink and the use of
     waitForVisitedLinkColoring() on it.
 (2) Changing the URL of the visited lisks (both visitedLink and
     refVisitedLink) from "" to window.top.location.href, since the
     former doesn't work for Android mochitests while it does work on
     Linux mochitest-e10s.

I tested locally that without the patch I get the failures, and with the
patch the failures go away, using:
./mach mochitest-plain --e10s --setpref layers.acceleration.force-enabled=true --setpref layers.offmainthreadcomposition.async-animations=true layout/style/test/test_animations_omta.html

Further, when running (and passing), I checked that
waitForVisitedLinkColoring() does go through one setTimeout cycle.

Also, I tested that if I effectively revert
https://hg.mozilla.org/mozilla-central/rev/d13154302d77 by changing the
third parameter to the GetContext call in
nsStyleSet::ResolveStyleWithReplacement to be nullptr instead of
visitedRuleNode, I get the failure:
TEST-UNEXPECTED-FAIL | layout/style/test/test_animations_omta.html | visited link background color after animation-only flush - got rgb(255, 255, 0), expected rgb(0, 0, 255)
which confirms that the test is still testing what it was designed to
test.
2015-03-24 19:13:47 -07:00
..
chrome Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
css-visited
support
animation_utils.js Bug 1090555 - Fix visited link test in test_animations_omta.html to wait for visited link coloring properly. r=birtles 2015-03-24 19:13:47 -07:00
BitPattern.woff
browser_bug453896.js
browser.ini
bug453896_iframe.html
bug517224.sjs
bug732209-css.sjs
ccd-quirks.html
ccd-standards.html
ccd.sjs
css_properties_like_longhand.js Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2015-01-17 15:16:02 +11:00
descriptor_database.js
empty.html
file_bug645998-1.css
file_bug645998-2.css
file_bug829816.css
file_bug1055933_circle-xxl.png Bug 1055933 - Fix Imagemaps Style in nsComputedDOMStyle.cpp. r=bz 2015-02-12 17:27:00 +01:00
file_bug1089417_iframe.html Bug 1089417 patch 3 - Add mochitest. r=heycam 2014-12-05 15:50:00 -08:00
file_position_sticky.html
flexbox_layout_testcases.js Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec. 2014-11-25 11:28:15 -08:00
ListCSSProperties.cpp Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2015-01-17 15:16:02 +11:00
Makefile.in Bug 1098135 - Convert some rules to misc tier; r=glandium 2014-11-13 19:30:21 -08:00
media_queries_dynamic_xbl_binding.xml
media_queries_dynamic_xbl_iframe.html
media_queries_dynamic_xbl_style.css
media_queries_iframe.html
mochitest.ini Bug 1090555 - Fix visited link test in test_animations_omta.html to wait for visited link coloring properly. r=birtles 2015-03-24 19:13:47 -07:00
moz.build Bug 1098135 - Convert some rules to misc tier; r=glandium 2014-11-13 19:30:21 -08:00
neverending_font_load.sjs
neverending_stylesheet_load.sjs
ParseCSS.cpp
post-redirect-1.css
post-redirect-2.css
post-redirect-3.css
property_database.js Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V3 Patch). r=cam 2015-03-13 18:00:00 +01:00
redirect.sjs
redundant_font_download.sjs
style_attribute_tests.js
test_acid3_test46.html
test_all_shorthand.html
test_animations_async_tests.html Bug 1112480 part 1 - Adjust tests to accommodate changed animation start behavior; r=jwatt 2015-01-09 07:57:58 +09:00
test_animations_omta_start.html
test_animations_omta.html Bug 1090555 - Fix visited link test in test_animations_omta.html to wait for visited link coloring properly. r=birtles 2015-03-24 19:13:47 -07:00
test_animations_pausing.html
test_animations.html Bug 1125455 patch 4 - For main-thread application of transitions, don't apply transitions when animations are also running. r=birtles 2015-03-19 21:10:00 -07:00
test_any_dynamic.html
test_at_rule_parse_serialize.html
test_attribute_selector_eof_behavior.html Bug 1137984. When parsing attribute selectors, treat EOF as ']' any place ']' is allowed. r=dbaron 2015-03-03 07:12:00 -05:00
test_background_blend_mode.html
test_bug73586.html
test_bug74880.html
test_bug98997.html
test_bug160403.html
test_bug200089.html
test_bug221428.html
test_bug229915.html
test_bug302186.html
test_bug319381.html
test_bug357614.html
test_bug363146.html
test_bug365932.html
test_bug372770.html
test_bug373293.html
test_bug377947.html
test_bug379440.html
test_bug379741.html
test_bug382027.html
test_bug383075.html
test_bug387615.html
test_bug389464.html
test_bug391034.html
test_bug391221.html
test_bug397427.html
test_bug399349.html
test_bug401046.html
test_bug405818.html
test_bug412901.html
test_bug413958.html
test_bug437915.html
test_bug450191.html
test_bug453896_deck.html
test_bug470769.html
test_bug499655.html
test_bug499655.xhtml
test_bug511909.html
test_bug517224.html
test_bug524175.html
test_bug525952.html
test_bug534804.html
test_bug573255.html
test_bug580685.html
test_bug621351.html Bug 621351 - Test that border widths and colors set by logical border shorthands can be transitioned. r=dbaron 2015-01-28 14:41:31 +11:00
test_bug635286.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug645998.html
test_bug652486.html Bug 1039488 - Turn text-decoration into a shorthand. r=dbaron 2014-11-18 19:23:09 +09:00
test_bug657143.html
test_bug664955.html
test_bug667520.html
test_bug716226.html
test_bug732153.html
test_bug732209.html
test_bug765590.html
test_bug771043.html Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron 2014-10-03 14:15:25 -04:00
test_bug795520.html
test_bug798567.html
test_bug798843_pref.html
test_bug829816.html
test_bug874919.html
test_bug887741_at-rules_in_declaration_lists.html
test_bug892929.html
test_bug1055933.html Bug 1055933 - Fix Imagemaps Style in nsComputedDOMStyle.cpp. r=bz 2015-02-12 17:27:00 +01:00
test_bug1089417.html Bug 1089417 patch 10 - Make CloneMQCacheKey clone the mPreviousCacheKey, to fix bug 1089417 for multiple rebuilds of the rule cascade in sequence. r=heycam 2015-01-19 00:49:56 -08:00
test_cascade.html
test_ch_ex_no_infloops.html
test_compute_data_with_start_struct.html
test_computed_style_no_pseudo.html
test_computed_style_prefs.html
test_computed_style.html
test_condition_text_assignment.html
test_condition_text.html
test_counter_descriptor_storage.html
test_counter_style.html
test_css_cross_domain.html
test_css_eof_handling.html
test_css_escape_api.html
test_css_function_mismatched_parenthesis.html
test_css_supports_variables.html
test_css_supports.html
test_default_bidi_css.html
test_default_computed_style.html
test_descriptor_storage.html
test_descriptor_syntax_errors.html
test_dont_use_document_colors.html Bug 639134 - change document color pref to tristate, r=dbaron 2014-11-27 19:06:14 +00:00
test_dynamic_change_causing_reflow.html Bug 1131371: Only update overflow region (& trigger DLBI) when CSS "outline" changes, instead of triggering a reflow. r=heycam 2015-02-17 10:45:00 -08:00
test_exposed_prop_accessors.html
test_extra_inherit_initial.html
test_flexbox_align_self_auto.html
test_flexbox_child_display_values.xhtml
test_flexbox_flex_grow_and_shrink.html
test_flexbox_flex_shorthand.html Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec. 2014-11-25 11:28:15 -08:00
test_flexbox_layout.html
test_flexbox_min_size_auto.html
test_flexbox_order_table.html
test_flexbox_order.html
test_flexbox_reflow_counts.html Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats 2015-03-13 23:08:21 -07:00
test_font_face_parser.html Bug 1143537 - Part 3: Serialize unicode-range without leading zeroes. r=jdaggett 2015-03-17 18:15:42 +11:00
test_font_family_parsing.html
test_font_feature_values_parsing.html
test_font_loading_api.html Bug 1146199 - Return empty string from FontFace.family if the FontFace was constructed with an invalid family name. r=jdaggett 2015-03-24 19:34:32 +11:00
test_garbage_at_end_of_declarations.html
test_grid_container_shorthands.html Bug 1117538 part 2 - [css-grid] Accept 'grid-auto-flow: dense' which now implies 'row dense'. r=simon.sapin 2015-01-05 22:20:56 +00:00
test_grid_item_shorthands.html
test_grid_shorthand_serialization.html
test_group_insertRule.html
test_hover_quirk.html Bug 783213 - Part 3: Tests. r=dbaron 2014-11-10 21:50:12 -08:00
test_html_attribute_computed_values.html
test_ident_escaping.html
test_inherit_computation.html
test_inherit_storage.html
test_initial_computation.html
test_initial_storage.html
test_keyframes_rules.html
test_load_events_on_stylesheets.html
test_logical_properties.html Bug 1120283 - Part 2: Tests. r=dbaron 2015-01-17 15:53:27 +11:00
test_media_queries_dynamic_xbl.html
test_media_queries_dynamic.html
test_media_queries.html Bug 1140502 - Request longer mochitest timeout threshold for test_media_queries.html & test_selectors.html. r=dbaron, a=me 2015-03-06 11:43:00 -05:00
test_media_query_list.html
test_moz_device_pixel_ratio.html
test_namespace_rule.html
test_of_type_selectors.xhtml
test_page_parser.html Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2015-01-17 15:16:02 +11:00
test_parse_eof.html
test_parse_ident.html
test_parse_rule.html
test_parse_url.html
test_parser_diagnostics_unprintables.html
test_pixel_lengths.html
test_pointer-events.html
test_position_float_display.html Bug 1102374 - Enable display:contents by default in non-release builds. r=dbaron 2014-12-01 15:55:16 +00:00
test_position_sticky.html Bug 1135091 - convert remaining SpecialPowers.setBoolPref to pushPrefEnv, p=anishchandran94@gmail.com, r=jmaher, mwargers 2015-03-03 08:46:35 -05:00
test_priority_preservation.html
test_property_database.html Bug 1139640 test: Add mochitest for DOM properties for CSS properties. r=heycam 2015-03-05 18:02:16 -08:00
test_property_syntax_errors.html
test_pseudoelement_parsing.html
test_pseudoelement_state.html
test_redundant_font_download.html
test_rem_unit.html
test_root_node_display.html Bug 1140198 - Tweak display:contents test to make this test green again. r=me on a CLOSED TREE 2015-03-07 17:38:57 +00:00
test_rule_insertion.html
test_rule_serialization.html
test_rules_out_of_sheets.html
test_selectors_on_anonymous_content.html
test_selectors.html Bug 1140502 - Request longer mochitest timeout threshold for test_media_queries.html & test_selectors.html. r=dbaron, a=me 2015-03-06 11:43:00 -05:00
test_setPropertyWithNull.html Bug 830260 followup to address review comment. 2014-12-01 15:22:44 -05:00
test_shorthand_property_getters.html Bug 743392 - Serialize background-color at the beginning of the last item of the background shorthand. r=heycam 2015-01-22 16:53:56 -08:00
test_specified_value_serialization.html
test_style_attribute_quirks.html
test_style_attribute_standards.html
test_style_struct_copy_constructors.html
test_supports_rules.html
test_system_font_serialization.html
test_text_decoration_shorthands.html Bug 1039488 - Turn text-decoration into a shorthand. r=dbaron 2014-11-18 19:23:09 +09:00
test_transitions_and_reframes.html Bug 1110277 patch 8 - Add test for passing lazy construction parameters through, using flexbox reframe case. r=bzbarsky 2015-01-13 21:03:13 -08:00
test_transitions_and_restyles.html
test_transitions_and_zoom.html
test_transitions_bug537151.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_transitions_cancel_near_end.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_transitions_computed_value_combinations.html
test_transitions_computed_values.html
test_transitions_dynamic_changes.html Bug 1133375 - Condition starting (or cancelling) CSS transitions on the combined duration, rather than delay and duration both being exactly 0. r=birtles 2015-02-19 13:49:51 +13:00
test_transitions_events.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_transitions_per_property.html Bug 1039488 - Turn text-decoration into a shorthand. r=dbaron 2014-11-18 19:23:09 +09:00
test_transitions_step_functions.html
test_transitions.html 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 2015-02-17 11:15:03 +13:00
test_unclosed_parentheses.html
test_units_angle.html
test_units_frequency.html
test_units_length.html
test_units_time.html
test_unprefixing_service_prefs.html Backed out 2 changesets (bug 1132743) for asan mochitest-e10s-1 bustage CLOSED TREE 2015-03-13 15:16:33 -07:00
test_unprefixing_service.html Backed out 2 changesets (bug 1132743) for asan mochitest-e10s-1 bustage CLOSED TREE 2015-03-13 15:16:33 -07:00
test_value_cloning.html
test_value_computation.html Bug 1131994 - Part 4: Don't fail test_value_computation.html on min-{block,inline}-size:calc(-1%). r=dbaron 2015-02-17 11:36:36 +11:00
test_value_storage.html
test_variable_serialization_computed.html
test_variable_serialization_specified.html
test_variables.html Bug 969756 - Add a test. 2015-02-24 18:35:30 +00:00
test_video_object_fit.html
test_viewport_units.html
test_visited_image_loading_empty.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_visited_image_loading.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_visited_lying.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_visited_pref.html Bug 1135091 - convert remaining SpecialPowers.setBoolPref to pushPrefEnv, p=anishchandran94@gmail.com, r=jmaher, mwargers 2015-03-03 08:46:35 -05:00
test_visited_reftests.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
TestCSSPropertyLookup.cpp
unprefixing_service_iframe.html Backed out 2 changesets (bug 1132743) for asan mochitest-e10s-1 bustage CLOSED TREE 2015-03-13 15:16:33 -07:00
unprefixing_service_utils.js Backed out 2 changesets (bug 1132743) for asan mochitest-e10s-1 bustage CLOSED TREE 2015-03-13 15:16:33 -07:00
unstyled-frame.css
unstyled-frame.xml
unstyled.css
unstyled.xml
viewport_units_iframe.html
visited_image_loading_frame_empty.html
visited_image_loading_frame.html
visited_image_loading.sjs
visited-lying-inner.html
visited-pref-iframe.html
xbl_bindings.xml