[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-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.



commit ec74b173f8a00e59aa42e0cf32e65ec2266cb477
Author: Arthur Edelstein <arthuredelstein@xxxxxxxxx>
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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits