tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 806fd1a148a17ab5a3e2f7e69f008417d7798486
parent 4bd3c8b6e545348f6755d5288c04277a8006e657
Author: Florian Quèze <florian@queze.net>
Date:   Mon, 17 Nov 2025 21:57:21 +0000

Bug 2000239 - Round the timestamps of mochitest structured messages from runtests.py to ms rather than s, r=ahal.

Differential Revision: https://phabricator.services.mozilla.com/D272660

Diffstat:
Mtesting/mochitest/runtests.py | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/testing/mochitest/runtests.py b/testing/mochitest/runtests.py @@ -2965,7 +2965,7 @@ toolbar#nav-bar { "thread": None, "pid": None, "source": "mochitest", - "time": int(time.time()) * 1000, + "time": int(time.time() * 1000), "test": self.lastTestSeen, "message": "Application shut down (without crashing) in the middle of a test!", } @@ -2990,7 +2990,7 @@ toolbar#nav-bar { "thread": None, "pid": None, "source": "mochitest", - "time": int(time.time()) * 1000, + "time": int(time.time() * 1000), "test": self.lastTestSeen, "message": msg, } @@ -3056,7 +3056,7 @@ toolbar#nav-bar { "thread": None, "pid": None, "source": "mochitest", - "time": int(time.time()) * 1000, + "time": int(time.time() * 1000), "test": self.lastTestSeen, "message": "application terminated with exit code %s" % status, } @@ -4012,7 +4012,7 @@ toolbar#nav-bar { "thread": None, "pid": None, "source": "mochitest", - "time": int(time.time()) * 1000, + "time": int(time.time() * 1000), "test": self.lastTestSeen, "message": "application timed out after %d seconds with no output" % int(timeout), @@ -4227,7 +4227,7 @@ toolbar#nav-bar { "thread": None, "pid": None, "source": "mochitest", - "time": int(time.time()) * 1000, + "time": int(time.time() * 1000), "test": message["test"], "message": message["msg"], }