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.

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

mercurial