gecko-dev/dom/html/reftests
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
..
autofocus 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
toblob-todataurl 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
41464-1-ref.html
41464-1a.html
41464-1b.html
52019-1-ref.html
52019-1.html
82711-1-ref.html
82711-1.html
82711-2-ref.html
82711-2.html
468263-1a.html
468263-1b.html
468263-1c.html
468263-1d.html
468263-2-alternate-ref.html
468263-2-ref.html
468263-2.html
484200-1-ref.html
484200-1.html
485377-ref.html
485377.html
557840-ref.html
557840.html
560059-video-dimensions-ref.html
560059-video-dimensions.html
573322-no-quirks-ref.html
573322-no-quirks.html
573322-quirks-ref.html
573322-quirks.html
596455-1a.html
596455-1b.html
596455-2a.html
596455-2b.html
596455-ref-1.html
596455-ref-2.html
610935-ref.html
610935.html
649134-1.html
649134-2-ref.html
649134-2.html
649134-ref.html
741776-1-ref.html Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan 2016-06-09 14:29:30 +03:00
741776-1.vtt Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan 2016-06-09 14:29:30 +03:00
body-frame-margin-remove-other-pres-hint-ref.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
body-frame-margin-remove-other-pres-hint.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
body-topmargin-dynamic.html Bug 1341647 - stylo: Move HTMLBodyElement::WalkContentStyleRules to the mapped attr functionality; r=bz 2017-03-29 12:10:00 -07:00
body-topmargin-ref.html Bug 1341647 - stylo: Move HTMLBodyElement::WalkContentStyleRules to the mapped attr functionality; r=bz 2017-03-29 12:10:00 -07:00
bug448564-1_ideal.html
bug448564-1_malformed.html
bug448564-1_well-formed.html
bug448564-4a.html
bug448564-4b.html
bug448564_forms.css
bug502168-1_malformed.html
bug502168-1_well-formed.html
bug917595-1-ref.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
bug917595-exif-rotated.jpg
bug917595-iframe-1.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
bug917595-pixel-rotated.jpg
bug917595-unrotated.jpg
bug1106522-1.html
bug1106522-2.html
bug1106522-ref.html
bug1196784-no-srcset.html
bug1196784-with-srcset.html
bug1196784.png
bug1228601-video-rotated-ref.html Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow 2016-05-30 11:00:23 +08:00
bug1228601-video-rotation-90.html Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow 2016-05-30 11:00:23 +08:00
figure-ref.html
figure.html
href-attr-change-restyles-ref.html
href-attr-change-restyles.html
image-load-shortcircuit-1.html Bug 1317901 - Ensure image loads don't short-circuit if element's adopting steps are run; r=jdm 2016-11-18 15:54:21 +08:00
image-load-shortcircuit-2.html Bug 1317901 - Ensure image loads don't short-circuit if element's adopting steps are run; r=jdm 2016-11-18 15:54:21 +08:00
image-load-shortcircuit-ref.html Bug 1307185 - Ensure image loads don't short-circuit if the element changed trees since the last load. r=echen 2016-10-04 13:50:33 -04:00
lime100x100.svg
pass.png
pre-1-ref.html
pre-1.html
red.png
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
responsive-image-load-shortcircuit-ref.html Bug 1259482 - Ensure that image loads are never dropped on the floor when queued for later. r=johns 2016-03-30 12:39:59 -04:00
responsive-image-load-shortcircuit.html Bug 1259482 - Ensure that image loads are never dropped on the floor when queued for later. r=johns 2016-03-30 12:39:59 -04:00
table-border-1-ref.html
table-border-1.html
table-border-2-notref.html
table-border-2-ref.html
table-border-2.html
video_rotated.mp4 Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow 2016-05-30 11:00:23 +08:00
video_rotation_90.mp4 Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow 2016-05-30 11:00:23 +08:00