gecko-dev/layout/reftests/css-ui-valid/input
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
..
input-button-ref.html
input-button.html
input-checkbox-valid-changed.html
input-checkbox-valid-default.html
input-customerror.html
input-disabled-fieldset-1.html
input-disabled-fieldset-2.html
input-disabled.html
input-dyn-disabled.html
input-dyn-not-disabled-changed.html
input-dyn-not-disabled.html
input-dyn-not-readonly-changed.html
input-dyn-not-readonly.html
input-dyn-readonly.html
input-email-invalid.html
input-email-ref.html
input-email-valid-changed.html
input-email-valid.html
input-fieldset-legend-ref.html
input-fieldset-legend.html
input-fieldset-ref.html
input-file-ref.html
input-file-valid-changed.html
input-file-valid-default.html
input-novalidate.html
input-pattern-invalid.html
input-pattern-valid-changed.html
input-pattern-valid.html
input-radio-customerror.html
input-radio-dyn-valid-1.html
input-radio-dyn-valid-2.html
input-radio-nogroup-required-invalid.html
input-radio-nogroup-required-valid.html
input-radio-required.html
input-radio-valid-changed.html
input-radio-valid-default.html
input-readonly.html
input-ref.html
input-required-invalid.html
input-required-valid-changed.html
input-required-valid.html
input-reset.html
input-type-barred.html
input-type-invalid.html
input-url-invalid.html
input-url-ref.html
input-url-valid-changed.html
input-url-valid.html
input-valid.html
input-withtext-ref.html
reftest.list
style.css
success-ref.html