forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
166 changed files
with
2,430 additions
and
2,430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
== bug863728-1.html bug863728-1-ref.html | ||
fuzzy-if(skiaContent,1,10) == bug863728-2.html bug863728-2-ref.html | ||
fuzzy-if(skiaContent,0-1,0-10) == bug863728-2.html bug863728-2-ref.html | ||
== bug863728-3.html bug863728-3-ref.html | ||
== bug945215-1.html bug945215-1-ref.html | ||
fuzzy-if(skiaContent,1,10) == bug945215-2.html bug945215-2-ref.html | ||
fuzzy-if(skiaContent,0-1,0-10) == bug945215-2.html bug945215-2-ref.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
default-preferences pref(dom.forms.datetime,true) | ||
fuzzy-if(skiaContent,1,3) needs-focus == input-load.html input-ref.html | ||
fuzzy-if(skiaContent,1,3) needs-focus == input-create.html input-ref.html | ||
fuzzy-if(skiaContent,1,3) needs-focus == input-number.html input-number-ref.html | ||
fuzzy-if(skiaContent,1,3) needs-focus == input-time.html input-time-ref.html | ||
fuzzy-if(skiaContent,1,3) needs-focus == button-load.html button-ref.html | ||
fuzzy-if(skiaContent,1,3) needs-focus == button-create.html button-ref.html | ||
fuzzy-if(skiaContent,1,3) needs-focus == textarea-load.html textarea-ref.html | ||
fuzzy-if(skiaContent,1,3) needs-focus == textarea-create.html textarea-ref.html | ||
fuzzy-if(skiaContent,9,6) needs-focus == select-load.html select-ref.html | ||
fuzzy-if(skiaContent,2,4) needs-focus == select-create.html select-ref.html | ||
fuzzy-if(skiaContent,0-1,0-3) needs-focus == input-load.html input-ref.html | ||
fuzzy-if(skiaContent,0-1,0-3) needs-focus == input-create.html input-ref.html | ||
fuzzy-if(skiaContent,0-1,0-3) needs-focus == input-number.html input-number-ref.html | ||
fuzzy-if(skiaContent,0-1,0-3) needs-focus == input-time.html input-time-ref.html | ||
fuzzy-if(skiaContent,0-1,0-3) needs-focus == button-load.html button-ref.html | ||
fuzzy-if(skiaContent,0-1,0-3) needs-focus == button-create.html button-ref.html | ||
fuzzy-if(skiaContent,0-1,0-3) needs-focus == textarea-load.html textarea-ref.html | ||
fuzzy-if(skiaContent,0-1,0-3) needs-focus == textarea-create.html textarea-ref.html | ||
fuzzy-if(skiaContent,0-9,0-6) needs-focus == select-load.html select-ref.html | ||
fuzzy-if(skiaContent,0-2,0-4) needs-focus == select-create.html select-ref.html | ||
needs-focus == autofocus-after-load.html autofocus-after-load-ref.html | ||
fuzzy-if(skiaContent,2,5) needs-focus == autofocus-leaves-iframe.html autofocus-leaves-iframe-ref.html | ||
fuzzy-if(skiaContent,2,5) needs-focus == autofocus-after-body-focus.html autofocus-after-body-focus-ref.html | ||
fuzzy-if(skiaContent,0-2,0-5) needs-focus == autofocus-leaves-iframe.html autofocus-leaves-iframe-ref.html | ||
fuzzy-if(skiaContent,0-2,0-5) needs-focus == autofocus-after-body-focus.html autofocus-after-body-focus-ref.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
fuzzy-if(Android,105,482) == toblob-quality-0.html quality-0-ref.html | ||
fuzzy-if(Android,38,2024) == toblob-quality-25.html quality-25-ref.html | ||
fuzzy-if(Android,29,2336) == toblob-quality-50.html quality-50-ref.html | ||
fuzzy-if(Android,23,3533) == toblob-quality-75.html quality-75-ref.html | ||
fuzzy-if(Android,16,4199) == toblob-quality-92.html quality-92-ref.html | ||
fuzzy-if(Android,8,2461) == toblob-quality-100.html quality-100-ref.html | ||
fuzzy-if(Android,16,4199) == toblob-quality-undefined.html quality-92-ref.html | ||
fuzzy-if(Android,16,4199) == toblob-quality-default.html quality-92-ref.html | ||
fuzzy-if(Android,105,482) == todataurl-quality-0.html quality-0-ref.html | ||
fuzzy-if(Android,38,2024) == todataurl-quality-25.html quality-25-ref.html | ||
fuzzy-if(Android,29,2336) == todataurl-quality-50.html quality-50-ref.html | ||
fuzzy-if(Android,23,3533) == todataurl-quality-75.html quality-75-ref.html | ||
fuzzy-if(Android,16,4199) == todataurl-quality-92.html quality-92-ref.html | ||
fuzzy-if(Android,8,2461) == todataurl-quality-100.html quality-100-ref.html | ||
fuzzy-if(Android,16,4199) == todataurl-quality-undefined.html quality-92-ref.html | ||
fuzzy-if(Android,16,4199) == todataurl-quality-default.html quality-92-ref.html | ||
fuzzy-if(Android,0-105,0-482) == toblob-quality-0.html quality-0-ref.html | ||
fuzzy-if(Android,0-38,0-2024) == toblob-quality-25.html quality-25-ref.html | ||
fuzzy-if(Android,0-29,0-2336) == toblob-quality-50.html quality-50-ref.html | ||
fuzzy-if(Android,0-23,0-3533) == toblob-quality-75.html quality-75-ref.html | ||
fuzzy-if(Android,0-16,0-4199) == toblob-quality-92.html quality-92-ref.html | ||
fuzzy-if(Android,0-8,0-2461) == toblob-quality-100.html quality-100-ref.html | ||
fuzzy-if(Android,0-16,0-4199) == toblob-quality-undefined.html quality-92-ref.html | ||
fuzzy-if(Android,0-16,0-4199) == toblob-quality-default.html quality-92-ref.html | ||
fuzzy-if(Android,0-105,0-482) == todataurl-quality-0.html quality-0-ref.html | ||
fuzzy-if(Android,0-38,0-2024) == todataurl-quality-25.html quality-25-ref.html | ||
fuzzy-if(Android,0-29,0-2336) == todataurl-quality-50.html quality-50-ref.html | ||
fuzzy-if(Android,0-23,0-3533) == todataurl-quality-75.html quality-75-ref.html | ||
fuzzy-if(Android,0-16,0-4199) == todataurl-quality-92.html quality-92-ref.html | ||
fuzzy-if(Android,0-8,0-2461) == todataurl-quality-100.html quality-100-ref.html | ||
fuzzy-if(Android,0-16,0-4199) == todataurl-quality-undefined.html quality-92-ref.html | ||
fuzzy-if(Android,0-16,0-4199) == todataurl-quality-default.html quality-92-ref.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
skip-if(Android) fuzzy-if(OSX,22,49977) fuzzy-if(webrender&&cocoaWidget,23-23,76795-76795) skip-if(winWidget) fuzzy-if(gtkWidget&&layersGPUAccelerated,70,600) HTTP(..) == short.mp4.firstframe.html short.mp4.firstframe-ref.html | ||
skip-if(Android) fuzzy-if(OSX,23,51392) fuzzy-if(webrender&&cocoaWidget,23-23,76798-76798) fuzzy-if(winWidget,59,76797) fuzzy-if(gtkWidget&&layersGPUAccelerated,60,1800) HTTP(..) == short.mp4.lastframe.html short.mp4.lastframe-ref.html | ||
skip-if(Android) skip-if(winWidget) fuzzy-if(gtkWidget&&layersGPUAccelerated,55,4281) fuzzy-if(OSX,3,111852) HTTP(..) == bipbop_300_215kbps.mp4.lastframe.html bipbop_300_215kbps.mp4.lastframe-ref.html | ||
skip-if(Android) fuzzy-if(OSX,25,175921) fuzzy-if(winWidget,71,179198) HTTP(..) == gizmo.mp4.seek.html gizmo.mp4.55thframe-ref.html | ||
skip-if(Android) fuzzy-if(OSX,0-22,0-49977) fuzzy-if(webrender&&cocoaWidget,23-23,76795-76795) skip-if(winWidget) fuzzy-if(gtkWidget&&layersGPUAccelerated,0-70,0-600) HTTP(..) == short.mp4.firstframe.html short.mp4.firstframe-ref.html | ||
skip-if(Android) fuzzy-if(OSX,0-23,0-51392) fuzzy-if(webrender&&cocoaWidget,23-23,76798-76798) fuzzy-if(winWidget,0-59,0-76797) fuzzy-if(gtkWidget&&layersGPUAccelerated,0-60,0-1800) HTTP(..) == short.mp4.lastframe.html short.mp4.lastframe-ref.html | ||
skip-if(Android) skip-if(winWidget) fuzzy-if(gtkWidget&&layersGPUAccelerated,0-55,0-4281) fuzzy-if(OSX,0-3,0-111852) HTTP(..) == bipbop_300_215kbps.mp4.lastframe.html bipbop_300_215kbps.mp4.lastframe-ref.html | ||
skip-if(Android) fuzzy-if(OSX,0-25,0-175921) fuzzy-if(winWidget,0-71,0-179198) HTTP(..) == gizmo.mp4.seek.html gizmo.mp4.55thframe-ref.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.