gecko-dev/dom/tests/reftest
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
..
xml-stylesheet Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans 2017-09-01 20:39:44 -07:00
bug427779-ref.xml
bug427779.xml
bug439965-ref.html
bug439965.html
bug453105-ref.html
bug453105.html
bug456008-ref.html
bug456008.xhtml
bug559996-iframe.html
bug559996-ref-iframe.html
bug559996-ref.html
bug559996.html
bug591981-1.html
bug591981-2.html
bug591981-ref.html
bug591981-script.js
bug592366-1.html
bug592366-1.xhtml
bug592366-2.html
bug592366-2.xhtml
bug592366-ref.html
bug592366-ref.xhtml
bug798068-ref.xhtml Bug 1476145 part 5. Stop using getInterface(nsIDOMWindowUtils) in DOM code. r=mccr8 2018-07-24 19:47:41 -04:00
bug798068.xhtml Bug 1476145 part 5. Stop using getInterface(nsIDOMWindowUtils) in DOM code. r=mccr8 2018-07-24 19:47:41 -04:00
bug1389406-01.xsl Bug 1389406 - XSLT — nested xsl:apply-imports doesn't work in some cases. r=erahm. 2017-09-12 12:45:24 +02:00
bug1389406-02.xsl Bug 1389406 - XSLT — nested xsl:apply-imports doesn't work in some cases. r=erahm. 2017-09-12 12:45:24 +02:00
bug1389406-ref.xml Bug 1389406 - XSLT — nested xsl:apply-imports doesn't work in some cases. r=erahm. 2017-09-12 12:45:24 +02:00
bug1389406.xml Bug 1389406 - XSLT — nested xsl:apply-imports doesn't work in some cases. r=erahm. 2017-09-12 12:45:24 +02:00
child592366-1.html
child592366-1.xhtml
child592366-2.html
child592366-2.xhtml
optiontext-ref.html
optiontext.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
script592366-2.js