[Webkit-unassigned] [Bug 173837] New: [TestWebKitAPI] Fix false-positive bad release warnings found by clang static analyzer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 26 09:43:33 PDT 2017


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

            Bug ID: 173837
           Summary: [TestWebKitAPI] Fix false-positive bad release
                    warnings found by clang static analyzer
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: lforschler at apple.com

The following tests use a retain/release pattern that the clang static analyzer can't grok, which leads to a false-positive "bad release" warning:

TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm
TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm

It's better to use a common idiom for storing the delegate object anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170626/c5891f7b/attachment.html>


More information about the webkit-unassigned mailing list