[Webkit-unassigned] [Bug 252911] New: Memory leak WKHoverPlatter 96 bytes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 09:21:23 PST 2023


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

            Bug ID: 252911
           Summary: Memory leak WKHoverPlatter 96 bytes
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: edsonjuniorananias at gmail.com

Created attachment 465154

  --> https://bugs.webkit.org/attachment.cgi?id=465154&action=review

Instrument

Memory leak (WKHoverPlatter 96 bytes x1) The leak happens when webview is presented

I'm using Xcode 14.0.1 and the app is running on iOS 15.3.1

Code example: 

import UIKit
import WebKit

class ViewController: UIViewController {
    @IBOutlet weak var ContentView: UIView!

    private lazy var webView: WKWebView = {
        let webView = WKWebView(frame: .zero)
        webView.translatesAutoresizingMaskIntoConstraints = false
        return webView
    }()

    override func viewDidLoad() {
        super.viewDidLoad()
        view.addSubview(webView)
        webView.loadHTMLString("Test", baseURL: Bundle.main.bundleURL)
    }

}

-- 
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/20230224/0e95a2c3/attachment.htm>


More information about the webkit-unassigned mailing list