[tbb-commits] [tor-browser/tor-browser-45.1.0esr-6.0-1] fixup! Regression tests for #5856: Do not expose physical screen info via window & window.screen.

gk at torproject.org gk at torproject.org
Fri May 13 10:43:28 UTC 2016


commit ec74b173f8a00e59aa42e0cf32e65ec2266cb477
Author: Arthur Edelstein <arthuredelstein at gmail.com>
Date:   Sun May 8 23:33:39 2016 -0700

    fixup! Regression tests for #5856: Do not expose physical screen info via window & window.screen.
---
 tbb-tests/test_tor_bug5856.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tbb-tests/test_tor_bug5856.html b/tbb-tests/test_tor_bug5856.html
index 2eae453..7a9ab6f 100644
--- a/tbb-tests/test_tor_bug5856.html
+++ b/tbb-tests/test_tor_bug5856.html
@@ -27,7 +27,10 @@ https://trac.torproject.org/projects/tor/ticket/5856
     ["window.screen.availLeft", 0],
     ["window.screen.availTop", 0],
     ["window.screen.width", "window.innerWidth"],
-    ["window.screen.height", "window.innerHeight"]
+    ["window.screen.height", "window.innerHeight"],
+    ["window.screen.orientation.type", "'landscape-primary'"],
+    ["window.screen.orientation.angle", 0],
+    ["window.screen.mozOrientation", "'landscape-primary'"],
   ];
 
   pairs.map(checkPair);



More information about the tbb-commits mailing list