[Webkit-unassigned] [Bug 171493] New: [Cocoa] Replace uses of [get…Class() alloc] with alloc…Instance() in TestWebKitAPI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 1 06:26:14 PDT 2017


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

            Bug ID: 171493
           Summary: [Cocoa] Replace uses of [get…Class() alloc] with
                    alloc…Instance() in TestWebKitAPI
           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, mitz at webkit.org
        Depends on: 171486

$ ./Tools/Scripts/check-webkit-style --filter=-,+runtime/soft-linked-alloc Tools/TestWebKitAPI
ERROR: Tools/TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:69:  Using +alloc with a soft-linked class. Use allocUIWindowInstance() instead.  [runtime/soft-linked-alloc] [4]
ERROR: Tools/TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:70:  Using +alloc with a soft-linked class. Use allocUIWebViewInstance() instead.  [runtime/soft-linked-alloc] [4]
ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:76:  Using +alloc with a soft-linked class. Use allocUIWindowInstance() instead.  [runtime/soft-linked-alloc] [4]
Total errors found: 3 in 755 files


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=171486
[Bug 171486] [Cocoa] Have check-webkit-style advise against use of [get…Class() alloc]
-- 
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/20170501/ef41bd5b/attachment.html>


More information about the webkit-unassigned mailing list