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.
1 <!--
3 Copyright (c) 2001-2004 World Wide Web Consortium,
4 (Massachusetts Institute of Technology, Institut National de
5 Recherche en Informatique et en Automatique, Keio University). All
6 Rights Reserved. This program is distributed under the W3C's Software
7 Intellectual Property License. This program is distributed in the
8 hope that it will be useful, but WITHOUT ANY WARRANTY; without even
9 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 PURPOSE.
12 See W3C License http://www.w3.org/Consortium/Legal/ for more details.
14 -->
16 <!--
18 This is a radically simplified DTD for use in the DOM Test Suites
19 due to a XML non-conformance of one implementation in processing
20 parameter entities. When that non-conformance is resolved,
21 this DTD can be replaced by the normal DTD for XHTML.
23 -->
26 <!ELEMENT html (head, body)>
27 <!ATTLIST html xmlns CDATA #IMPLIED>
28 <!ELEMENT head (meta,title,script*)>
29 <!ELEMENT meta EMPTY>
30 <!ATTLIST meta
31 http-equiv CDATA #IMPLIED
32 content CDATA #IMPLIED>
33 <!ELEMENT title (#PCDATA)>
34 <!ELEMENT body (p*)>
35 <!ATTLIST body onload CDATA #IMPLIED>
36 <!ELEMENT p (#PCDATA|em|strong|code|sup|var|acronym|abbr)*>
37 <!ATTLIST p
38 xmlns:dmstc CDATA #IMPLIED
39 xmlns:nm CDATA #IMPLIED
40 xmlns:emp2 CDATA #IMPLIED
41 id ID #IMPLIED
42 >
43 <!ELEMENT em (#PCDATA)>
44 <!ELEMENT span (#PCDATA)>
45 <!ELEMENT strong (#PCDATA)>
46 <!ELEMENT code (#PCDATA)>
47 <!ELEMENT sup (#PCDATA)>
48 <!ELEMENT var (#PCDATA|span)*>
49 <!ELEMENT acronym (#PCDATA)>
50 <!ATTLIST acronym
51 title CDATA #IMPLIED
52 class CDATA #IMPLIED
53 id ID #IMPLIED
54 >
55 <!ELEMENT abbr (#PCDATA)>
56 <!ATTLIST abbr
57 title CDATA #IMPLIED
58 class CDATA #IMPLIED
59 id ID #IMPLIED
60 >
61 <!ELEMENT script (#PCDATA)>
62 <!ATTLIST script
63 type CDATA #IMPLIED
64 src CDATA #IMPLIED
65 charset CDATA #IMPLIED>