gecko-dev/layout/reftests/webcomponents
L. David Baron 1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

Differential Revision: https://phabricator.services.mozilla.com/D2974

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
..
basic-shadow-1-ref.html
basic-shadow-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-shadow-2-ref.html
basic-shadow-2.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-shadow-3-ref.html
basic-shadow-3.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-shadow-4-ref.html
basic-shadow-4.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-1-ref.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-2-ref.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-2.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-3-ref.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-3.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-4.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-5-ref.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-5.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-6-ref.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
basic-slot-6.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
cross-tree-selection-1-ref.html
cross-tree-selection-1.html Bug 1453789: Remove Element.createShadowRoot. r=smaug 2018-04-13 20:51:55 +02:00
dynamic-insertion-point-distribution-1-ref.html
dynamic-insertion-point-distribution-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
dynamic-insertion-point-distribution-2-ref.html
dynamic-insertion-point-distribution-2.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
fallback-content-1-ref.html
fallback-content-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
input-transition-1-ref.html
input-transition-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
nested-insertion-point-1-ref.html
nested-insertion-point-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
reframe-shadow-child-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
reframe-shadow-child-2.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
reframe-shadow-child-ref.html Bug 1404789: Get the insertion point right when reconstructing direct children of a shadow root. r=bz 2017-10-18 19:41:17 +02:00
reftest.list Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert 2018-08-09 20:10:21 +00:00
remove-append-shadow-host-1-ref.html
remove-append-shadow-host-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
remove-insertion-point-1-ref.html
remove-insertion-point-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
shadow-style-1-ref.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-1.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-2-ref.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-2.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-3-ref.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
shadow-style-3.html Bug 1025724 - Add some shadow tree style tests. r=bz 2018-04-05 15:41:10 +08:00
style-sharing-across-shadow.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
style-sharing-ref.html Bug 1412251: Make style sharing look at XBL / Shadow DOM rules. r=bz 2017-10-28 14:20:21 +02:00
style-sharing.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00
update-dist-node-descendants-1-ref.html
update-dist-node-descendants-1.html Bug 1409975 - Part 4: Update and add reftests for Shadow DOM v1. r=emilio 2017-12-04 16:06:42 +08:00