layout/reftests/css-visited/inherit-keyword-1.xhtml

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <!DOCTYPE HTML>
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 <head>
     4 <title>Test for privacy restrictions on :visited (Bug 147777)</title>
     5 <style>
     7 a { text-decoration: none }
     8 body > :link { color: olive; }
     9 body > :visited { color: fuchsia; }
    10 a > a { color: inherit; }
    12 </style>
    13 </head>
    14 <body>
    15 <a href="unvisited-page.html"><a href="unvisited-page.html">unvisited / unvisited</a></a>
    16 <a href="unvisited-page.html"><a href="visited-page.html">unvisited / visited</a></a>
    17 <a href="visited-page.html"><a href="unvisited-page.html">visited / unvisited</a></a>
    18 <a href="visited-page.html"><a href="visited-page.html">visited / visited</a></a>
    19 </body>
    20 </html>

mercurial