layout/reftests/font-face/font-error-404-2.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <style type="text/css">
     5 /* Chunkfive.sjs with a 200 (OK) status should work identically to Chunkfive.otf */
     6 @font-face {
     7   font-family: foo;
     8   src: url(../fonts/Chunkfive.sjs?statusCode=200&statusReason=OK);
     9 }
    10 body {
    11   font-family: foo, monospace;
    12   font-size: 36px;
    13 }
    14 </style>
    15 </head>
    16 <body>
    17 Hello world
    18 </body>
    19 </html>

mercurial