content/xml/tests/xlink/manual.xml

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <?xml version="1.0"?>
     2 <?xml-stylesheet href="link.css" type="text/css"?>
     3 <root xmlns:xlink="http://www.w3.org/1999/xlink">
     4   <p>Testing manual simple XLinks.</p>
     5   <mylink xlink:type="simple" xlink:show="new" xlink:href="resource:/res/samples/test0.html">
     6 Must not open, illegal</mylink>
     7   <mylink xlink:type="simple" xlink:show="new" xlink:href="http://www.mozilla.org">
     8 Must open in new window (www.mozilla.org)</mylink>
     9   <mylink xlink:type="simple" xlink:show="replace" xlink:href="http://www.mozillazine.org">
    10 Must open in same window (www.mozillazine.org)</mylink>
    11   <mylink xlink:type="simple" xlink:show="foo" xlink:href="http://www.mozilla.org/">
    12 Foo</mylink>
    13 </root>

mercurial