Bug 1430173 - Add Timer Rounding tests backported from -central to -esr. r=baku, a=RyanVM

MozReview-Commit-ID: Jl4WZAamgrI

--HG--
extra : transplant_source : E%DC%91lU%1C%A4l%2C%C8%23PCz%EB%F2%81%25%1F%90
This commit is contained in:
Tom Ritter 2018-02-20 13:30:16 -06:00 • committed by Roy Tam
commit 53a2f1007f
7 changed files with 390 additions and 0 deletions

View file

@ -0,0 +1,10 @@
self.addEventListener("message", function(event) {
let timeStampCodes = event.data;
let timeStamps = [];
for (let timeStampCode of timeStampCodes) {
timeStamps.push(eval(timeStampCode));
}
// Send the timeStamps to the parent.
postMessage(timeStamps);
});