Commit Graph

90 Commits

Author SHA1 Message Date
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
Joel Maher
8bc0bcda97 Bug 1392106 - random-if more win7 reftest font rendering failures. r=RyanVM 2018-06-26 13:32:30 -04:00
Joel Maher
d113b6d4a4 Bug 1392106 - random-if(win7) reftest font rendering failures. r=RyanVM 2018-06-06 05:30:44 -04:00
Jonathan Kew
34cd1f8ad9 Bug 1466332 - Add a reftest version of the @font-face descriptor matching tests from WPT's at-font-face-font-matching.html, as the WPT version does not currently run reliably. r=jwatt 2018-06-04 09:45:50 +01:00
Joel Maher
5bff4baed5 Bug 1392106 - random-if many tests on win7 to avoid missing letters. r=RyanVM 2018-05-23 13:06:50 -04:00
Jonathan Kew
007b53464f Bug 1458158 - Correct the weight-difference factor in CalcStyleMatch to favor closer weights, not further ones. r=jwatt 2018-05-01 15:56:04 +01:00
Jonathan Kew
e94e29bb2e Bug 1458158 - Testcase for rendering Arabic characters when styled with an extra-bold weight of Arial. r=jwatt 2018-05-01 15:55:06 +01:00
Cosmin Sabou
893f311711 Bug 1450850 - Disable font-matching/1394311.htm on Windows 7 for frequent failures. r=jmaher
--HG--
extra : rebase_source : ba34a583da86957dc161d6f0e6c7df4138e5f4a4
2018-04-17 17:19:58 +03:00
Daniel Holbert
28f04532eb Bug 1451723: Annotate first load of reftest 'font-matching/1394311-ref.htm' as random on Win7.
This test started failing after a reftest rebucketing.  It's likely a
particularly-bad special case of known win7 intermittent bug 1392106.  For now,
let's mark it as random on Win7 and continue investigating the general issue in
bug 1392106.

MozReview-Commit-ID: KX707Y9ycIC
2018-04-05 21:57:49 -07:00
smswessem
3814c98b00 Bug 1358240 - Replace EmojiOne with Twemoji, r=jfkthame, timdream
--HG--
extra : rebase_source : cb1d370dc4fbff33f6022acf393126e0965089de
2018-03-08 18:23:19 -06:00
Jonathan Kew
2c5f2dc22f Bug 1439937 - For font-matching reftests that test localized names, force the font-name loader to run eagerly so that we aren't dependent on how long the browser has been running. r=jrmuizel 2018-02-23 09:43:32 +00:00
Makoto Kato
ded9cb4ade Bug 1032671 - Part 5. Add reftest for emoji. r=jfkthame
Windows 7 doesn't have mono symbol font for emoji code mapping.  And fontconfig
doesn't have better option for this.  So I except to these platforms.

MozReview-Commit-ID: 7TB1guyzBVS

--HG--
extra : rebase_source : 4a014a26618471cf8bee635bae961321c98a162e
2017-11-18 20:15:05 +09:00
Jonathan Kew
1a0fca4019 Bug 1318526 - Remove HTTP(..) from reftest manifests where this was only needed to work around file-URI origin restrictions. r=dbaron 2017-10-22 08:31:41 +01:00
Chris Peterson
ce7edc4de1 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 22bb5d4e3c5138ef832995eaf5716824f4707ffe
extra : source : d40fb20c9a49d0797c0eeae613a04912b12a28f7
2017-09-01 20:39:44 -07:00
Phil Ringnalda
75f9cdbd7e Backed out 3 changesets (bug 1394603) for reftest syntax error
CLOSED TREE

Backed out changeset 44117208f321 (bug 1394603)
Backed out changeset 31088c59d895 (bug 1394603)
Backed out changeset 20551d68f602 (bug 1394603)

MozReview-Commit-ID: 4F4jSQ8GyfG
2017-09-06 22:48:55 -07:00
Chris Peterson
2d629378b2 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 0c307639c3626af3b6b43e05d3ee73d08b3f47ce
2017-09-01 20:39:44 -07:00
Jonathan Kew
6ceb7d87f9 Bug 835204 - Accept styled font-family names as used in the legacy GDI model, for compatibility with content that assumes GDI-style font naming. r=heycam 2017-08-01 11:25:35 +01:00
Kevin Hsieh
1dc82df82e Bug 1394762: Add testcase for Bug 1394311. r=manishearth
MozReview-Commit-ID: 5jAZwRMYoHq

--HG--
extra : rebase_source : 21e5d25498555c81f2c9c4345d3f61d919aa4bc4
2017-08-28 16:57:38 -07:00
Kevin Hsieh
3e2984d1e1 Bug 1367860 (part 5) - Add testcases. r=dbaron
MozReview-Commit-ID: E29lR1RMDp4
2017-08-18 14:46:45 -07:00
Shing Lyu
5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Manish Goregaokar
b640a06ad6 Bug 1358634 - Update test expectations for fallback fonts ;r=manishearth
MozReview-Commit-ID: GHUfkmJNgqG
2017-05-05 12:28:41 -07:00
Shing Lyu
c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu
435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst
ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst
f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu
96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Manish Goregaokar
7296f7dc86 Bug 1355707 - stylo: Cascade relative font-sizes applied to keyword sizes; r=heycam
MozReview-Commit-ID: FJZ3cIJ2ogE
2017-04-12 18:32:59 +08:00
Manish Goregaokar
27c6217632 Bug 1341102 - Update stylo reftest expectations; r=orange
MozReview-Commit-ID: FRHThUmyVWb
2017-04-05 00:15:13 -07:00
Xidorn Quan
6e6684128a Bug 1345696 part 8 - Update test expectations. r=heycam
MozReview-Commit-ID: 5zQjzFUKdR8

--HG--
extra : rebase_source : 18d7a9cc76a21ab2d90e75eb4194f61fcd9797de
2017-03-28 16:28:36 +11:00
Matt Brubeck
ea53640d30 Bug 1337068 - stylo: Update test expectations. r=emilio
MozReview-Commit-ID: F8dogEQLdgt

--HG--
extra : rebase_source : 57e2ad20c9c13130239fc4d4b1ff537733a77577
extra : intermediate-source : abac6252e97f10b4c45223c5748f5a3bb59d86f2
extra : source : 4f1af10cb01e8b48da5e3ad8487487131fd51b1f
2017-03-18 11:53:44 -07:00
Boris Zbarsky
a16891fa05 Reenable some more stylo reftests. No bug. r=bzbarsky
MozReview-Commit-ID: BbRlPC60tvt
2017-02-24 10:49:37 -05:00
Boris Zbarsky
a11bfd53bd Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
MozReview-Commit-ID: CLqLHexhBX3

--HG--
extra : rebase_source : 07dfb89d0651240362395494fdd7ee94363430b6
2017-02-23 02:09:57 -05:00
Sebastian Hengst
b2d8163bfc Bug 1334898 - Remove annotations for OSX<10.9 from layout reftests. r=dholbert
MozReview-Commit-ID: Iq4Ja98TJ7C
2017-01-30 21:03:33 +01:00
Cameron McCormack
9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack
35486c881a Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Shing Lyu
39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Geoff Brown
d11d18336a Bug 1328771 - Run reftests on tc linux32; r=jmaher 2017-01-11 13:47:06 -07:00
Shing Lyu
11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Karl Tomlinson
1e28d876b7 bug 1309086 reftest annotation changes for move to Ubuntu 16.04 r=dholbert
"random" is used where the bug is likely in the test, or the test was already
random on other platforms because the feature was not complete.

"fails" is used where it looks like the bug is in the product, so that we know
to re-enable the test with the product is fixed.

MozReview-Commit-ID: FenLhua7tm8

--HG--
extra : rebase_source : f93e5a67036174fcc20ef9209c731b311190f362
2016-10-11 18:47:48 +13:00
L. David Baron
562f8f0223 Update links pointing to my personal website (http -> https). No bug.
(Patch written entirely using a single sed command,
's,http://dbaron.org,https://dbaron.org,g' .)

MozReview-Commit-ID: 12JARDNn8H4
2016-10-13 11:41:51 -07:00
Geoff Brown
ead36921a9 Bug 927602 - Enable skipped font-matching reftests on Android; r=me 2016-10-11 13:48:38 -06:00
Sebastian Hengst
3edb2d005d Bug 1307332 - Remove B2G and Mulet annotations from reftest.list: layout/reftests/font-matching. r=dholbert
MozReview-Commit-ID: 9VV9gkp1d0k
2016-10-09 09:51:29 +02:00
Ryan VanderMeulen
893b5a9ed6 Bug 1258248 - Remove the failing annotation for localized-family-names-003.html on unaccelerated Win10.
The Skia backend produces consistent results with the accelerated backend.

--HG--
extra : rebase_source : 2562d56adbedf9084558e5d456a74389a04c4e20
extra : histedit_source : 5336bf03b2d9d442d9a6e24bc760fe646205e2a9
2016-10-06 17:12:47 -04:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Ryan VanderMeulen
a2634713e0 No bug - Add reftest annotations for Win10.
--HG--
extra : rebase_source : 45682f4ce6dcd4c28bdaaf90ee2a5a6a59c83a8b
2016-03-21 00:28:43 -04:00
Geoff Brown
fd1e09d12b Bug 1251013 - Update AndroidVersion annotations in test manifests - reftests; r=jmaher 2016-03-17 10:00:47 -06:00
Ryan VanderMeulen
292e985055 Bug 1242085 - Add fuzz to a couple font-matching reftests that fail on OSX 10.10 e10s. 2016-03-01 16:13:49 -05:00
Mats Palmgren
b7b78f6d1f Bug 1216001 part 0 - Allow a little bit of fuzz due to anti-aliasing in a few reftests. r=me 2016-02-13 18:40:23 +01:00
John Daggett
fe3c0df984 Bug 1244017 - disable system font cascade reftests. r=m_kato 2016-02-08 15:26:50 +09:00