[Webkit-unassigned] [Bug 131082] New: watchdog m_didFire state erroneously retained

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 1 16:51:03 PDT 2014


           Summary: watchdog m_didFire state erroneously retained
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: abaldeva at ea.com


Looking at the watchdog.cpp implementation, once the m_didFire is set to true in the WatchDog::didFire(ExecState), it is never set to false. Thus, if the user decided to terminate the script as a result of timeout but keep the page around(WebKit 1 architecture), the scripts would suffer from the side effect of earlier m_didFire state.

It seems like one possible solution would be to set m_didFire to false when arming the watchdog. 


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