[Webkit-unassigned] [Bug 131607] New: Changing system time when using SetInterval()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 14 00:45:48 PDT 2014


           Summary: Changing system time when using SetInterval()
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
        OS/Version: Windows 8
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: Marek.Grochowski at fara.no

Using setInterval() or setTimeout() in Javascript code and changing system time backward for example 1 hour causes browser (newest Safari)/ or engine (older version of QT WebKit) to freeze.

Sample code:
<p id="date"></p>

setInterval(SetTime, 1000);
function SetTime() {
document.getElementById('date').textContent=new Date();


(function loop() {
document.getElementById('date').textContent=new Date();
setTimeout(loop, 1000);

StackOverflow question: http://stackoverflow.com/questions/23013324/webkit-setinterval-and-system-time-change

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list