[Webkit-unassigned] [Bug 72568] New: bool WebChromeClient::shouldInterruptJavaScript casts pointer to bool and always returns true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 16 17:33:35 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=72568

           Summary: bool WebChromeClient::shouldInterruptJavaScript casts
                    pointer to bool and always returns true
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adauria at apple.com


bool WebChromeClient::shouldInterruptJavaScript() uses CallUIDelegate instead of CallUIDelegateReturningBoolean. This causes shouldInterruptJavaScript() to cast a pointer to a bool, thereby always returning true.

-- 
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