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

[tor-commits] [tor-browser/tor-browser-45.2.0esr-6.5-1] squash! Regression tests for Bug 1517: Reduce precision of time for Javascript.



commit 0f601022eee81c9a0d2fd94a59e4719163d155e4
Author: Arthur Edelstein <arthuredelstein@xxxxxxxxx>
Date:   Tue Jun 21 14:34:52 2016 -0700

    squash! Regression tests for Bug 1517: Reduce precision of time for Javascript.
    
    Plus tests for File API, e.g. `new File([], "").lastModifiedDate.getTime()`
---
 tbb-tests/test_tor_bug1517.html | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tbb-tests/test_tor_bug1517.html b/tbb-tests/test_tor_bug1517.html
index 67d6693..2eed53e 100644
--- a/tbb-tests/test_tor_bug1517.html
+++ b/tbb-tests/test_tor_bug1517.html
@@ -60,6 +60,8 @@ https://trac.torproject.org/projects/tor/ticket/1517
       'canvasStream.currentTime * 1000',
       'video.currentTime * 1000',
       'audio.currentTime * 1000',
+      'new File([], "").lastModified',
+      'new File([], "").lastModifiedDate.getTime()',
     ];
     // Loop through each timeStampCode, evaluate it,
     // and check if it is rounded to the nearest 100 ms.

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