I have been using the debian wheezy target prebuilt library to write my own browser using GTK toolkit on top of X11 under linux. While experimenting with various timers I had hit a very strange issue. When I change the system date/time of the linux machine to some value in the past then all the timers that are running in the loaded webpage is getting affected.
For example: If I load this URL under my custom build browser, it works fine by showing the proper time and the value gets updated every second. Now if I try to change the linux system clock to 1 minutes backwards (i.e.,) if the current time is 19:22 PM I will set the clock as 19:21 PM then the screen update gets struck/hang until 19:23 PM and then it starts working fine. So basically all the timers in the webview code was delay by one minute because I have manually updated the system time.
I have tried searching for the bug fix related to this scenario and found an bug link in official webkit bugzilla which seems to address the issue in webkit itself. I tried applying all the patched provided in the child bugs as well but still the issue is prevailing so I am just trying to understand where exactly I need to start debugging this issue in webkit code base.
Note: I can't update the browser to latest as I need some other library and apps which are depending on wheezy target so updating is not the solution for me.