Bug 701262. Set up reftest for redirection on font load. r=joedrew

This commit is contained in:
John Daggett 2011-11-14 12:51:35 +13:00
parent 6b1f917c94
commit 66dc44a8ee
4 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
@font-face {
font-family: "MarkA";
src: url(../fonts/markA-redirect.ttf);
}
body { font-family: "MarkA"; }
</style>
</head>
<body>
<p>ABC</p>
</body>
</html>

View File

@ -138,3 +138,6 @@ HTTP(..) == missing-names.html missing-names-ref.html
HTTP(..) == font-error-404-1.html font-error-404-1-ref.html # HTTP status 404, don't load
HTTP(..) == font-error-404-2.html font-error-404-2-ref.html # HTTP status 200, load
HTTP(..) != font-error-404-1.html font-error-404-2.html # sanity-check that the results differ
# Font load redirection
HTTP(..) == font-redirect.html order-1-ref.html

View File

@ -0,0 +1 @@
This is not a font!

View File

@ -0,0 +1,2 @@
HTTP 301 Moved Permanently
Location: markA.ttf