Bug 1363896 - Adjust fuzzy-if for Android's reftest. r=masayuki, a=test-only
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Mon, 04 Sep 2017 13:44:59 +0900
changeset 421556 8bdd1bbd948f52e7b5f3ab2c1168fece0ee14377
parent 421555 1a0a1ec5c58f6c6aee9b4692810f314fe26b9cfb
child 421557 569cb400470af584fd505e82a005e7c411b0422f
push id7717
push userryanvm@gmail.com
push dateTue, 05 Sep 2017 22:40:57 +0000
treeherdermozilla-beta@e0216397b51a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmasayuki, test-only
bugs1363896
milestone56.0
Bug 1363896 - Adjust fuzzy-if for Android's reftest. r=masayuki, a=test-only 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