content/test/unit/nodelist_data_1.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 <!DOCTYPE Test [
     3   <!ATTLIST test id ID #REQUIRED>
     4   <!ATTLIST foo:test id ID #REQUIRED>
     5   <!ATTLIST foo2:test id ID #REQUIRED>
     6   <!ATTLIST bar:test id ID #REQUIRED>
     7 ]>
     9 <!-- Comment -->
    11 <?This-is-a-PI ?>
    13 <root xmlns:foo="foo"
    14       xmlns:bar="bar"
    15       xmlns:foo2="foo">
    17   <test id="test1">
    18   </test>
    20   <test id="test2">
    21     <!-- Another comment -->
    22     <test id="test3">
    23     </test>
    25     <test id="test4" xmlns="foo">
    26        <test id="test5">
    27        </test>
    29        <bar:test id="test6" />
    30     </test>
    32     <foo:test id="test7">
    33     </foo:test>
    35     <foo2:test id="test8">
    36       <?Another-PI ?>
    37       <baz />
    38     </foo2:test>
    40     <bar:test id="test9">
    41     </bar:test>
    42   </test>
    44   <foo:test id="test10">
    45     <foo2:test id="test11">
    46       <bar:test id="test12">
    47       </bar:test>
    48     </foo2:test>
    49   </foo:test>
    51   <foo2:test id="test13">
    52   </foo2:test>
    54   <bar:test id="test14">
    55   </bar:test>
    57 </root>

mercurial