gecko-dev/layout/reftests/selection
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
..
1478604-ref.html Bug 1478604 - Fix RepaintSelectionRunner so that it does something for non-presShell impls. r=masayuki 2018-08-07 12:55:21 +00:00
1478604.html Bug 1478604 - Fix RepaintSelectionRunner so that it does something for non-presShell impls. r=masayuki 2018-08-07 12:55:21 +00:00
addrange-1.html
addrange-2.html
addrange-ref.html
dom-mutations-ref.html Bug 1341137 part 3 - Update a reftest reference to account for the new AddRange behavior. 2017-02-25 11:33:34 +01:00
dom-mutations.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
dynamic-text-1-ref.html
dynamic-text-1a.html
dynamic-text-1b.html
extend-1-ref.html
extend-1-sanity.html
extend-1a.html
extend-1b.html
extend-1c.html
extend-1d.html
extend-1e.html
extend-1f.html
extend-1g.html
extend-1h.html
extend-1i.html
extend-2-ref.html
extend-2a.html
extend-2b.html
extend-3-ref.html
extend-3-sanity.html
extend-3a.html
extend-3b.html
extend-3c.html
extend-3d.html
extend-3e.html
extend-3f.html
extend-3g.html
extend-3h.html
extend-3i.html
extend-4-ref.html
extend-4a.html
extend-4b.html
invalidation-1-ref.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-1a.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-1b.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-1c.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-1d.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-1e.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-1f.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-2-ref.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-2a.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-2b.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-2c.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-2d.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-2e.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
invalidation-2f.html Bug 1368521 Selection::SelectFrames() shouldn't skip first content invalidation if it's different from handled text node r=mats 2017-05-31 15:57:53 +09:00
modify-range-ref.html
modify-range.html
non-themed-widget-ref.html
non-themed-widget.html
pseudo-element-of-native-anonymous-ref.html
pseudo-element-of-native-anonymous.html
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
rtl-selection-with-decoration-ref.html Bug 1399310 - (Part 2) Add a bunch of test cases for text selection. r=jfkthame 2017-11-02 13:06:52 +08:00
rtl-selection-with-decoration.html Bug 1399310 - (Part 2) Add a bunch of test cases for text selection. r=jfkthame 2017-11-02 13:06:52 +08:00
semitransparent-decoration-line-ref.html Bug 1399310 - (Part 2) Add a bunch of test cases for text selection. r=jfkthame 2017-11-02 13:06:52 +08:00
semitransparent-decoration-line.html Bug 1399310 - (Part 2) Add a bunch of test cases for text selection. r=jfkthame 2017-11-02 13:06:52 +08:00
splitText-normalize-ref.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
splitText-normalize.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
splitText-normalize.js
themed-widget-ref.html
themed-widget.html
trailing-space-1-ref.html
trailing-space-1.html
writing-mode-ref.html Bug 1399310 - (Part 2) Add a bunch of test cases for text selection. r=jfkthame 2017-11-02 13:06:52 +08:00
writing-mode.html Bug 1399310 - (Part 2) Add a bunch of test cases for text selection. r=jfkthame 2017-11-02 13:06:52 +08:00