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

gk at torproject.org gk at torproject.org
Fri Jul 1 08:39:12 UTC 2016


commit 0f601022eee81c9a0d2fd94a59e4719163d155e4
Author: Arthur Edelstein <arthuredelstein at gmail.com>
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.



More information about the tor-commits mailing list