layout/reftests/font-face/reftest.list

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 # Tests using downloaded fonts use HTTP(..) because they use fonts in
michael@0 2 # ../fonts/. We can't use file:/// URLs because of cross-directory access
michael@0 3 # restrictions on file: URLs.
michael@0 4
michael@0 5 HTTP(..) != download-1.html download-1-notref.html
michael@0 6 HTTP(..) == download-2.html download-2-ref.html
michael@0 7 HTTP(..) != download-2.html about:blank
michael@0 8 random-if(winWidget) HTTP(..) == download-2-big.html download-2-big-otf.html # bug 470713
michael@0 9 HTTP(..) != download-2-big-otf.html about:blank
michael@0 10 skip-if(Android&&AndroidVersion==17) HTTP(..) != download-3-notref.html download-3.html
michael@0 11 HTTP(..) == download-3-ref.html download-3.html
michael@0 12 HTTP(..) == fallback-to-system-1.html fallback-to-system-1-ref.html
michael@0 13 HTTP(..) == name-override-simple-1.html name-override-simple-1-ref.html
michael@0 14 HTTP(..) != name-override-simple-1.html download-1-notref.html
michael@0 15 fails HTTP(..) == name-override-1.html name-override-1-ref.html
michael@0 16 HTTP(..) == multiple-descriptor-1.html multiple-descriptor-1-ref.html
michael@0 17 HTTP(..) != multiple-descriptor-1.html multiple-descriptor-1-notref.html
michael@0 18 HTTP(..) == src-list-1.html src-list-1-ref.html
michael@0 19 HTTP(..) == src-list-2.html src-list-2-ref.html
michael@0 20 random-if(winWidget) HTTP(..) == src-list-2-big-otf.html src-list-2-big-ref.html # bug 470713
michael@0 21 skip-if(B2G) HTTP(..) == src-list-format-1.html src-list-format-1-ref.html # bug 773482
michael@0 22 HTTP(..) == src-list-format-2.html src-list-format-2-ref.html
michael@0 23 HTTP(..) == src-list-format-3.html src-list-format-3-ref.html
michael@0 24 HTTP(..) == src-list-format-4.html src-list-format-1-ref.html
michael@0 25 HTTP(..) == src-list-format-5.html src-list-format-2-ref.html
michael@0 26 HTTP(..) == src-list-format-6.html src-list-format-3-ref.html
michael@0 27 # assumes AAT fonts are only supported on MacOS
michael@0 28 skip-if(B2G) random-if(cocoaWidget) HTTP(..) == src-list-format-7.html src-list-format-2-ref.html
michael@0 29 skip-if(B2G) random-if(!cocoaWidget) HTTP(..) == src-list-format-7.html src-list-format-3-ref.html
michael@0 30 fails-if(Android||B2G) == src-list-local-full.html src-list-local-full-ref.html # bug 773482
michael@0 31 fails-if(Android||B2G) == src-list-local-full-quotes.html src-list-local-full-ref.html # bug 773482
michael@0 32 skip-if(B2G) HTTP(..) == src-list-local-fallback.html src-list-local-fallback-ref.html
michael@0 33
michael@0 34 # data url tests (these don't need the HTTP server)
michael@0 35 == src-list-data-1.html src-list-data-ref.html
michael@0 36 == src-list-data-2.html src-list-data-ref.html
michael@0 37 == src-list-data-3.html src-list-data-ref.html
michael@0 38 == src-list-data-4.html src-list-data-ref.html
michael@0 39
michael@0 40 # load with data url vs. font data load
michael@0 41 skip-if(B2G) HTTP(..) == src-list-actual-font-ref.html src-list-data-1.html # bug 773482
michael@0 42
michael@0 43 # localized full fontnames should *not* match, only English ones (need locale-invariant key)
michael@0 44 skip HTTP(..) == src-list-local-localized.html src-list-local-localized-ref.html # 486787, 486497
michael@0 45
michael@0 46 # Postscript name lookup only supported on MacOS/Windows currently
michael@0 47 skip-if(B2G) fails-if(Android) random-if(gtk2Widget) == src-list-local-ps.html src-list-local-full-ref.html # bug 773482
michael@0 48 # Mac-specific test of 100 weight faces
michael@0 49 random-if(!cocoaWidget) == helveticaneue-ultra.html helveticaneue-ultra-ref.html
michael@0 50
michael@0 51 # FIXME: The behavior here is neither mandated nor specified by the spec, but
michael@0 52 # it really ought to be.
michael@0 53 HTTP(..) == order-1.html order-1-ref.html
michael@0 54 fails HTTP(..) == order-2.html order-2-ref.html # bug 465414
michael@0 55 fails HTTP(..) == order-3.html order-3-ref.html # bug 465414
michael@0 56 HTTP(..) == multiple-in-family-1.html multiple-in-family-1-ref.html
michael@0 57 HTTP(..) == multiple-in-family-1b.html multiple-in-family-1-ref.html
michael@0 58 HTTP(..) != multiple-in-family-1.html multiple-in-family-1-notref.html
michael@0 59 HTTP(..) == prop-order-over-rule-order-1a.html prop-order-over-rule-order-2a.html
michael@0 60 HTTP(..) == prop-order-over-rule-order-1b.html prop-order-over-rule-order-2b.html
michael@0 61 HTTP(..) != prop-order-over-rule-order-1a.html prop-order-over-rule-order-1b.html
michael@0 62 skip-if(B2G) HTTP(..) == cross-iframe-1.html cross-iframe-1-ref.html # bug 773482
michael@0 63
michael@0 64 # Dynamic changes
michael@0 65 HTTP(..) == enable-sheet-1.html enable-sheet-1-ref.html
michael@0 66 # we need to skip these because of the bug that's causing order-2.html to fail
michael@0 67 skip HTTP(..) == enable-sheet-2.html multiple-in-family-1-ref.html
michael@0 68 skip HTTP(..) == enable-sheet-3.html multiple-in-family-1-ref.html
michael@0 69 HTTP(..) == enable-sheet-4.html enable-sheet-4-ref.html
michael@0 70 HTTP(..) == enable-sheet-5.html enable-sheet-4-ref.html
michael@0 71 skip HTTP(..) == enable-sheet-6.html multiple-in-family-1-ref.html
michael@0 72 skip HTTP(..) == enable-sheet-7.html multiple-in-family-1-ref.html
michael@0 73 skip-if(B2G) HTTP(..) == disable-sheet-1.html disable-sheet-1-ref.html # bug 773482
michael@0 74 # We're missing disable-sheet-{2,3,6,7} (analogs to
michael@0 75 # enable-sheet{2,3,6,7}) because I don't know how to detect test
michael@0 76 # completion for those cases.
michael@0 77 HTTP(..) == disable-sheet-4.html disable-sheet-4-ref.html
michael@0 78 HTTP(..) == disable-sheet-5.html disable-sheet-4-ref.html
michael@0 79 skip-if(B2G) HTTP(..) == sheet-set-base-1.html sheet-set-base-1-ref.html # bug 773482
michael@0 80 random-if(cocoaWidget) HTTP(..) == sheet-set-switch-1.html sheet-set-switch-1-ref.html # bug 468217
michael@0 81 HTTP(..) == insert-rule-1a.html insert-rule-1-ref.html
michael@0 82 HTTP(..) == insert-rule-1b.html insert-rule-1-ref.html
michael@0 83 skip-if(B2G) HTTP(..) == delete-rule-1.html delete-rule-1-ref.html # bug 773482
michael@0 84 HTTP(..) == media-query-add-1.html media-query-add-1-ref.html
michael@0 85 HTTP(..) == media-query-remove-1.html media-query-remove-1-ref.html
michael@0 86 HTTP(..) != media-query-add-1-ref.html media-query-remove-1-ref.html
michael@0 87
michael@0 88 HTTP(..) == ahem-metrics-1.html ahem-metrics-1-ref.html
michael@0 89 HTTP(..) == ex-unit-1.html ex-unit-1-ref.html
michael@0 90 HTTP(..) == ex-unit-1-dynamic.html ex-unit-1-ref.html
michael@0 91
michael@0 92 # bug 493976 - for some reason the Arabic tests below cause Tinderbox timeouts
michael@0 93 # HTTP(..) == src-format-arabic.html src-format-arabic-ot-ref.html
michael@0 94
michael@0 95 == local-1.html local-1-ref.html
michael@0 96 == local-styled-1.html local-styled-1-ref.html
michael@0 97
michael@0 98 skip-if(B2G) HTTP(..) == synthetic-weight-style.html synthetic-weight-style-ref.html # bug 773482
michael@0 99 skip-if(B2G) HTTP(..) == synthetic-variations.html synthetic-variations-ref.html
michael@0 100
michael@0 101 # Leak test
michael@0 102 HTTP(..) load 486974-1.html
michael@0 103
michael@0 104 # compare fonts with and without bad head checksum
michael@0 105 HTTP(..) == load-badchecksum.html load-badchecksum-ref.html
michael@0 106
michael@0 107 # @font-face names take precedence over names of platform fonts (bug 494360)
michael@0 108 skip-if(B2G) HTTP(..) == name-collision.html name-collision-ref.html # bug 773482
michael@0 109 skip-if(B2G) HTTP(..) == name-collision-bad-url.html name-collision-bad-url-ref.html # bug 773482
michael@0 110
michael@0 111 HTTP(..) == name-collision-with-prefs-font.html name-collision-with-prefs-font-ref.html # bug 668758
michael@0 112 HTTP(..) == load-badfullname.html load-badfullname-ref.html
michael@0 113
michael@0 114 # 507960-1-* : a collection of tests using DeLarge from openfontlibrary.org
michael@0 115 # check that the original DeLarge face (ttf) loads; if this fails,
michael@0 116 # none of the following tests are meaningful
michael@0 117 HTTP(..) != 507960-1-nofont.html 507960-1-ref.html
michael@0 118 # check that the WOFF version loads, with and without a format hint
michael@0 119 HTTP(..) == 507960-1-woff.html 507960-1-ref.html
michael@0 120 HTTP(..) == 507960-1-woff-hint.html 507960-1-ref.html
michael@0 121 # try damaged fonts that should still load (bad checksums)
michael@0 122 HTTP(..) == 507960-1-bad-checksums-ttf.html 507960-1-ref.html
michael@0 123 HTTP(..) == 507960-1-bad-checksums-woff.html 507960-1-ref.html
michael@0 124 # try versions that should NOT load (bad offsets, signatures, hint)
michael@0 125 HTTP(..) != 507960-1-bad-sfnt-version-ttf.html 507960-1-ref.html
michael@0 126 HTTP(..) != 507960-1-bad-sfnt-version-woff.html 507960-1-ref.html
michael@0 127 skip-if(B2G) HTTP(..) != 507960-1-bad-woff-sig.html 507960-1-ref.html
michael@0 128 HTTP(..) != 507960-1-bad-offset-woff.html 507960-1-ref.html
michael@0 129 HTTP(..) != 507960-1-woff-bad-hint.html 507960-1-ref.html
michael@0 130
michael@0 131 # Tests for bug 523717
michael@0 132 HTTP(..) == underline-offset-change-1.html underline-offset-change-1-ref.html
michael@0 133 HTTP(..) == underline-offset-change-2.html underline-offset-change-2-ref.html
michael@0 134 fails-if(cocoaWidget) fails-if(winWidget) HTTP(..) != underline-offset-change-1-ref.html underline-offset-change-2-ref.html # Bug 534132
michael@0 135
michael@0 136 HTTP(..) != 534352-1-extra-cmap-sentinel.html 534352-1-extra-cmap-sentinel-ref.html
michael@0 137 HTTP(..) == bug533251.html bug533251-ref.html
michael@0 138
michael@0 139 # Bug 875287
michael@0 140 HTTP(..) == font-familiy-whitespace-1.html font-familiy-whitespace-1-ref.html
michael@0 141 HTTP(..) != font-familiy-whitespace-1.html font-familiy-whitespace-1-notref.html
michael@0 142
michael@0 143 skip-if(B2G) HTTP(..) == ivs-1.html ivs-1-ref.html # bug 773482
michael@0 144 skip-if(B2G) HTTP(..) == cjkcisvs-1.html cjkcisvs-1-ref.html
michael@0 145
michael@0 146 skip-if(B2G) HTTP(..) == missing-names.html missing-names-ref.html # bug 773482
michael@0 147
michael@0 148 # Tests for bug 670900 - handling of 404 (not found) error in @font-face URL
michael@0 149 # (using Chunkfive font data returned from a .sjs file)
michael@0 150 HTTP(..) == font-error-404-1.html font-error-404-1-ref.html # HTTP status 404, don't load
michael@0 151 skip-if(B2G) fails-if(Android&&(AndroidVersion==10||AndroidVersion==17)) HTTP(..) == font-error-404-2.html font-error-404-2-ref.html # HTTP status 200, load # bug 773482
michael@0 152 fails-if(Android&&(AndroidVersion==10||AndroidVersion==17)) HTTP(..) != font-error-404-1.html font-error-404-2.html # sanity-check that the results differ
michael@0 153
michael@0 154 # Font load redirection
michael@0 155 HTTP(..) == font-redirect.html order-1-ref.html
michael@0 156
michael@0 157 # Tests for potential regressions from bug 879963
michael@0 158 == dynamic-duplicate-rule-1a.html dynamic-duplicate-rule-1-ref.html
michael@0 159 == dynamic-duplicate-rule-1b.html dynamic-duplicate-rule-1-ref.html
michael@0 160 == dynamic-duplicate-rule-1c.html dynamic-duplicate-rule-1-ref.html

mercurial