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 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>Test helper for plugin child widgets not being invalidated by scrolling</title> |
michael@0 | 5 | <style> |
michael@0 | 6 | body { |
michael@0 | 7 | background: linear-gradient(red, black); |
michael@0 | 8 | width: 200px; |
michael@0 | 9 | height: 200px; |
michael@0 | 10 | } |
michael@0 | 11 | embed { |
michael@0 | 12 | position:absolute; |
michael@0 | 13 | } |
michael@0 | 14 | embed#paint-waiter { |
michael@0 | 15 | top: 0px; |
michael@0 | 16 | left: 0px; |
michael@0 | 17 | width: 0px; |
michael@0 | 18 | height: 0px; |
michael@0 | 19 | } |
michael@0 | 20 | embed#e0 { |
michael@0 | 21 | top: 70px; |
michael@0 | 22 | left: 70px; |
michael@0 | 23 | width: 10px; |
michael@0 | 24 | height: 10px; |
michael@0 | 25 | } |
michael@0 | 26 | embed#e1 { |
michael@0 | 27 | top: 60px; |
michael@0 | 28 | left: 60px; |
michael@0 | 29 | width: 10px; |
michael@0 | 30 | height: 20px; |
michael@0 | 31 | } |
michael@0 | 32 | embed#e2 { |
michael@0 | 33 | top: 60px; |
michael@0 | 34 | left: 70px; |
michael@0 | 35 | width: 20px; |
michael@0 | 36 | height: 10px; |
michael@0 | 37 | } |
michael@0 | 38 | embed#e3 { |
michael@0 | 39 | top: 70px; |
michael@0 | 40 | left: 80px; |
michael@0 | 41 | width: 10px; |
michael@0 | 42 | height: 20px; |
michael@0 | 43 | } |
michael@0 | 44 | embed#e4 { |
michael@0 | 45 | top: 80px; |
michael@0 | 46 | left: 60px; |
michael@0 | 47 | width: 20px; |
michael@0 | 48 | height: 10px; |
michael@0 | 49 | } |
michael@0 | 50 | </style> |
michael@0 | 51 | </head> |
michael@0 | 52 | <body> |
michael@0 | 53 | <embed id="paint-waiter" type="application/x-test" wmode="window"> |
michael@0 | 54 | <embed id="e0" type="application/x-test" wmode="window" class="scrolling"/> |
michael@0 | 55 | <embed id="e1" type="application/x-test" wmode="window" class="scrolling"/> |
michael@0 | 56 | <embed id="e2" type="application/x-test" wmode="window" class="scrolling"/> |
michael@0 | 57 | <embed id="e3" type="application/x-test" wmode="window" class="scrolling"/> |
michael@0 | 58 | <embed id="e4" type="application/x-test" wmode="window" class="scrolling"/> |
michael@0 | 59 | </body> |
michael@0 | 60 | </html> |