Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 4 | |
michael@0 | 5 | <html> |
michael@0 | 6 | <head> |
michael@0 | 7 | <meta charset="UTF-8"> |
michael@0 | 8 | <title>Context menu test</title> |
michael@0 | 9 | <style> |
michael@0 | 10 | p { display: inline-block; } |
michael@0 | 11 | </style> |
michael@0 | 12 | </head> |
michael@0 | 13 | <body> |
michael@0 | 14 | <p> |
michael@0 | 15 | <img id="image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg=="> |
michael@0 | 16 | </p> |
michael@0 | 17 | |
michael@0 | 18 | <p> |
michael@0 | 19 | <a id="link" href=""> |
michael@0 | 20 | A simple link. |
michael@0 | 21 | </a> |
michael@0 | 22 | </p> |
michael@0 | 23 | |
michael@0 | 24 | <p> |
michael@0 | 25 | <a href=""> |
michael@0 | 26 | <span id="span-link"> |
michael@0 | 27 | A span inside a link. |
michael@0 | 28 | </span> |
michael@0 | 29 | </a> |
michael@0 | 30 | </p> |
michael@0 | 31 | |
michael@0 | 32 | <p id="text"> |
michael@0 | 33 | Some text. |
michael@0 | 34 | </p> |
michael@0 | 35 | |
michael@0 | 36 | <p> |
michael@0 | 37 | <textarea id="textfield"> |
michael@0 | 38 | A text field, |
michael@0 | 39 | with some text. |
michael@0 | 40 | </textarea> |
michael@0 | 41 | </p> |
michael@0 | 42 | |
michael@0 | 43 | <p> |
michael@0 | 44 | <iframe id="iframe" src="data:text/html;charset=utf-8,<p id='text'>An iframe</p>." |
michael@0 | 45 | width="200" height="100"> |
michael@0 | 46 | </iframe> |
michael@0 | 47 | </p> |
michael@0 | 48 | |
michael@0 | 49 | <p> |
michael@0 | 50 | <a id="targetlink" target="_blank" href=""> |
michael@0 | 51 | A targetted link. |
michael@0 | 52 | </a> |
michael@0 | 53 | </p> |
michael@0 | 54 | |
michael@0 | 55 | <p> |
michael@0 | 56 | <input type="submit" id="button"> |
michael@0 | 57 | </p> |
michael@0 | 58 | |
michael@0 | 59 | <p> |
michael@0 | 60 | <a class="predicate-test-a" href="#test"> |
michael@0 | 61 | A link with no ID and an anchor, used by PredicateContext tests. |
michael@0 | 62 | </a> |
michael@0 | 63 | </p> |
michael@0 | 64 | |
michael@0 | 65 | <p> |
michael@0 | 66 | <input type="text" id="textbox" value="test value"> |
michael@0 | 67 | </p> |
michael@0 | 68 | |
michael@0 | 69 | <p> |
michael@0 | 70 | <input type="text" id="readonly-textbox" readonly="true" value="readonly value"> |
michael@0 | 71 | </p> |
michael@0 | 72 | |
michael@0 | 73 | <p> |
michael@0 | 74 | <input type="text" id="disabled-textbox" disabled="true" value="disabled value"> |
michael@0 | 75 | </p> |
michael@0 | 76 | |
michael@0 | 77 | <p> |
michael@0 | 78 | <p contenteditable="true" id="editable">This content is editable.</p> |
michael@0 | 79 | </p> |
michael@0 | 80 | </body> |
michael@0 | 81 | </html> |