Tue, 06 Jan 2015 21:39:09 +0100
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"?><?TEST-STYLE PIDATA?> |
michael@0 | 2 | <!DOCTYPE svg SYSTEM "staff.dtd" [ |
michael@0 | 3 | <!ENTITY ent1 "es"> |
michael@0 | 4 | <!ENTITY ent2 "1900 Dallas Road"> |
michael@0 | 5 | <!ENTITY ent3 "Texas"> |
michael@0 | 6 | <!ENTITY ent4 "<entElement domestic='Yes'>Element data</entElement><?PItarget PIdata?>"> |
michael@0 | 7 | <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1> |
michael@0 | 8 | <!ENTITY ent1 "This entity should be discarded"> |
michael@0 | 9 | <!NOTATION notation1 PUBLIC "notation1File"> |
michael@0 | 10 | <!NOTATION notation2 SYSTEM "notation2File"> |
michael@0 | 11 | <!ATTLIST employee xmlns CDATA #IMPLIED> |
michael@0 | 12 | <!ELEMENT svg (rect, script, employee+)> |
michael@0 | 13 | <!ATTLIST svg |
michael@0 | 14 | xmlns CDATA #FIXED "http://www.w3.org/2000/svg" |
michael@0 | 15 | name CDATA #IMPLIED> |
michael@0 | 16 | <!ELEMENT rect EMPTY> |
michael@0 | 17 | <!ATTLIST rect |
michael@0 | 18 | x CDATA #REQUIRED |
michael@0 | 19 | y CDATA #REQUIRED |
michael@0 | 20 | width CDATA #REQUIRED |
michael@0 | 21 | height CDATA #REQUIRED> |
michael@0 | 22 | <!ELEMENT script (#PCDATA)> |
michael@0 | 23 | <!ATTLIST script type CDATA #IMPLIED> |
michael@0 | 24 | <!ENTITY svgunit SYSTEM "svgunit.js"> |
michael@0 | 25 | <!ENTITY svgtest SYSTEM "svgtest.js"> |
michael@0 | 26 | ]> |
michael@0 | 27 | <!-- This is comment number 1.--> |
michael@0 | 28 | <svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgtest;&svgunit;</script> |
michael@0 | 29 | <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> |
michael@0 | 30 | <employeeId>EMP0001</employeeId> |
michael@0 | 31 | <name>Margaret Martin</name> |
michael@0 | 32 | <position>Accountant</position> |
michael@0 | 33 | <salary>56,000</salary> |
michael@0 | 34 | <gender>Female</gender> |
michael@0 | 35 | <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address> |
michael@0 | 36 | </employee> |
michael@0 | 37 | <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> |
michael@0 | 38 | <employeeId>EMP0002</employeeId> |
michael@0 | 39 | <name>Martha Raynolds<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]> |
michael@0 | 40 | <![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name> |
michael@0 | 41 | <position>Secretary</position> |
michael@0 | 42 | <salary>35,000</salary> |
michael@0 | 43 | <gender>Female</gender> |
michael@0 | 44 | <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3; |
michael@0 | 45 | 98554</address> |
michael@0 | 46 | </employee> |
michael@0 | 47 | <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> |
michael@0 | 48 | <employeeId>EMP0003</employeeId> |
michael@0 | 49 | <name>Roger |
michael@0 | 50 | Jones</name> |
michael@0 | 51 | <position>Department Manager</position> |
michael@0 | 52 | <salary>100,000</salary> |
michael@0 | 53 | <gender>&ent4;</gender> |
michael@0 | 54 | <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address> |
michael@0 | 55 | </employee> |
michael@0 | 56 | <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> |
michael@0 | 57 | <employeeId>EMP0004</employeeId> |
michael@0 | 58 | <name>Jeny Oconnor</name> |
michael@0 | 59 | <position>Personnel Director</position> |
michael@0 | 60 | <salary>95,000</salary> |
michael@0 | 61 | <gender>Female</gender> |
michael@0 | 62 | <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</address> |
michael@0 | 63 | </employee> |
michael@0 | 64 | <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files"> |
michael@0 | 65 | <employeeId>EMP0005</employeeId> |
michael@0 | 66 | <name>Robert Myers</name> |
michael@0 | 67 | <position>Computer Specialist</position> |
michael@0 | 68 | <salary>90,000</salary> |
michael@0 | 69 | <gender>male</gender> |
michael@0 | 70 | <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address> |
michael@0 | 71 | </employee> |
michael@0 | 72 | </svg> |