Bug 1363896 - Adjust fuzzy-if for Android's reftest. r?masayuki draft
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Mon, 04 Sep 2017 13:44:59 +0900
changeset 658530 56e4262143d019731d1fb1c315a53b22053afc96
parent 658358 8e05298328da75f3056a9f1f9609938870d756a0
child 729693 885735fd96b72bbed46bc417059288c51c41a898
push id77810
push userbmo:m_kato@ga2.so-net.ne.jp
push dateMon, 04 Sep 2017 10:26:54 +0000
reviewersmasayuki
bugs1363896
milestone57.0a1
Bug 1363896 - Adjust fuzzy-if for Android's reftest. r?masayuki editor/reftests/input-text-onfocus-reframe-ref.html is sometimes failed due to "image comparison, max difference: 1, number of differing pixels: 1". As long as I check both images, I don't know why focus ring is different. But this is 1 pixel only diff, so we should use fuzz-if. MozReview-Commit-ID: 5SrjorXEBW
editor/reftests/reftest.list
--- a/editor/reftests/reftest.list
+++ b/editor/reftests/reftest.list
@@ -54,17 +54,17 @@ random-if(Android) needs-focus != spellc
 random-if(Android) needs-focus != spellcheck-textarea-property-dynamic.html spellcheck-textarea-ref.html
 random-if(Android) needs-focus != spellcheck-textarea-property-dynamic-inherit.html spellcheck-textarea-ref.html
 random-if(Android) needs-focus != spellcheck-textarea-attr-dynamic-override.html spellcheck-textarea-ref.html
 random-if(Android) needs-focus != spellcheck-textarea-attr-dynamic-override-inherit.html spellcheck-textarea-ref.html
 random-if(Android) needs-focus != spellcheck-textarea-property-dynamic-override.html spellcheck-textarea-ref.html
 random-if(Android) needs-focus != spellcheck-textarea-property-dynamic-override-inherit.html spellcheck-textarea-ref.html
 needs-focus == caret_on_focus.html caret_on_focus-ref.html
 needs-focus != caret_on_textarea_lastline.html caret_on_textarea_lastline-ref.html
-needs-focus == input-text-onfocus-reframe.html input-text-onfocus-reframe-ref.html
+fuzzy-if(Android,1,1) needs-focus == input-text-onfocus-reframe.html input-text-onfocus-reframe-ref.html
 fuzzy-if(skiaContent,3,1) needs-focus == input-text-notheme-onfocus-reframe.html input-text-notheme-onfocus-reframe-ref.html
 needs-focus == caret_after_reframe.html caret_after_reframe-ref.html
 == nobogusnode-1.html nobogusnode-ref.html
 == nobogusnode-2.html nobogusnode-ref.html
 == spellcheck-hyphen-valid.html spellcheck-hyphen-valid-ref.html
 fails-if(Android) needs-focus != spellcheck-hyphen-invalid.html spellcheck-hyphen-invalid-ref.html
 == spellcheck-slash-valid.html spellcheck-slash-valid-ref.html
 == spellcheck-period-valid.html spellcheck-period-valid-ref.html