gecko-dev/editor/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
..
xul 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
338427-1-ref.html
338427-1.html Bug 1200533 - Fix spellchecker dictionary logic (more test changes). r=smaug 2015-09-08 09:13:00 +02:00
338427-2-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
338427-2.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
338427-3-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
338427-3.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
388980-1-ref.html
388980-1.html
462758-grabbers-resizers-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
462758-grabbers-resizers.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
642800-iframe.html
642800-ref.html
642800.html
672709-ref.html
672709.html
674212-spellcheck-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
674212-spellcheck.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
694880-1.html
694880-2.html
694880-3.html
694880-ref.html
824080-1-ref.html
824080-1.html
824080-2-ref.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
824080-2.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
824080-3-ref.html
824080-3.html
824080-4-ref.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
824080-4.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
824080-5-ref.html
824080-5.html
824080-6-ref.html
824080-6.html
824080-7-ref.html
824080-7.html
911201-ref.html Bug 911201 - Do not create a bogus br node for editable areas containing non-editable block elements; r=roc 2014-11-27 21:06:44 -05:00
911201.html Bug 911201 - Do not create a bogus br node for editable areas containing non-editable block elements; r=roc 2014-11-27 21:06:44 -05:00
969773-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
969773.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
997805-ref.html Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky 2014-04-25 16:40:44 -04:00
997805.html Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky 2014-04-25 16:40:44 -04:00
1088158-ref.html Bug 1088158 - Update the visibility state of placeholders for textareas correctly when they get their anonymous content; r=roc 2014-10-28 09:44:26 -04:00
1088158.html Bug 1088158 - Update the visibility state of placeholders for textareas correctly when they get their anonymous content; r=roc 2014-10-28 09:44:26 -04:00
1443902-1-ref.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-1.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-2-ref.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-2.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-3-ref.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-3.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-4-ref.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
1443902-4.html Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki 2018-07-09 16:53:47 +09:00
caret_after_reframe-ref.html
caret_after_reframe.html
caret_on_focus-ref.html
caret_on_focus.html
caret_on_positioned-ref.html
caret_on_positioned.html
caret_on_presshell_reinit-2.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
caret_on_presshell_reinit-ref.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
caret_on_presshell_reinit.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
caret_on_textarea_lastline-ref.html
caret_on_textarea_lastline.html
dynamic-1.html
dynamic-overflow-change-ref.html
dynamic-overflow-change.html
dynamic-ref.html
dynamic-type-1.html
dynamic-type-2.html
dynamic-type-3.html
dynamic-type-4.html
emptypasswd-1.html
emptypasswd-2.html
emptypasswd-ref.html
input-text-notheme-onfocus-reframe-ref.html
input-text-notheme-onfocus-reframe.html
input-text-onfocus-reframe-ref.html
input-text-onfocus-reframe.html
newline-1.html
newline-2.html
newline-3.html
newline-4.html
newline-ref.html
nobogusnode-1.html
nobogusnode-2.html
nobogusnode-ref.html
passwd-1.html
passwd-2.html
passwd-3.html
passwd-4.html
passwd-ref.html
readonly-editable-ref.html
readonly-editable.html
readonly-non-editable-ref.html
readonly-non-editable.html
readwrite-editable-ref.html
readwrite-editable.html
readwrite-non-editable-ref.html
readwrite-non-editable.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
selection_visibility_after_reframe-2.html
selection_visibility_after_reframe-3.html
selection_visibility_after_reframe-ref.html
selection_visibility_after_reframe.html
spellcheck-comma-valid-ref.html
spellcheck-comma-valid.html
spellcheck-contenteditable-attr-dynamic-inherit.html
spellcheck-contenteditable-attr-dynamic-override-inherit.html
spellcheck-contenteditable-attr-dynamic-override.html
spellcheck-contenteditable-attr-dynamic.html
spellcheck-contenteditable-attr-inherit.html
spellcheck-contenteditable-attr.html
spellcheck-contenteditable-disabled-partial-ref.html
spellcheck-contenteditable-disabled-partial.html
spellcheck-contenteditable-disabled-ref.html
spellcheck-contenteditable-disabled.html
spellcheck-contenteditable-focused-reframe.html
spellcheck-contenteditable-focused.html
spellcheck-contenteditable-nofocus-ref.html
spellcheck-contenteditable-nofocus.html
spellcheck-contenteditable-property-dynamic-inherit.html
spellcheck-contenteditable-property-dynamic-override-inherit.html
spellcheck-contenteditable-property-dynamic-override.html
spellcheck-contenteditable-property-dynamic.html
spellcheck-contenteditable-ref.html
spellcheck-dotafterquote-valid-ref.html
spellcheck-dotafterquote-valid.html
spellcheck-hyphen-invalid-ref.html
spellcheck-hyphen-invalid.html
spellcheck-hyphen-multiple-invalid-ref.html
spellcheck-hyphen-multiple-invalid.html
spellcheck-hyphen-multiple-valid-ref.html
spellcheck-hyphen-multiple-valid.html
spellcheck-hyphen-valid-ref.html
spellcheck-hyphen-valid.html
spellcheck-input-attr-after.html
spellcheck-input-attr-before.html
spellcheck-input-attr-dynamic-inherit.html
spellcheck-input-attr-dynamic-override-inherit.html
spellcheck-input-attr-dynamic-override.html
spellcheck-input-attr-dynamic.html
spellcheck-input-attr-inherit.html
spellcheck-input-disabled.html
spellcheck-input-nofocus-ref.html
spellcheck-input-property-dynamic-inherit.html
spellcheck-input-property-dynamic-override-inherit.html
spellcheck-input-property-dynamic-override.html
spellcheck-input-property-dynamic.html
spellcheck-input-ref.html
spellcheck-non-latin-arabic-ref.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-arabic.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-chinese-simplified-ref.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-chinese-simplified.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-chinese-traditional-ref.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-chinese-traditional.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-hebrew-ref.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-hebrew.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-japanese-ref.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-japanese.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-korean-ref.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-non-latin-korean.html Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
spellcheck-period-valid-ref.html
spellcheck-period-valid.html
spellcheck-slash-valid-ref.html
spellcheck-slash-valid.html
spellcheck-space-valid-ref.html
spellcheck-space-valid.html
spellcheck-superscript-1-ref.html
spellcheck-superscript-1.html
spellcheck-superscript-2-ref.html
spellcheck-superscript-2.html
spellcheck-textarea-attr-dynamic-inherit.html
spellcheck-textarea-attr-dynamic-override-inherit.html
spellcheck-textarea-attr-dynamic-override.html
spellcheck-textarea-attr-dynamic.html
spellcheck-textarea-attr-inherit.html
spellcheck-textarea-attr.html
spellcheck-textarea-disabled.html
spellcheck-textarea-focused-notreadonly.html
spellcheck-textarea-focused-reframe.html
spellcheck-textarea-focused.html
spellcheck-textarea-nofocus-ref.html
spellcheck-textarea-nofocus.html
spellcheck-textarea-property-dynamic-inherit.html
spellcheck-textarea-property-dynamic-override-inherit.html
spellcheck-textarea-property-dynamic-override.html
spellcheck-textarea-property-dynamic.html
spellcheck-textarea-ref.html
spellcheck-textarea-ref2.html
spellcheck-url-valid-ref.html
spellcheck-url-valid.html
unneeded_scroll-ref.html
unneeded_scroll.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